Linux System Management

Source: Internet
Author: User

[Enable the root user in Ubuntu
Set the root password: sudo passwd Root
Ubuntu7.04 enable the root user: Set allowroot = true (true if enabled, otherwise false) in VIM/etc/X11/mcm/TPD. conf)
Ubuntu8.04 enable the root user: Set allowroot = true (enable to true, otherwise false) in VIM/etc/mcm/TPD. conf)

Cancel binding Mac to ethx
Unbind mac from ethx in Ubuntu 7.04
Vim/etc/iftab: comment out the corresponding MAC and ethx.
Unbind mac from ethx in Ubuntu 8.04
Rm/etc/udev/rules. d/*-persistent-net.rules

[Change UTC time to local time
In Vim/etc/default/RCs, Set UTC = No (the uct time is yes, and the local time is no)

[Set the root user language to Chinese in Ubuntu 8.04
Modify. profile in the root user directory:
Lang = "zh_CN.UTF-8"
Language = "zh_cn: ZH"

[Add an ISO software source in Ubuntu
Mount-T iso9660-o loop/Media/soft/downloads/ubuntu-8.04-dvd-i386.iso/Media/CDROM
Apt-CDROM-m-D/CDROM add

[Delete old kernel in Ubuntu
List all installed kernels and select the packages to be uninstalled. The kernel files with the image are as follows:
Dpkg -- Get-selections | grep Linux
Use apt-get to uninstall the old kernel:
Apt-Get remove linux-image-2.6.15-23-386

 

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.