7.0.4 - Install and configure ubuntu desktop and server

上一篇 / 下一篇  2007-07-18 15:34:22

How to change root's password on Ubuntu.

1. Login as the user created during the installation
2. Run the command "sudo passwd root" to change the password of "root"
3. Login as root with the changed password --- Work fine...:-)

Xwindow installtion
Ubuntu Desktop
X-Window is one of the component and we don't need to do any additional work.

Ubuntu Server
Ubuntu Server which does not have X Windows installed because it is the server version and not the desktop version. You may want to try installing XWindows (sudo apt-get install x-window-system gnome gdm ) or install the Ubuntu desktop version (sudo apt-get install ubuntu-desktop).

# apt-get install x-window-system gnome gdm

Reboot machine after finish the installation and X window will start successfully.

UI Login problem
A message box with the following message occurred when starting the UI.
Can't open file /usr/share/gdm/themes/Human/Human.xml

You can install the package of "ubuntu-artwork" to fix the problem.
apt-get install ubuntu-artwork

Configure machine to allow root to login
1. Open System --> Administration --> Login Window
2. Click "Security" tab in the dialog of "Login Window Preferences"
3. Make sure to check-on the two boxes in the tab.
- Allow local system administrator login
- Allow remote system administrator login


Installing VMware Tools

Go to the text mode by running the command "/etc/init.d/gdm stop"

# apt-get install build-essential linux-headers-`uname -r`            [run "uname -r" to get the kernel version first]
# mount /dev/cdrom /mnt
# cd /tmp
# tar xzf /mnt/VM*.tar.gz
# cd /tmp/vmware-distrib
# sudo ./vmware-install.pl

OpenSSH, Telnet, FTP, RSH, Rlogin Configuration

Ubuntu Desktop
Login as root and run the command below --- The desktop must be able to access internet.
apt-get install openssh-server
apt-get install telnetd
apt-get install ftpd
apt-get install rsh-server
reboot

Ubuntu Server
Put the installation cd to the cd-rom and run the following commands
apt-cdrom add
apt-get install openssh-server
apt-get install telnetd
apt-get install ftpd
apt-get install rsh-server
reboot

Configure IP Address
Because the Ubuntu installer has configured our system to get its network settings via DHCP, we have to change that now because a server should have a static IP address. Edit /etc/network/interfaces  and adjust it to our needs (in this example setup I will use the IP address 192.168.5.213)

Run the command "vi /etc/network/interfaces" and modify the file to look like below
============================================================
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
    address        192.168.5.213
    netmask    255.255.252.0
    network        192.168.5.0
    broadcast    192.168.7.255
    gateway    192.168.4.1
==============================================================

Then restart network by running the command "/etc/init.d/networking restart"

Then edit the file of /etc/hosts. Make it look like this:
==============================================================
127.0.0.1    localhost.localdomain    localhost
192.168.5.213    hostname.example.com    hostname
==============================================================

Reboot the machine.

TAG:

 

评分:0

我来说两句

日历

« 2024-05-14  
   1234
567891011
12131415161718
19202122232425
262728293031 

数据统计

  • 访问量: 5392
  • 日志数: 12
  • 建立时间: 2007-07-12
  • 更新时间: 2007-08-31

RSS订阅

Open Toolbar