By default, the root user of ubuntu cannot log on.
You can use the following command to modify it:
Sudo passwd Root
Enter the password you want to change.
Upgrade system:
Modify your source and upgrade it to the latest system:
Sudo gedit/etc/APT/sources. List
In the editor, delete everything and add the following line:
Deb http://ubuntu.cn99.com/ubuntu/ breezy main restricted universe multiverse
Deb http://ubuntu.cn99.com/ubuntu/ breezy-Updates main restricted universe multiverse
Deb http://ubuntu.cn99.com/ubuntu/ breezy-security main restricted universe multiverse
Deb http://ubuntu.cn99.com/ubuntu/ breezy-backports main restricted universe multiverse
Deb http://ubuntu.cn99.com/ubuntu-cn/ breezy main restricted universe multiverse
Deb http://ubuntu.cn99.com/backports/ breezy-extras main restricted universe multiverse
Save and close the editor
System upgrade (if [Y/n] or [Y/n] is required, enter y and press Enter ):
Sudo apt-Get update
Sudo apt-Get dist-Upgrade
Set the local environment:
Sudo dpkg-reconfigure locales
Make sure that the zh_CN.UTF-8 is selected, and the local is the zh_CN.UTF-8 by default
Select the Chinese support environment for installation based on your installed system
Install Chinese Language Support (UBUNTU ):
Sudo apt-Get install language-pack-gnome-ZH-base language-pack-ZH-base language-support-ZH
Install the Chinese Language Support (kubuntu )):
Sudo apt-Get install language-pack-KDE-ZH-base language-pack-ZH-base language-support-ZH
Install the Chinese font (if [Y/n] or [Y/n] is required, enter y and press Enter ):
Sudo apt-Get install TTF-arphic-Ukai TTF-arphic-uming
If you want to display better Chinese characters, we recommend that you use ry.
#
Install the input method. you can install either of the following methods in scim and fcitx.
* Scim:
Sudo apt-Get install scim-modules-socket scim-modules-Table scim-pinyin scim-tables-ZH scim-input-pad
Sudo sh-C "echo 'export xmodifiers = @ im = scim; export gtk_im_module =" scim "; scim-d'>/etc/X11/xsession. d/95 xinput"
Sudo chmod + 755/etc/X11/xsession. d/95 xinput
* Fcitx:
Sudo apt-Get install fcitx
Sudo sh-C "echo 'export xmodifiers = @ im = fcitx; export gtk_im_module =" fcitx "; fcitx '>/etc/X11/xsession. d/95 xinput"
Sudo chmod + 755/etc/X11/xsession. d/95 xinput
# Set lc_all and other attributes:
Sudo gedit/etc/environment
*
In the editor, modify the content as follows (the Chinese interface is used by default ):
Language = "zh_cn: Zh: en_us: en"
Lc_ctype = zh_CN.UTF-8
Lang = zh_CN.UTF-8
Ststst_id3_tag_encoding = GBK
To use the English interface, modify the content as follows:
Language = "en_us: en"
Lc_ctype = zh_CN.UTF-8
Lang = en_GB.UTF-8
Ststst_id3_tag_encoding = GBK
Save and close the editor
Okay. log out of your computer. (System-> logout) at this time, the input method (press Ctrl + space to activate the input method) should be available, and the entire interface is Chinese.
Further settings:
Install the Java environment (if [Y/n] or [Y/n] is required, enter y and press Enter ):
Sudo apt-Get install sun-j2re1.5
Sudo ln-SF/usr/lib/j2re1.5-sun/bin/Java/usr/bin/Java
Install QQ:
1.
Http://download.ubuntu.org.cn/software/lumaqq_2005-linux_gtk2_x86_no_jre.tar.gz wget-C
Sudo tarzxvf lumaqq_2005-linux_gtk2_x86_no_jre.tar.gz-C/opt/
Http://download.ubuntu.org.cn/software/lumaqq_2005_patch_2006.01.30.02.00.zip wget-C
Sudo unzip-O lumaqq_2005_patch_2006.01.30.02.00.zip-D/opt/lumaqq/lib
Sudo chown-r root: Root/opt/lumaqq/
Sudo chmod-r 755/opt/lumaqq/
Sudo gedit/usr/share/applications/lumaqq. Desktop
2. Add the following lines to the new file:
[Desktop entry]
Name = lumaqq
Comment = QQ Client
Exec =/opt/lumaqq
Icon =/opt/lumaqq/qq.png
Terminal = false
Type = Application
Categories = application; network;
3. Save the edited File
After the installation is complete, go to (Application> internat> lumaqq ).
# Install a better multimedia player Driver (if [Y/n] or [Y/n] is required, enter y and press Enter ):
Sudo apt-Get install beep-media-player totem-xine w32codecs gstreamer0.8-plugins
In actual use, change all sound output to ESD output. If you do not know how to modify it, you can also refer to how to mix it.
Install the English-Chinese dictionary (if [Y/n] or [Y/n] is required, enter y and press Enter ):
Sudo apt-Get install stardict-common stardict-cdict-GB stardict-cedict-GB stardict-hanzim stardict-langdao-Ce-GB stardict-langdao-EC-GB stardict-Oxford- GB stardict-xdict-Ce-GB stardict-xdict-EC-GB
After the installation is complete, go to (Application> attachment> interstellar translation King)
Install the Flash Support of the browser:
Sudo apt-Get install flashplayer-Mozilla
After the installation is complete, Firefox will support flash.
Install the btsoftware (if [Y/n] or [Y/n] is required, enter y and press Enter ):
Sudo apt-Get install Azureus
After the installation is complete, go to (Application> Internet> Azureus)
Advanced Settings:
Upgrade your kernel to make the system faster. If your computer is an Inter chip, run the following command:
Sudo apt-Get install linux-686
If it is an AMD chip, use:
Sudo apt-Get install linux-k7
Beautify the Ubuntu font
After beautification, can the bold and italic characters be supported?
I. Download the compressed font file package
2. Run the following command to decompress the package:
Tar-xzvf verasansyuanti.tar.gz
3. Move the verasansyuanti directory to the font folder.
Sudo MV verasansyuanti/usr/share/fonts/
4. Refresh the font Cache
Sudo FC-Cache-F
V. Back up existing fonts. conf
Sudo CP/etc/fonts. CONF/etc/fonts. conf. Old
6. Use the new fonts. conf
Sudo CP/usr/share/fonts/verasansyuanti/fonts. CONF/etc/fonts/
7. Restart x
At the same time, press CTRL + ALT + the return key to restart X. Complete beautification.
Install the compiling environment:
Sudo apt-Get install build-essential
Install the editor Emacs. By default, VIM is installed in Ubuntu.
Sudo apt-Get install emacs21
Install quanta plus
Install eMule
Sudo apt-Get install amule
(That's right. The eMule in Linux is called amule :)
Install RSS Feed Reader
Sudo apt-Get install liferea
Liferea is a good RSS reader in Linux. Recommended.
Automatically mount Windows partitions
Run the following command to edit the Mount script autowinfs.
Sudo gedit/usr/sbin/autowinfs
Copy and paste the following reference content,
Save the file and exit.
#! /Bin/sh
#
# Autowinfs auto mount Windows Disks
#/Usr/bin/sutowinfs
# It is used to automatically mount Windows partitions on the machine and write to/etc/fstab
# February 18 14:06:12 CST 2005
Mkdir-P/Windows/
Rmdir/Windows/* 1>/dev/null
Grep-V '/Windows/'/etc/fstab>/etc/fstab. SWP
# This script is used in the locale of the UTF-8
# It is rare that a separate fdisk-l cannot list partitions, so remove/dev/[Hs] d [A-Z ].
# Fdisk-L/dev/[Hs] d [A-Z] | grep-e 'fat | NTFS '| cut-d'-F1 | cut-D /- f3 | while read wdisks
# Look For NTFS partitions. The auto of the new kernel seems to be a problem, so now we separate NTFs and VFST.
Fdisk-L/dev/[Hs] d [A-Z] | grep 'ntfs '| cut-d'-F1 | cut-D/-F3 | while read wdisks
Do echo "/dev/$ wdisks/Windows/$ wdisks NTFS auto, user, NLS = utf8, umask = 0 0 0">/etc/fstab. SWP
Mkdir "/Windows/$ wdisks"
Done
Fdisk-L/dev/[Hs] d [A-Z] | grep 'fat' | cut-d'-F1 | cut-D/-F3 | while read wdisks
Do echo "/dev/$ wdisks/Windows/$ wdisks vfat auto, user, utf8, umask = 0 0 0">/etc/fstab. SWP
Mkdir "/Windows/$ wdisks"
Done
MV/etc/fstab. SWP/etc/fstab
Mount-
Exit 0
Run the following command:
Sudo chmod + x/usr/sbin/autowinfs
Sudo/usr/sbin/autowinfs
The Windows partition will be mounted under/Windows /.