Ubuntu11.04 installation configuration details

Source: Internet
Author: User
Tags filezilla

Ubuntu11.04 configuration summary:

1. Create and install a USB flash drive on XP:

A download unetbootin-windows-563.exe, ubuntu-11.04-desktop-i386.iso.

B at least 1 GB size USB flash drive, insert to PC, and quickly format it.

C double run unetbootin-windows-563.exe, click the options below, choose the ubuntu-11.04-desktop-i386.iso, and then OK, after a while the U disk is ready.

D. restart the computer and press f2 to go to BIOS settings boot. Start USB-HDD.

Next and the CD installation steps the same, the process can refer to this URL: http://apps.hi.baidu.com/share/detail/34619792


1. Change the software source and update the entire system.


Interface Method: click "System"-> System Management-> Update Manager-> "set" in the lower left corner-> label "ubuntu software"-> download from-> select a server address (for example: mirrors.163.com/ubuntu)-> Select Server-> disable-> install updates. Restart your computer.


Manual method:
A. modify the software source: $ sudo gedit/etc/APT/sources. List

B. Use the following two commands to update the software source list:

Sudo apt-Get Update-list local updates
Sudo apt-Get upgrade-install available updates (or sudo apt-Get dist-Upgrade)

3. Install the video card driver: system> System Management> additional driver.

2 Add a five-stroke Font:
Click "Input Method keyboard icon"-> preferences-> input method-> Add-> choose five-> up-> close.

3. Install the dictionary:
Sudo apt-Get install stardict


4. filezilla, FTP client software
Filezilla is the FTP client. I personally think it is the best among graphical FTP clients.
Sudo apt-Get install filezilla


5. gimp
Sudo apt-Get install gimp


6. smplayer recommended for video players
Sudo apt-Get install mplayer smplayer

Sudo apt-Get install exaile


7. Virtual Machine Software virtual box
Web: http://www.virtualbox.org/wiki/Downloads
Find the Deb package of lucid of the latest version (for Linux) and download it. Then, double-click the Deb file to install it.
Command line installation: sudo dpkg-I virtualbox-3.1_3.1.8-61349 ~ Ubuntu ~ Lucid_i386.deb


8 graphical installation sun-java6-jdk
Click "application"-> Ubuntu Software Center-> edit-> Software source-> other software-> select the first "partner source" (it should be in the first row, close.
The http://archive.canonical.com/ubuntu maverick partner) and click Close,
Select "reload", search for "Sun java6" in the Software Center, and install the software.


9 manually install JDK 1.6 or
A uses the "Suntory software package" to remove openjdk.
B download jdk-1_5_0_22-linux-i586.bin (or jdk-6u23-linux-i586.bin)

: Http://java.sun.com/javase/downloads/widget/jdk6.jsp
Put in/home/xiazhengguo/Java
Install:
$ CD/home/xiazhengguo/Java
$ Chmod 777 jdk-1_5_0_22-linux-i586.bin
$ Sudo-S./jdk-1_5_0_22-linux-i586.bin
Then there will be a large part of the agreement content. Just press enter to know if you want to install it. Select Yes.
After the installation is successful, a directory named jdk1.5.0 _ 22 is generated under the current directory.
C. Configure Environment Variables
Gedit/etc/profile
Enter the following content:
Export java_home =/home/xiazhengguo/Java/jdk1.5.0 _ 22
Export jre_home = $ java_home/JRE
Export classpath = $ classpath: $ java_home/lib: $ jre_home/lib
Export Path = $ path: $ java_home/bin: $ jre_home/bin
Save and exit. Execute:
Source/etc/profile
D. Check the following versions:
Java-version

E. If you do not see the version information, just ignore the machine.


10. You can log on to Ubuntu as the root user.
A. change the password of the root account;
Enter the "sudo passwd root" command in the terminal. Then, the hacker will prompt you to enter the current account password. after entering the correct password, enter the password you want to give the root account twice.
B. Set automatic logon for the root account;
Edit the/etc/TPD/custom. conf file and modify the automaticloginenable, automaticlogin, and timedlogin files as follows:
[Daemon]
Timedloginenable = false
Automaticloginenable = true this is changed to true
Timedlogin = root.
Set automaticlogin = root to root.
Timedlogindelay = 30
Defaultsession = gnome
Then restart.
C
* By default, you are not allowed to log on to the graphic interface directly with the root account. This allows root to log on directly by modifying the/etc/TPD. conf file. In this file, change allowroot = false to allowroot = true to switch the user.

Note: In some systems, the default value of GMS. conf is read-only. Before modification, you can use sudo chmod 777/etc/TPD/GMS. conf to modify the file permissions.
* Ubuntu does not support logon in the root window by default. Choose system> System Management> logon WINDOW> Security> allow local system administrators to log on. Then, you can log on to the root user in the logon window after restarting.


11 install Apsara:
Open the command terminal window and execute the following commands:
Sudo apt-add-repository PPA: happyaron/PPA
Sudo apt-Get update
Sudo apt-Get install openfetion
After the command is executed, close the command terminal. The Startup menu of fetion is displayed at the beginning and on the Internet, and you can double-click it to run it.


12 Network Configuration:
Graphic interface method:
The graphical interface is relatively simple. Click the Network icon on the right of the upper panel and select "connect to wired network with 802.1 certification". Then, it is similar to authentication in windows, enter the user name and password (November 12)
Command Line Method:
The operations under the command line will be more complex. We suggest you try it.
First, edit a configuration file for accessing the Internet and enter the command on the terminal.
Copy code
1. gedit lan. conf
Copy the following content to the file and remember to change the user name and password to your own
Copy code
1. ctrl_interface =/var/run/wpa_supplicant
2. # ctrl_interface_group = wheel
3. ap_scan = 0
4. Network = {
5. key_mgmt = ieee8021x
6. EAP = MD5
7. Identity = "your username @ local"
8. Password = "your password"
9. eapo_flags = 0
10 .}
Then, edit a script file for use on the Intranet.
Copy code
1. gedit lan. Sh
Copy the following content to the file. The lan. conf file is the configuration file you just edited. If you are not using this file name, you can change it.
Copy code
1 .#! /Bin/bash
2. wpa_cli Logoff
3. wpa_cli terminate
4. wpa_supplicant-B-I eth0-C lan. conf-D wired
5. dhclient eth0-R
6. dhclient eth0
After modification, add the execution permission to the script file.
1. chmod + x lan. Sh
Run the following command on the terminal to check whether the server can be connected to the Intranet.
1. sudo./LAN. Sh
The same is true for the Internet and the Internet. to edit two similar files, you only need to remove "@ local" after the user name in the configuration file.

 

 

Appendix 1: Ubuntu image download reference:

Http://www.ubuntu.com/download/ubuntu/download
Download Reference URL: http://ubuntuabc.com/123? P = 79
Appendix 2: Ubuntu Configuration Guide Website:
See http://wiki.ubuntu.org.cn/%E9%80%9F%E9%85%8D%E6%8C%87%E5%8D%97


Appendix 3: Hard Disk Partition knowledge: Hard Disk Partitions can be primary and logical partitions. A maximum of one primary partition can be sda1, sda2, sda3, or sda4, respectively, after sda5, it indicates logical partition (IDE Hard Disk may be represented as hdax ). If the original hard disk has windows, there is usually only one primary partition and several logical partitions, that is, the C disk is sda1, the D disk is sda5, And the e disk is sda6 ...... If you delete the e-disk partition to install Ubuntu, you only need to edit
Sda6. Note that if you divide sda6 into Several partitions, the F disk will not be sda7, but will be extended based on the layout of the hard disk partition.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.