Common debian skills

Source: Internet
Author: User
Common debian skills: Linux Release Technology-Debian information. For more information, see the following. 1. Modify the default logon Manager (Ann. xdm kdm)
/Etc/X11/default-display-manager

Change desktop # update-alternatives -- config x-session-manager
Automatically log on to/etc/TPD. conf by running the command of running the command.

AutomaticLoginEnable = true
AutomaticLogin = Sunday

2. wget download website documentation:
Http://fedora.redhat.com/docs/release-notes/fc5/zh_CN/ of wget-r-p-np-k
-R: Create a server directory structure on the local machine;
-P: Download and display all images of HTML files;
-Np: only download the contents of the specified directory and Its subdirectories of the target site;
-K: convert non-relative links to relative links.

3. self-built debian Source
Assume that the root directory of the anonymous ftp server is/home/ftp
(1) create a pool directory
$ Cd/home/ftp
$ Mkdir debian
$ Cd debian
$ Mkdir pool
(2) copy the debian package
$ Cd pool
$ Cp/var/cache/apt/archives.
(3) create a directory structure
$ Cd ..
$ Install-d dists/testing/main/binary-i386
(4) generate package information
$ Ls-l pool | sed's/_. * $/priority section/'| uniq> override
$ Dpkg-scanpackages pool override | gzip> dists/testing/main/binary-i386/Packages.gz
(5) Create an issue file
$ Cat> dists/testing/main/binary-i386/Release <EOF
Archive: testing
Component: main
Origin: Debian
Label: Debian
Architecture: i386
EOF
(6) client sources. list settings
Deb ftp :// /Debian testing main
Note: When adding a new package, you only need to copy the new deb package to the pool directory and perform step (4) again.
Disadvantage: If no package authentication information is set up, an authentication error will be prompted during installation, but it can be used.
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.