Ubuntu Notes 1

Source: Internet
Author: User
1. Set the network
Ifconfig // display network parameters

$ Sudo gedit/etc/Network/interfaces
This will start a simple text editor to edit the Linux network configuration file.
Auto Lo
Iface lo Inet loopback
Auto eth0
Iface eth0 Inet static
Pre-up ifconfig eth0 HW ether 00: 1E: 37: CC: 00: C7
Address 219.217.156.59
Netmask 255.255.255.0
Gateway 219.217.156.254

Set DNS:
$ Sudo Pico/etc/resolv. conf
Add the configuration content here:
Nameserver XXX. XXX

Restart network components:
$ Sudo/etc/init. d/networkding restart

Modify the MAC address:
 
Sudo ifconfig eth0 down (disable Nic)
Sudo ifconfig eth0 HW ether XX: XX (the MAC address to be changed)
Sudo ifconfig eth0 up (enable Nic)

Directly edit the/etc/Network/interfaces file and add a line after iface eth0 Inet static:
Pre-up ifconfig eth0 HW ether 00: 1E: 37: CC: 00: C7

2. txt garbled problem solution:
Solution: Enter "gconf-Editor" in the terminal and choose "apps"> "gedit2"> "Preferences"> "encodings". Double-click "auto_detected" --> "add" --> enter: gb18030 --> OK --> click up to move it to the top --> OK.

PDF garbled problem solution:
Sudo apt-Get install xpdf-Chinese-Simplified
If not, perform the following steps:
1. Download poppler-data and decompress it.
2 In the terminal: CD/extract path/poppler-data-0.1
3, enter sudo make install datadir =/usr/share.
After opening the PDF file again, Chinese characters are displayed normally.

3. After poppler is installed, if it cannot be properly displayed, run the following command:
Sudo RM/etc/fonts/CONF. d/49-sansserif.conf

4. Activate the NVIDIA Graphics Accelerator Driver
System-system management-hardware driver

5. Software Package backup and cleanup
Tar cizvf backup.tar.gz/var/Cache/APT/archives -- exclude =/var/Cache/APT/archives/partial/* -- exclude =/var/Cache/APT/archives/lock
Sudo apt-Get clean
Rm-RF ~ /. Thumbnails/fail/gnome-thumbnail-factory /*
Restore:
Sudo apt-Get Update & sudo tar xzvf backup.tar.gz-C/

6. gnome basic development library
Sudo apt-Get install gnome-core-devel

7 RAR Decompression
Sudo apt-Get install RAR unrar p7zip p7zip-rar p7zip-full

8 apt-Get install Osmo // personal information management

 

9 apt-Get install Comix // view the Python language for comics

10 apt-Get install tree // the files in the current folder are displayed in a tree

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.