We aim to include various additional sections for users of other 'nix's such as Irix and Solaris.
This should help you out Here
This nifty page has been added, we are calling it The Quick Cheat Sheet
To change IP Address of server
This can vary depending upon which 'flavour' of Linux you're using. Generally you should edit the following files:-
/etc/resolve.conf - defines name servers
If you've built an Ubuntu server, you'll probably find that by default it's been configured to pick up an IP address via DHCP. If this is the case, you need to edit the /etc/network/interfaces file and you'll find a line which looks like
iface eth0 inet dhcp
You need to change this to read as follows:-
iface eth inet static address 10.1.1.100 (or whatever IP address you require) netmask 255.255.255.0 network 10.1.1.0 broadcast 10.1.1.255 gateway 10.1.1.1 (or whatever the IP address of your router is)
Don't forget to change the name servers in the /etc/resolv.conf file and now you'll probably want to uninstall the DHCP client to prevent it trying to run DHCP in future.
apt-get remove dhcp3-client
N.B. Above commands should be done as root.
You should now restart the network interface:-
To change the date
The date and time can be set with the date command. The syntax is: date MMDDhhmm[[CC]YY][.ss]
The alternative solution is to install NTP and let the server synchronise the time/date from the internet.
Setting the Time Zone
Type the following:- export TZ=BST (or GMT etc.)
To synchronise the hardware clock, type:- hwclock --systohc --utc