Installation method problems and system configuration 1. apt configuration occurs during installation. I have not connected to several sources in China. I have selected a source in Japan and the speed is good. 2. the installation selects the basic tools, graphical interface, and ssh. other content, such as web and SQL, is not
Installation method
Problems and configuration system
I. apt is configured during the installation process. I have selected a few sources in China that have not been connected. I have selected a source in Japan and the speed is good.
2. the installation selects the basic tools, graphical interface, and ssh. other content, such as web and SQL, is not selected. Some software is automatically downloaded during installation. It takes about half an hour. The test version has been installed in the case of network disconnection, and many software have not been installed after the installation is complete. Therefore, the software package is automatically downloaded during this installation, and there is no previous garbled code when the installation is complete, and vim is not installed, the dependency Library is missing in mplayer.
Test problem: when the download is complete, I tested it in virtualbox and disconnected the network. after installation:
(1) garbled text: installing a Chinese font can solve the problem.
(2) install vim and prompt that there is a dependency problem: delete the dependent library prompted by vim (apt-get autoremovexxxx) and install it again.
(3) after mplayer is installed, the system prompts that there is a dependency problem: install the missing Library (apt-get installxxxx) first, and then install mplayer successfully.
There is no problem with the test and installation, so you can write it into the CD and install it directly on the physical machine.
3. manually add the 163 source
Vi/etc/apt/resources. list
Add:
Deb http://mirrors.163.com/debian/ lenny main contribnon-free
Deb-src http://mirrors.163.com/debian lenny main contribnon-free
Deb ftp://ftp.it.debian.org/debian/ testing main contribnon-free
Deb-src ftp://ftp.it.debian.org/debian/ testing main contribnon-free
Apt-get update # update
4. download and install vim
Apt-get install vim
V. install the fcitx input method (4.0.1)
I have downloaded it in ubuntu before. unzip it and install it directly.
Dpkg-I *. deb# Install the downloaded fcitx package
6. set the current input method to fcitx.
Apt-get install im-switch# If not installed, install the input switch tool
Im-switch-s fcitx# Switch to fcitx
Log out.
7. install mplayer
Apt-get install mplayer
8. switch the system to English
During installation, I chose Chinese. when I log on, I found that the environment only contains Chinese characters and no English letters.
Linux @ debian :~ $ Locale-# Viewing language character sets
C
POSIX
Zh_CN.utf8
No English is found here
Configure locales and set en_US.UTF-8
Dpkg-reconfigure locales
In the configuration window, select what you need.
Problem: logout> select an English environment> enter the system and the input method is unavailable. you can set it with im-switch-s fcitx.
9. install the chromium browser
Apt-get install chromium-browser
10. Mount other partitions
Linux @ debian:/mnt $ sudo mkdir winc wind wine linux_rootlinux_home iso linux linux_boot # Create a mount point
Linux @ debian:/mnt $ sudo blkid # View UUID
/Dev/sda1: UUID = "0d7ebbf3-77b8-4d5d-8005-a216d4c4cfc7" TYPE = "ext4"
/Dev/sda10: UUID = "cf4c3b91-de8d-4462-aa1c-ab516dec9642" TYPE = "ext4"
/Dev/sda12: LABEL = "linux" UUID = "91f69811-e618-4bc9-bc2f-92e093b2413f" TYPE = "ext4"
/Dev/sda2: LABEL = "winc" UUID = "5EFCCBB4FCCB852D" TYPE = "ntfs"
/Dev/sda5: LABEL = "wind" UUID = "A2843EAD843E8437" TYPE = "ntfs"
/Dev/sda6: LABEL = "wine" UUID = "9070517270516050" TYPE = "ntfs"
/Dev/sda9: UUID = "e683fc2e-ee8a-4f6a-b751-a66a6dd5e389" TYPE = "ext4"
/Dev/sda7: UUID = "825aaf73-ed65-4184-8304-e5c9f19ea00e" TYPE = "ext4"
/Dev/sda8: UUID = "e14cd85f-8e7f-4f52-a0af-aeb806474278" TYPE = "ext4"
/Dev/sda11: UUID = "8658787c-82ea-414b-96ec-5e64af5d3a39" TYPE = "swap"
Configure fstab
# Mount windows ntfs partitions
UUID = 5EFCCBB4FCCB852D/Mnt/winc ntfsdefaults, codepage = cp936, iocharset = gb2312 0 0
UUID = A2843EAD843E8437/Mnt/wind ntfsdefaults, codepage = cp936, iocharset = gb2312 0 0
UUID = 9070517270516050/Mnt/wine ntfsdefaults, codepage = cp936, iocharset = gb2312 0 0
# Mount other linux partitions
UUID = 0d7ebbf3-77b8-4d5d-8005-a216d4c4cfc7/mnt/linux_boot ext4defaults 0 0
UUID = e683fc2e-ee8a-4f6a-b751-a66a6dd5e389/mnt/linux_root ext4defaults 0 0
UUID = cf4c3b91-de8d-4462-aa1c-ab516dec9642/mnt/linux_home ext4defaults 0 0
UUID = 91f69811-e618-4bc9-bc2f-92e093b2413f/mnt/linux ext4defaults 0 0
11. address bar displayed in the window
Run gconf-editor
Find the following path:
/> Apps> nautilus> preferences> always_use_location_entry (with a check mark)
12. remove the desktop icon
I still like a clean desktop. the removal method is as follows:
Run gconf-editor
Find the following path:
/> Apps> nautilus> desktop
Put:
Computer_icon_visible (my computer) checksum
Home_icon_visible (user's main directory) check box
Trash_icon_visible (recycle bin) check box removed
Let's do it first. my configuration is basically used for playing and record while tossing ......
Supplement:
The recycle bin on the desktop is unavailable. how can I clear the recycle bin?
Add recycle bin on the panel: Right-click the panel and choose "Add to panel..." and select "Trash.
Supplement:
Install libreoffice and java
You have downloaded libreoffice in ubuntu before. you can simply unzip it and install it.
1. delete the built-in openoffice.org
Sudo apt-get autoremove openoffice.org *
2. decompress the libreoffice package
Tar -xzfLibO_3.3.0_Linux_x86_install-deb_en-US.tar.gz
3. install libreoffice
(1) linux @ debian :~ /LibO_3.3.0rc4_Linux_x86_install-deb_en-US/DEBS $Dpkg-I *. deb# The menu is not displayed after installation.
(2) linux @ debian :~ // LibO_3.3.0rc4_Linux_x86_install-deb_en-US/DEBS/desktop-integration $Dpkg-I *. deb# There is a desktop-integration directory under the DEBS Directory. after you install the deb package, the components of the office will appear in the menu.
# The following prompt appears during running:
If the Java virtual machine is missing, install jdk together.
4. Install java
I don't know how to install it. However, if you enter jdk directly in ubuntu, you will be prompted.
Linux @ debian :~ $Jdk
Bash: jdk: command not found# Not in debian.
Linux @ debian :~ $Apt-cache search jdk | grep jdk# Search for software packages
Gcj-jdk-gcj and classpath development tools for Java (TM)
Gcj-4.4-jdk-gcj and classpath development tools forJava (TM)
Default-jdk-doc-Standard Java or Java compatible DevelopmentKit (documentation)
Default-jdk-Standard Java or Java compatible DevelopmentKit
Java runtime based on OpenJDK (debuggingsymbols)
Java runtime based on OpenJDK (demos andexamples)
Openjdk-6-doc-OpenJDK Development Kit (JDK) documentation
Openjdk-6-jdk-OpenJDK Development Kit (JDK)
Openjdk-6-jre-headless-OpenJDK Java runtime, using Hotspot JIT (headless)
Openjdk-6-jre-lib-OpenJDK Java runtime (ubuntureindependent libraries)
Openjdk-6-jre-zero-Alternative JVM for OpenJDK, usingZero/Shark
Openjdk-6-jre-OpenJDK Java runtime, using Hotspot JIT
Openjdk-6-source-OpenJDK Development Kit (JDK) sourcefiles
Default-jdk-builddep-Standard Java or Java compatible builddependencies
Sun-java5-jdk-Sun Java (TM) Development Kit (JDK) 5.0
Sun Java (TM) Development Kit (JDK) 6
After checking, you can install it (more than 100 M, about 3 or 4 minutes ):
Linux @ debian :~ $Sudo apt-get installopenjdk-6-jdk
[Sudo] password for linux:
Reading package lists... Done
Building dependency tree
Reading state information... Done
....
Run the following command after Ancheng (successful ):
Linux @ debian :~ $Java-version
Java version "1.6.0 _ 18"
OpenJDK Runtime Environment (IcedTea6 1.8.3) (6b18-1.8.3-2)
OpenJDK Server VM (build 16.0-b13, mixed mode)
Soffice is successfully run again.
Supplement:
Install firefox
When writing a blog, I used the browser and chromium of the system to find that Sina's blog could not add images (I had to upload the images to the album first and use the traditional method ), so install firefox.
URL:
Http://www.mozilla.com/en-US/firefox/
The website provides Firefox 3.6, so you can choose to Try the new Firefox 4 Beta! Freedownload.
Installation:
Linux @ debian :~ /Downloads $ ls
Firefox-4.0b10.tar.bz2 # View is bzip2 compression, you can use the-j parameter to extract
Linux @ debian :~ /Downloads $ sudo tar -xjffirefox-4.0b10.tar.bz2-C/usr/share
Linux @ debian :~ /Downloads $ cd/usr/share/firefox/# enter the installation directory
Linux @ debian:/usr/share/firefox $./firefox # test it.
NOTE: child process completed Ed 'Goodbye ', closing down
I don't know how to install it in the menu, so add it manually.
(1) right-click the Application menu and choose Edit menus.
(2) find the internet and select newItem. the configuration window for creating a new project is displayed:
You can select one of the icons. I chose/usr/share/firefox/icons/mozicon128.png.
Name: enter the project Name firefox;
Command: Enter the absolute path/usr/share/firefox % u
Test successful!
However, after the installation is complete, the upload button can appear on the blog (originally blank), but it is still difficult to use it with the mouse. Dizzy !!
2011/2/20 supplement:
Install ubuntu10 for my brother (the old machine crashes when it is installed) and debian later. after the installation, I found that the font settings were not beautiful, but they were not clear!
Mxy @ localhost :~ $ Locale-# Check the character set
C
POSIX
Zh_CN.utf8
Sudo dpkg-reconfigure locales# Configure it and add none (I can do it at will, mainly by adding the zh system)
[Sudo] password for mxy:
Generating locales (this might take a while )...
En_US.ISO-8859-1... done
En_US.ISO-8859-15... done
En_US.UTF-8... done
Es_US.ISO-8859-1... done
Es_US.UTF-8... done
Zh_CN.GB2312... done
Zh_CN.GB18030... done
Zh_CN.GBK... done
Zh_CN.UTF-8... done
Generation complete.