Linux

 


How to make a linux box shut down automatically every day at a certain time

1. Start the terminal by pressing Ctrl + Alt + T

2. Become a super user by typing "sudo -s", hitting enter, and then putting in the password you use to log into the account.
Source: http://www.cyberciti.biz/faq/ubuntu-lin ... -password/

3. type "crontab -e" and hit enter to open that file

4. Press the down button until you get to the bottom of the file, and then type a line that says:
0 20 * * * /sbin/shutdown -h now
Source: http://www.cyberciti.biz/tips/howto-shu ... cally.html

5. Then hit Cntrl-X to close the file, it'll ask if you want to save, type "y" and then hit enter to save the file.

6. Then to reload the file type:
"/etc/init.d/cron restart" and hit enter.
http://duykham.blogspot.com/2010/01/aut ... chine.html


How to SSH to Linux from Windows
I spent ~10 minutes looking for a good answer, so I'm going to list the best link I found here:
http://www.codeproject.com/Articles/497 ... lusaplusLi

How to install DynDNS on Linux
(This program will let you know a computer's IP address, even if the router changes it; basically you need this program if you want to be able to SSH to the computer consistently)
http://flog.cruzn.net.au/articles/dyndns-ubuntu.shtml

How to install VNC on Linux
The best instructions I found:
http://askubuntu.com/questions/168878/h ... vnc-server