My Linux getting started tour

Source: Internet
Author: User

This article records some of my experiences in Linux over the past three days ~

0. Nonsense
I know that the Linux operating system is in elementary school, but for various reasons, I have never had the chance to contact it. In high school, I installed Linux several times in VMware, but I forgot my account and password a few days after each installation ~~ Now we finally have the opportunity to study Linux. Say that... (10 thousand words are omitted here)

1. install Linux
I installed Ubuntu 10.04 LTS. Since I have been preparing to stay on Linux for a long time, it is easy to install Ubuntu by clearing the entire hard disk. If you want to implement both Windows and Linux systems, you must first install Windows and then install Linux. Because Windows is a domineering system, you only recognize your brother. If it is not M $, you will never see it, directly overwrite the MBR, And the boot program in Linux is gone. You need to fix it with LiveCD.

2. cultural program
Ubuntu 10.04 LTS has a poor Chinese character. After the system is installed and restarted, you will find that many systems are still in English, but it doesn't matter. In about 10 seconds, the system will pop up a dialog box Indicating that Chinese characters are missing. Click Run this action to fix the problem as prompted (network required ). After a while, the repair process ends. However, some remote Chinese characters cannot be displayed due to the font. Click system> preference> appearance> font and change the following 6 fonts to the font of wenquanyi.
The default PinYin Input Method of Ubuntu 10.04 LTS is also disabled and cannot be used in Chinese. Choose system> preferences> IBus preferences> input method, delete all input methods, and add Chinese-Pinyin and Chinese-five 86 input methods. Chinese-py (m17n) can be retained, but it is not easy to use.

3. Firefox
Firefox is a browser that comes with Ubuntu 10.04 LTS. Click Edit> preference> content, change the default font to the font of wenquanyi, and click the Advanced button next to it. The font of wenquanyi is also changed.
Firefox has many good plug-ins. Since I have only been in touch with Linux for three days, I have not used many excellent plug-ins. Therefore, here I only recommend three plug-ins to you:
A. FireGot is a download plug-in that can replace Firefox's Download Manager.
B. FireFTP is an FTP plug-in.
C. Reload Every is a plug-in that automatically refreshes the page. It is essential to hold the forum for time.
Sogou released the sogou cloud input method, which has the corresponding Firefox plug-in. However, sogou cloud input method can only be used when Browsing Web pages, rather than system input methods. In addition, the sogou cloud input method requires a network. When the network is poor, no words can be entered ~~

4. Download Tool
Wget is the built-in command line Single-thread download tool. You can also run the sudo apt-get install gwget command to install the graphics version.
Axel is a command line multi-thread download tool. It is installed with the command sudo apt-get install axel. No graphic version is found currently.
Lftp is a built-in command line FTP download tool. CrossFTP is recommended for graphic interface FTP download tools, but it requires Java support.
AMule is the ed2k/kad client in Linux. We recommend that you use aMule-dlp, an aMule with dynamic blood-sucking protection.
A. Go to the http://code.google.com/p/amule-dlp/ at the source code.
B. decompress the aMule-2.2.6-DLP4102.tar.bz2 with the command tar-jxvf.
C. run the sudo apt-get install g ++ binutils-dev libcrypto ++-dev libgtk2.0-dev libgd2-xpm-dev libgeoip-dev libupnp3-dev zlib1g-dev libwxbase2.8-dev libwxgtk2.8-dev to install the compiling environment, the dependency is met.
D. enter the extracted file set and use the command. /configure -- prefix =/usr/local -- disable-debug -- enable-optimize -- with-denoise-level = 3 -- enable-upnp -- enable-geoip -- enable-nls -- disable- amule-gui -- enable-amule-daemon -- enable-amulecmd -- disable-webserver -- disable-alcc-enable-1C -- enable-cas -- enable-wxcas -- enable-mmap configuration source code.
E. Compile with the command make. The compilation process is long and you have to wait patiently.
F. Run the sudo make install command to install the SDK.
G. To enable the aMule to have Event Notifications, run sudo apt-get install libnotify-bin on the terminal. After the installation is complete, open aMule and click Settings> events> download completed. Check the following two options and enter them in the following two input boxes: notify-send-I amule aMule download completed: % NAME.
H. Start aMule in Firefox:
* Open Firefox, enter about: config in the address bar, and open it.
* Create a Boolean value named network. protocol-handler.external.ed2k and set it to true.
* Create a New String named network. protocol-handler.app.ed2k. In my system, the value is/usr/bin/ed2k. Maybe/usr/bin/ed2k. amule or ed2k. amule in your system, depending on the situation!
* Run The sudo apt-get install amule-utils command to install the "amule-utils" suite.
* Find an ed2k link and click it. In the dialog box that appears, remember not to use the default one. Click another program, find the ed2k program in your system according to the path/usr/bin/ed2k.
Note: After the settings are complete, restart Firefox to take effect. After clicking the link in Firefox, you only need to add the download link to the download list. aMule is not automatically opened and needs to be opened manually before downloading.
Ubuntu 10.04 LTS comes with Transmission to support BT download. This is a graphic interface program.

5. Audio and Video entertainment
Mplayer is said to be the most supported multimedia file formats on the planet. However, it is very troublesome to use the command line to configure it. you can install SMPlayer, which is a graphical front-end of MPlayer.
A. Run the sudo apt-get install smplayer command to install SMPlayer.
B. Run the sudo apt-get install gecko-mediaplayer command to install the Firefox plug-in. This plug-in is bundled with gnome-mplayer.
Audacious is the most installed audio player in Linux.
A. Run the sudo apt-get install audacious command to install Audacious.
B. Run the sudo apt-get install audacious-plugins command to install the decoder.
C. Click "Settings"> "playlist" and select "auto-encoding detector: Simplified Chinese". Alternate character encoding: cp936.

6. Security Protection
In Linux, anti-virus software is not installed. Nowadays, virus and Trojan horses are all for Windows. For security reasons, it is better to install anti-virus software and firewall.
BitDefender's Linux version is an anti-virus software that supports both command line and Shell scripts. It is also a free software and can be used without any authorization.
A. Run the wgethttp: // download.bitdefender.com/repos/deb/bd.key.asc command to download the public key.
B. Use sudo apt-key to add bd. key. asc to add the public key.
C. Run the sudo gedit/etc/apt/sources. list command to open the sources. list file.
D. Add debhttp: // download.bitdefender.com/repos/deb/ bitdefender non-free to the file and save it.
E. Use the sudo apt-get update command to update the source.
F. Use sudo apt-get install bitdefender-plugin for installation. If you need a graphical interface, install bitdefender-plugin-gui.
The firewall recommended by Ubuntu is Shorewall. It is too strong, too professional, and the configuration is complicated. I recommend ufw for new users.
Run the sudo apt-get install ufw command. gufw is the graphic version of ufw. Run the sudo ufw enable command to enable the firewall. Set the default deny of sudo ufw to the default state.

7. Conclusion
Call ~~ I finally finished writing... It is found that writing articles is more tiring than writing code.
I have just come into contact with Linux. This article is the result of my three-day study of Linux. It is my personal understanding. If you find an error, please let me know! Thank you!

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.