Debian miscellaneous notes Integration

Source: Internet
Author: User
Debian miscellaneous notes integration-Linux Release Technology-Debian information, the following is a detailed description. Author: Happy journey
I have just learned about Debian, so I am not very familiar with the apt-get installation method. When installing the software, I found that the software currently installed is not the latest version. Although I know that Debian is famous for its security, but the software is not so old. For nginx, the official nginx development version is 0.7.8 and the latest stable version is 0.6.32. However, if Debian installs software in stable mode, its current nginx version is 0.4.13-2. Although I only test it, it doesn't matter if the software version is to be installed. If you really want to install the latest version 0.6.32, you only need to download the nginx source code package to compile and install it, although I can try the new version, I still want to try to use apt-get install nginx to install the latest version 0.6.32, finally, the solution is found.

Modify the/etc/apt/source. list file as an example:

# Deb http://debian.cn99.com/debian/ etch main
# Deb-src http://debian.cn99.com/debian/ (etch main)

Deb http://debian.cn99.com/debian/ unstable main non-free contrib
Deb-src http://debian.cn99.com/debian/ unstable main non-free contrib

Deb http://security.debian.org/etch/updates main contrib
Deb-src http://security.debian.org/etch/updates main contrib

This is the source test I used for the test. The cn99 source of the first two stable versions and the unstable source of the intermediate two actions, that is, the development source officially mentioned by debian. The following is the security update source.

Because we know the differences between different versions of debian, such as unstable, testing, and stable, we can solve this problem well.
You can also enable ghost.

Debian kernel upgrade:
# Aptitude search linux-image-2.6 *
# Aptitude install linux-image-2.6-686
In this way, you can install the 2.6.18 kernel.
# Aptitude dist-upgrade

How to disable IPV6 In Debian:
Change/etc/modprobe. d/aliases alias net-pf-10 ipv6 to alias net-pf-10 false.

Debian network settings:
Set the IP address. You can directly edit the/etc/network/interfaces file, and write the fixed IP address as follows:
Auto lo eth0
Iface lo inet loopback
Iface eth0 inet static
Address 192.168.2.2
Netmask 255.255.255.0
Broadcast 192.168.2.255
Gateway 192.168.2.1
Set the address and gateway. The last section in DHCP is as follows:
Auto eth0
Iface eth0 inet dhcp
After this file is changed, restart the network:
/Etc/init. d/networking restart

Debian system spam cleaning:
Dpkg-l | grep "^ rc" | awk '{print $2}' | xargs aptitude-y purge

Debian Management System Service System:
# Apt-get install rcconf
# Rcconf

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.