Tutorials to .com

Tutorials to .com » Os » Ubuntu » Linux Ubuntu operating system in the practical skills

Linux Ubuntu operating system in the practical skills

Print View , by: iSee ,Total views: 3 ,Word Count: 785 ,Date: Tue, 2 Jun 2009 Time: 2:20 AM

Set the number of console

default Linux console are seven, you can use ALT + CTRL + F1 to F2 to switch to a different console, of course, the seventh of which, that is, F7 is the X's graphical interface, if you do not need so many consoles, change the configuration files can reduce the number of it, thus reducing the occupancy of the system resources, if you like using more than 2G of memory, E6700-level equipment, the above is not in the scope of discussion!

First cd to the (root status) / etc look inittab file, gedit inittab or vi inittab, modify the contents of the following:

1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6

You do not want to comment out the console can be used, and in the labeling can be # added to the front.

Or left is strongly recommended that two or three consoles, so that when a problem in the system could not enter a time when X can also be repaired in the text mode.

The use of QQ

The use of QQ There are many ways, such as under LumaQQ, here on the use of only the QQ own gaim plug-in, now bring their own gaim2.0beta5 versions of the plug-QQ, but have not found the APT source gaim can go to http://www.gaimcn.com/download.php Download gaim-data_2.0.0_beta5-1hiweed2_all.deb and gaim_2.0.0_beta5-1hiweed2_i386.deb two documents, extract, cd to the directory after unzip,. / configure and then make then make install and then you can, if your system with a lower version of gaim, the middle of it you will be prompted to uninstall, follow the prompts to do it, then after an Internet --- gaim, You can find a familiar QQ!

The use of dynamic IP

In the use of ubuntu dynamic IP (if you are using a router to share Internet access, this maybe helpful for you)

su to root, cd to / etc / network, to find interfaces file, gedit interfaces or vi interfaces (if you are familiar with the case vi), add the following two lines: auto eth0; iface eth0 .net dhcp; save quit and restart the networking services: to root in the terminal input / etc / init.d / networking restart, could be a!

Management Services

The use of tools sysv-rc-conf

sudo apt-get install sysv-rc-conf
sudo sysv-rc-conf

Use the space bar to open or closed, marking the X for the open end by q from the set. Following a brief run these types of levels:

runlevel 1: single-user mode for the reservation, the corresponding / etc/rc1.d scripts directory. The run levels are usually used in the recovery system.

runlevel 2 ~ 5: application of multi-user mode, the corresponding / etc/rc2.d ... ... / etc/rc5.d the script directory, usually free to customize.

runlevel 0: shutdown process, the corresponding / etc/rc0.d

runlevel 6: restart the process, the corresponding / etc/rc6.d

runlevel S: the boot process of the operation of the first level, corresponding to / etc / rcS.d the script.

For ordinary desktop users, suggested that what Bluetooth, PCMCIA, Laptop related to switch off, in theory, can accelerate the speed of the boot.

Rpm installation package format.

format is ubuntu packages deb, if you want to install rpm package, you have to use alien to convert rpm to deb.

sudo apt-get install alien # alien is not installed by default, so first of all to install it.

sudo alien xxxx.rpm # will be converted rpm-bit deb, after the completion of the same name will generate a xxxx.deb.

sudo dpkg-i xxxx.deb # installed.

Note that to use alien to convert deb package does not guarantee 100% successful installation, you can find the best deb directly deb.


Ubuntu Articles


Can't Find What You're Looking For?


Rating: Not yet rated

Comments

No comments posted.