Currently, UbuntuLinux is popular in foreign countries. More and more foreigners use this operating system. We use netbooks and our products must be exported overseas. Therefore, we decided to install Ubuntu on our own. My hardware platform: IntelAtomN270 + 945Gse + icw.m, Realtek8102E Nic, Alc662 sound card, 1g memory, G hard drive 1. Download: http://www.ubuntu.com.cn/download the latest version.
Ubuntu Linux is very popular abroad. More and more foreigners use this operating system,
We made netbooks and exported products overseas, so we decided to install Ubuntu on our own.
My hardware platform:
Intel Atom N270 + 945Gse + icw.m, Realtek8102E Nic, Alc662 sound card, 1 GB memory, GB hard drive
1. Download: http://www.ubuntu.com.cn/can download the latest version, I download 9.04 this time.
2. Installation: ubuntu has two formats:. iso and. img. The imgfile can be engraved with nero as the installation disc or
Win32diskimager-RELEASE-0.2-r23-win32.zip written to the U disk to install, the installation process is very simple, here do not detail.
3. after the system is installed, test and browse the webpage. The system prompts that the webpage cannot be connected. Next I want to try the audio. When I select to play an MP3 file, the system prompts to download the MP3 decoding plug-in online, it seems that you have to configure the network first, or you cannot do it. Because our vro is configured in the form of a manual IP address, if dynamic DHCP is configured, I guess the network can be used directly.
The configuration process is as follows:
Open Terminal
View network configurations
Run: ifconfig-
Eth0 is available, and the IP address is empty.
Check if the NIC 8201 driver is loaded
Run: lsmod | grep r8169
The returned result shows that the driver has been loaded. It seems that the system has been integrated.
Directly configure the IP address and gateway
Run: ifconfig eth0 "192.168.1.249"
The system returns Permission denied. It seems that the user Permission is insufficient. You must use the root account to log in.
After Ubuntu is installed, the root user is locked by default and cannot log on or "su" to the root user.
How to solve the problem of enabling root users and other logins in Ubuntu
◆ Allow su to root
It is very simple. The following is the setting method:
[Email = me @ tipfoo: % 7E $] me @ tipfoo :~ $ [/Email] sudo passwd
Password: <--- enter the Password of the user during installation
Enter new UNIX password: <--- new Root User password
Retype new UNIX password: <--- repeat the new Root User password
Passwd: the password is successfully updated.
◆ Allow root login
If you want to allow root logon (not recommended), perform the following operations:
[Email = me @ tipfoo: % 7E $] me @ tipfoo :~ $ [/Email] gksu/usr/sbin/gdmsetup
(Or use the desktop menu: system> System Management> logon window), click the "security" option page,
Select "allow local administrator to log on (allow local system administrator login )".
Note: The display resolution of the netbook 1024x600 cannot be directly clicked to close the button. VGA can be used to expand the screen.
Modify the nic and dns in Ubuntu
When using UBUNTU, if it is UBUNTU Desktop, the configuration is quite simple, just like in windows, but if it is UBUNTU userver, how can we configure it? Ifconfig is used.
Simple command:
Ifconfig eth0 192.168.1.2 boardcast 192.168.1.1 netmask1_255.0
In this way, you still cannot access the Internet, because no DNS is configured, and then
Gedit/etc/resolv. conf
Add the following to the file:
Nameserver 202.96.134.133,
Of course, this is the DNS used in the Shenzhen region. There are several common DNS entries. Just add them all.
Finally, execute the following command line:
/Etc/init. d/networking start
Restart the configuration and activate the NIC configuration. OK ..
========================================================== ========================================================== =
We can also set
◆ Directly log on without entering the password
Someone complained on the forum that Ubuntu in the House could not be logged on like Window $ -- without a password.
In fact, the same can be done:
On the "Security" option page in the previous step, select:
"Enable Automatic Logon" and "user" (for example, "me ");
Note: Do not set this for public computers!
◆ Log on to the remote server through SSH
If the remote server only allows the root user to SSH to the server, you must "su to root" in Ubuntu to log on successfully (depending on the server configuration ).
First, copy the key to the "/root/. ssh/" directory,
[Email = me @ tipfoo: % 7E $] me @ tipfoo :~ $ [/Email] su
Password:
[Email = root @ tipfoo:/home/me] root @ tipfoo:/home/me [/email] # chmod 600-R/root/. ssh/
[Email = root @ tipfoo:/home/me] root @ tipfoo:/home/me [/email] # ssh-p 27482 11.22.33.44
Enter passphrase for key'/root/. ssh/id_rsa ':
Last login: Thu Jun 21 14:29:00 2007 from 11.22.33.45
========================================================== ============================