How to run a benchmark on your VPS (or any server)
wget http://freevps.us/downloads/bench.sh bash bench.sh
Feeding Your Inner Developer
wget http://freevps.us/downloads/bench.sh bash bench.sh
Use visudo so you don’t completely destroy your PC. (Visudo will tell you there are any errors before you save [mistakes will permanently lock you out of your own PC].
visudo
Enter the details below then save..
www-data ALL=(ALL) ALL
If you wish to be more specific and give this user passwordless sudo for particular commands use the format
www-data ALL=(ALL) NOPASSWD: /sbin/shutdown, NOPASSWD: /sbin/reboot
Type
apt-cache search php5-
Then
apt-get install <<name_of_module>>
Open up a terminal andd..
ifconfig eth0 | grep inet | awk '{ print $2 }'
To print the display in ‘human readable’ format, use the html preformatting tag before print_r:
echo "<pre>"; print_r($myarray); echo "</pre>";
From your command line type
ftp ftp > open ftp.myserver.com
Or Alternatively,
ftp ftp.myserver.com
It will prompt you for a username and/or password and you can just fill those in.
After you are in, you can see a list of commands by using the command:
ftp> help Commands may be abbreviated. Commands are: ! cr mdir proxy send $ delete mget sendport site account debug mkdir put size append dir mls pwd status ascii disconnect mode quit struct bell form modtime quote system binary get mput recv sunique bye glob newer reget tenex case hash nmap rstatus trace ccc help nlist rhelp type cd idle ntrans rename user cdup image open reset umask chmod lcd passive restart verbose clear ls private rmdir ? close macdef prompt runique cprotect mdelete protect safe
If you are familiar with linux this should be fairly straight forward. The only ones Ill cover for anyone completely new are ls, get and put. (more…)
Recent Comments