- {{apt-get install sysbench}}
- {{sysbench —test=cpu —cpu-max-prime=20000 run
- {{cd directory-on-volume-to-exercise}}
<html> | |
<head> | |
<style type="text/css"> | |
body { | |
background-color: #444; | |
font-family:sans-serif; | |
margin-top: 100px; | |
} | |
h1 { | |
text-align:center; |
sudo apt-get update | |
sudo apt-get dist-upgrade -y | |
sudo apt-get autoremove -y | |
sudo apt-get install -y git tcsh emacs24-nox emacsen-common emacs-goodies-el | |
sudo apt-get install -y xterm | |
# reboot |
sudo apt-get install collectd lighttpd php5-cgi php5 | |
sudo lighttpd-enable-mod fastcgi | |
sudo lighttpd-enable-mod fastcgi-php | |
service lighttpd force-reload | |
cd /var/www | |
sudo git clone git://github.com/egustafson/CGP.git cgp |
## -- Local environment variables for Tomcat -- | |
## | |
CATALINA_OPTS=" \ | |
-Dcom.sun.management.jmxremote=true \ | |
-Dcom.sun.management.jmxremote.ssl=false \ | |
-Dcom.sun.management.jmxremote.authenticate=false \ | |
-Djava.rmi.server.hostname=15.185.101.251 \ | |
" | |
# -Djava.rmi.server.hostname=15.185.99.255 \ |
# Proxy to 'internal' service | |
# | |
global { | |
proxy.server = ( "" => (( "host" => "127.0.0.1", "port" => 8080 )) ) | |
} |
<html> | |
<head> | |
</head> | |
<body> | |
<h1 style="color: #00A0D2;">Hewlett Packard Blue</h1> | |
Circa 2013 and on | |
</body> | |
</html> |
sudo adduser <username> | |
sudo adduser <username> [admin|sudo] | |
sudo mkdir ~<username>/.ssh | |
sudo cp ~/.ssh/authorized_keys ~<username>/.ssh/ | |
sudo chown -R <username> ~<username>/.ssh | |
# (exit; ssh <username>@host) |
# full packet capture | |
tcpdump -i <interface> -s 65535 -w <out-file> |
#!/bin/bash | |
while `/bin/true`; do (clear; updating-command | grepping-command); date; sleep 60; done | |
## ########## | |
while `/bin/true`; do | |
(clear; updating-command | grepping-command) | |
date | |
sleep 60 | |
done |