Friday 16 February 2007

Ubuntu Tips'n'Tricks

  • Enable root user
    • user@ubuntu:~$ sudo passwd root
      • insert the password for root user
  • Configure OpenSSH server (the system is connection to internet)
    • user@ubuntu:~$ sudo apt-get install ssh openssh-server
      • the service installed is the "ssh", to restart use the command:
      • user@ubuntu:~$ sudo /etc/init.d/ssh restart
  • Configure Network Services
    • enable dhcp service
      • user@ubuntu:~$ sudo vi /etc/network/interfaces
      • insert these lines in file "interfaces" :
      • # The primary network interface
        auto eth0
        iface eth0 inet dhcp
      • to activate the network interface :
      • user@ubuntu:~$ sudo /etc/init.d/networking restart
    • configure static ip address
      • user@ubuntu:~$ sudo vi /etc/network/interfaces
      • insert these lines in file "interfaces" :
      • # The primary network interface
        auto eth0
        iface eth0 inet static
        address 192.168.66.60
        gateway 192.168.66.254
        netmask 255.255.255.0
        network 192.168.66.0
        broadcast 192.168.66.255
      • to activate the network interface :
      • user@ubuntu:~$ sudo /etc/init.d/networking restart

Labels: , , ,

1 Comments:

Anonymous Anonymous said...

Good job, Gianni!
Hola Pier!!

28 September 2007 at 06:15  

Post a Comment

Subscribe to Post Comments [Atom]

<< Home