Collection of Ubuntu daily usage skills

Source: Internet
Author: User
1. the Ubuntu "service" cannot be started. The system reports an error saying "the system administrator will not allow you to modify the system configuration", because the supervisor code: sudo/etc/init is not enabled. d/dbusstart2. Add the open terminal: sudoapt-getinstallnautilus-open-terminal3 In the right-click menu. installation rar support: sudoapt-getinstallrarunrar4

1. the Ubuntu "service" cannot be started. The system reports an error saying "The System Administrator does not allow you to modify the system configuration" because

Enable Logging code:
Sudo/etc/init. d/restart start

2. Add the terminal to the right-click menu:
Sudo apt-get install nautilus-open-terminal

3. Installation of rar support:
Sudo apt-get install rar unrar

4. Install the wenquanyi Font:
Sudo apt-get install xfonts-wqy

Disable IPV6:

1. Enter
Sudo gedit/etc/modprobe. d/aliases

2. Comment out this line of alias net-pf-10 ipv6
3. Inventory
4. Enter
Sudo gedit/etc/modprobe. d/blacklist

5. Add this line of blacklist ipv6
6. Save the file & start the computer
It takes effect only from the computer.
After completing the above steps, open a terminal and enter:
Ip a | grep inet6
If there is no output, ipv6 is actually disabled.

Command for changing file attributes:
Chown: Change the file owner
Chgrp: Change the group to which the file belongs.
Chmod: Change the file access permission

MAIN package management tools:
PS: the following tools are not used to replace the other party's

Dpkg-Debian package Installation Tool
Command Line frontend of apt-get-APT
Aptitude-APT Advanced Character and command line front-end
Synaptic-APT front-end of the graphic interface (also known as the new)
Dselect-use the package management tool on the menu interface
Tasksel-Task Installation Tool

Processing dependencies:
Apt-get-Automatically downloads the dependent software packages, but does not process the recommended or recommended software packages for the installed software.
Aptitude-can be set to the recommended or recommended software package for installing the installed software (improved apt-get)
Dselect-lists the recommended or recommended software packages for the installed software.

Convenient tools:
Dpkg-reconfigure:-reconfigure the installed software package
Dpkg-source:-manage the source package
Dpkg-buildpackage:-automatically generate a package file
Apt-cache:-check the package file in the Local Buffer

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.