New Linux systems must be installed with software (Ubuntu and similar systems)

Source: Internet
Author: User

1. After installing the system, modify the root password first. Otherwise, you cannot log on to the root user. The command is as follows:

Sudo passwd root // modify the root user password

2. The editor that is often used by Linux users is vim, so I want to install it. In fact, VI is installed by default after the system is installed, some of its keyboards are not suitable for us, so we need to install its improved version-Vim, the command is as follows:
Sudo apt-Get install Vim

After Vim is installed, We need to install a plug-in named ctags. With this plug-in, we can easily find some struct types. The command is as follows:
Sudo apt-Get install ctargs // ctargs-R
After the installation is complete, you need to set up the vim environment configuration file. I will not elaborate on it here. You can view the relevant files I have previously written.

3. People who often use Ubuntu must know that our system does not have g ++ after the system is installed. We need to install it manually. The command is as follows:
Sudo apt-Get install g ++

4. When writing large software, we need a management tool. We cannot manually compile hundreds of files. In Linux, makefile script files are generally used to solve this problem, the auto tool set is required for generating some of its necessary files. If we install one, it will install the corresponding tools together. The command is as follows:

Sudo apt-Get install automake

5. Large programs require multiple threads or multiple processes. We can install a thread package for our system. The command is as follows:

Sudo apt-Get install manpages-POSIX-dev // pthread thread package

After installing such software packages, we 'd better generate a new tags file.

The above software package may not have been installed after the system is installed. It depends on how you set and configure the system. If you use a DVD to install the software package, you need to configure the software package at that time, we can directly configure or choose to install all of them. For example, when installing Red Hat Enterprise Linux 5, we only need to set the frequently used software packages, after installing the system, you only need to configure the file.

The following are some frequently used software packages. If you want to use them, install them. The command list is as follows:
Sudo apt-Get install nfs-kernel-Server

// You need to modify some configuration files after installing the NFS server.

Sudo Vim/etc/exports

Sudo Vim/etc/Network/interface

You can check the modification information online!

Sudo apt-Get install tftpd TFTP // FTP service
Sudo apt-Get Install SSH-server // SSH Server
Sudo apt-Get install wine // This tool can be used to execute Windows software. The method is as follows: wine <program file path>
Sudo apt-Get install tweak
Sudo apt-Get install Python-mutagen // mid3iconv-e GBK *. MP3 solves the problem that the pythonbox player cannot display Chinese characters normally.
Sudo apt-Get update // you can update the software source.
Sudo apt-Get install-f // fix dependency
Sudo dpkg -- configure-A // solve the problem of sudden interruption when downloading and updating the system
Sudo apt-Get install ncurses-dev libncurses5-dev // graphic interface programming
// These essential software packages for system Transplantation
Sudo apt-Get install fakeroot valgrind flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev zip curl zlib1g-dev libncurses5-dev liblzo2-dev uboot-mkimage GCC ncurses-dev tool liblibx11-dev Linux-libc-Dev

Sudo apt-Get install ckermit

// It is equivalent to minicom. After installation, you need to create a configuration file. The method is as follows:
Create a. kermrc file in the current user's home directory. The content is as follows.
Set line/dev/ttyusb0
Set speed 115200
Set carrier-watch off
Set handshake none
Set flow-control none
Set robust
Set file type Bin
Set file name Parameters
Set rec package 1000
Set Send package 1000
Set window 5

Run the following command to use the serial port:
Kermit-C

Sudo apt-Get install OpenSSL libssl-dev // lssl must be added during MD5 compilation.

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.