Personal tools
You are here: Home Plone XP Open Source Software Review Ubuntu System Administration

Ubuntu System Administration

— filed under: ,

on going stroy about ubuntu system admin

Add and Format New Device

Some commands and files around here:

  • lshw, list all hardware. The option -C disk will list all hard dirves.
  • fdisk, partition the disk
  • mkfs, format the partition
  • /etc/fstab, update this file to tell Ubuntu to mount the new disk at boot time.
  • mount, use it to do manual mount.

Ubuntu's formal documentation about new hard drive Installing A New Hard Drive

Network Setings in Ubuntu

set us multip ips in Untuntu Server: http://www.ubuntugeek.com/ubuntu-networking-configuration-using-command-line.html

Ubuntu's offical manual about network configuration: <https://help.ubuntu.com/11.04/serverguide/C/network-configuration.html>

Some commans and files related to network configuration

  • lshw -class network, list all physical network device
  • file /etc/network/interfaces is where we set up IPs for each network device. We could set up more than one IPs for each single network device: using :n as the id. For example: eth0:1, eth1:2, etc.
  • Using ifup and ifdown to enable/disable the network interface
Document Actions