Search
Tuesday, 17 September 2013
Quick Ubuntu server install
Run Ubuntu updates
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install lamp-server^ phpmyadmin (if required)
Set static IP
ifconfig
sudo nano /etc/network/interfaces
The default entries will be:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
change auto eth0 entry to:
auto eth0
iface eth0 inet static
address 10.0.6.x
netmask 255.255.248.0
gateway 10.0.7.254
network 10.0.0.0
broadcast 10.0.7.255
dns-nameservers 8.8.8.8
then save and run:
sudo /etc/init.d/networking restart
Enable SSH for file transfer
sudo apt-get install openssh-client openssh-server
sudo shutdown -r now - restart
sudo shutdown -h now - shut down
Subscribe to:
Posts (Atom)