Ubuntu7.10 configuration notes

Source: Internet
Author: User
Tags aliases
Some configuration notes after Ubuntu7.10 is installed: Disable ipv6: sudogedit/etc/modprobe. d/aliases comment out this line of aliasnet-pf-10ipv6sudogedit/etc/modprobe. d/blacklist add this line blacklistipv6 reboot takes effect ipa | grepinet6 if no output

Some configuration notes after Ubuntu7.10 is installed:

Disable ipv6:

Sudo gedit/etc/modprobe. d/aliases

Comment out this line of alias net-pf-10 ipv6

Sudo gedit/etc/modprobe. d/blacklist

Add this line of blacklist ipv6

Reboot the computer to take effect

Ip a | grep inet6

If no output exists, ipv6 is disabled.

--------------------------------------------------------------------------

Software source Modification

Sudo cp/etc/apt/sources. list/etc/apt/sources. list. backup (back up the current source list for future recovery)

Sudo gedit/etc/apt/sources. list (modify the source list in the sources. list file)

Sudo apt-get update # This step updates your source list, which must be executed after the source is changed

Sudo apt-get dist-upgrade # This step is to update the software

You may need to use sudo apt-get-f install to fix the installation.

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 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

--------------------------------------------------------------------------

Open a folder with root permission

Sudo apt-get install nautilus-gksu

--------------------------------------------------------------------------

Install Chinese support

Note that you must first update the source and then install Chinese support.

System-> administration-> language support

--------------------------------------------------------------------------

Solve Chinese garbled characters in pdf electronic documents in Ubuntu 7.10

Sudo apt-get install xpdf-chinese-simplified xpdf-chinese-traditional

1 download poppler-data, extract the http://poppler.freedesktop.org/

2. Run: cd/extract path/poppler-data-0.1 on the terminal

3. Enter sudo make install datadir =/usr/share.

--------------------------------------------------------------------------

Install the rar compression/decompression program

Sudo apt-get install rar

Create soft link

Sudo ln-fs/usr/bin/rar/usr/bin/unrar

-------------------------------------------------------------------------

Install the compilation tool

Sudo apt-get install gcc libc6-dev

Sudo apt-get install build-essential

Sudo apt-get install gnome-core-devel

Sudo apt-get install libgtk2.0-dev

---------------------------------------------------------------------------

Apt installation of anjuta

1. Add Source: click "system", "system management", and "software source" on the main menu. after entering the password, click "third-party software" in the displayed dialog box ", click "add..." in the lower left corner... ", paste the following line, and then press" add source "," "Close", and "re-load ".

Deb http://anjuta.org/apt ./

2. Apt installation: sudo apt-get install anjuta

3. Solve dependencies: sudo apt-get install autogen automake build-essential

---------------------------------------------------------------------------

Install the java environment:

Sudo apt-get install sun-java6-jdk

Sudo update-alternatives -- config java

Configure the java environment variable: sudo gedit/etc/environment

Classpath =/usr/lib/jvm/java-6-sun/lib

Java_home =/usr/lib/jvm/java-6-sun

Sudo gedit/etc/jvm

Move/usr/lib/jvm/java-6-sun to the top

Related Article

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.