Share all experiences with ubuntu

Source: Internet
Author: User
Installation: configuration: AMD (939) 3500, upgraded av8 (k8t800pro), chuangjian 1GBddr400, Seagate 250 GB (IDE), jiebo 9600 mobile edition, and Omai 7130 TV card. Download the * i386.iso32bit file to correspond to the vmlinuzand initrd.gz files. These two files must be of the corresponding version and put them in the fat32 partition root directory. Download the grub_for_dos-0.4.2, unzip to windows installation:

Configuration: AMD (939) 3500, upgraded av8 (k8t800pro), chuangjian 1GBddr400, Seagate 250 GB (IDE), jiebo 9600 mobile edition, and Omai 7130 TV card. Download the * i386.iso32bit file to correspond to the vmlinuzand initrd.gz files. These two files must be of the corresponding version and put them in the fat32 partition root directory. Download the grub_for_dos-0.4.2, decompress it to the windows system root directory, remove the boot. ini file read-only attribute, open and add the following statement c: \ grldr = grub and save. Restart windows, select grub from the Startup menu, and press c to enter the command line mode. Enter root (hd0, x) to view the partitions of the three files required for installation in step 2, enter kernel (hd0, *)/vmlinuz, and then enter initrd (hd0 ,*) /initrd.gz press enter, enter boot, and then enter the installation interface. you can install it step by step as prompted. If you want to install it quickly, you can unplug the network cable and install it offline. Otherwise, the installation will be slow.

When selecting the system partition format, I started to use ext3, then I used rfs, and then changed to xfs. I found this was really good. The performance is very good. It has been disconnected several times, but it has almost no effect. Now, the machine has xfs partitions except for a 5 GB ntfs partition.

After entering the system, it is normal, but most of the menus are in English.
Because my dual-nic can directly access broadband, a large package of updates is installed in the system, and then the language support option is opened in the system> system management to hook up Chinese. After the update, the Chinese interface is restarted. If it is kde, it seems to require apt-get to install Chinese characters. You can search for it in the Forum.


System:
Change graphics Manager
Change the default value of dpkg-reconfigure kdm to kdm.

Modify the root user password:
Sudo passwd root

Install the compiling environment:
Sudo apt-get install build-essential

Add Source:
Sudo gedit/etc/apt/sources. list
Which of the following sources can be searched on the forum or google?

Update related commands:
Apt-cache search package
Apt-cache show package obtains package information, such as description, size, and version.
Sudo apt-get install package installation package
Sudo apt-get install package--reinstall re-installation package
Sudo apt-get-f install fix and install "-f = -- fix-missing"
Sudo apt-get remove package Delete package
Sudo apt-get remove package--purge delete a package, including deleting a configuration file.
Sudo apt-get update source
Sudo apt-get upgrade updates installed packages
Sudo apt-get dist-upgrade System
Sudo apt-get dselect-upgrade using dselect
Apt-cache depends package for dependency usage
Apt-cache rdepends package is used to check which packages are dependent on this package.
Sudo apt-get build-dep package installation-related compilation environment
Apt-get source package download the source code of the package
Sudo apt-get clean & sudo apt-get autoclean clear useless packages
Sudo apt-get check whether any corrupted dependency exists

The software packages installed by the system apt are usually downloaded to the following folders:
/Var/cache/apt

Install the Java environment:
We recommend that you install JDK, which is no more space than JRE. Sudo apt-get install sun-java6-jdk

Ntfs read/write:
Sudo apt-get install ntfs-3g
Sudo apt-get install ntfs-config

Partition graphics:
Sudo apt-get install gparted

Obtain the UUID of the partition:
Sudo vol_id-u/dev/hdaX

Testdisk:
If there is a problem with the partition table, we recommend using testdisk, diskgen, and fdisk. testdisk supports file systems in many formats and has versions in multiple environments. I have one ext, ntfs, fat and xfs are used to retrieve the problem. Minimize the use of pq and so on.

Hard Disk performance test:
Sudo hdparm-tT/dev/hda
You can search for this command to set the hard disk transmission mode.

New partition user changes:
Sudo mkdir/media/XX
Sudo chown yourname/media/XX

Change the volume label of the partition, which is ext and xfsd:
Sudo e2label/dev/hda5 E_Download
Sudo xfs_admin-L E_Backup/dev/hda12

Right-click the terminal to open the terminal:
Sudo apt-get install nautilus-open-terminal

System icon directory:
Usr/share/icons/hicolor/scalable/apps
/Usr/share/pixmaps/

Rar installation support:
Sudo apt-get install rar unrar

Desktop icon Gnome display or hide:
Gconf-editor
/Apps/nautilus/desktop

Configure sudo fontconfig-voodoo-f-s zh_CN
Install the wenquanyi Font: sudo apt-get install xfonts-wqy
However, I still think the font is nice. You can search for the font installation in the forum. However, it seems that there is a font installation program in kde, which is very convenient.

Samba file sharing:
Sudo apt-get install samba
Sudo apt-get install smbfs
Sudo gedit/etc/samba/smb. conf
; Security = user
Replace the following rows
Security = user
Username map =/etc/samba/smbusers
These are added to the end:
[Share]
Comment = Shared Folder with username and password
Path =/media
Public = yes
Writable = yes
Valid users = 330
Create mask = 0700
Directory mask = 0700
Force user = nobody
Force group = nogroup
Available = yes
Browseable = yes
Modify the section of the workgroup:
Workgroup = WORKGROUP
Displays charset = UTF-8
Unix charset = UTF-8
Dos charset = cp936
Add account: sudo useradd 330
Sudo smbpasswd-a 330
Sudo gedit/etc/samba/smbusers, add 330 = "network username"
Change Password: sudo smbpasswd-a 330
Service test restart: sudo testparm
Sudo/etc/init. d/samba restart
Samba file permissions seem to be related to samba settings and system permissions,

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.