Simple optimization, probably from the following aspects to optimizeOptimization of 1.SSH Services2.selinux/iptables3. Character Set adjustment4. Boot-up service optimization5. Time optimization (Scheduled Tasks)Optimization of SSH ServiceA, modify
Personally think of Linux under the editor, for Small white, the best use is sublime, but, after installing the code can not input Chinese, very awkward.After Baidu, found the solution.Project Link:
1, install Codeblocks2, install VIM, check gcc,g++, modify VIM environmentCD ~Vim. VIMRCAdd the following lines:Set Shiftwidth=4 (indicates the length of each level indent)Set Softtabstop=4 (indicates the length of the indent when pressing the
Installation of Linux systems (centos6.8)First step setting boot up press F2 to enter this interfaceThe five options for installing the system's main interface are indicated separately650) this.width=650; "title=" 1.png "alt="
The History of LinuxAndrew S.tanenbaum proposed Minix, while Linus Torvalds extended Linux from Minix.
Application areas of LinuxWebsite Development background Application 3D scene automatic TV Android bottom system and so on.
How to learn
Linux installation JDK1.71. Preparation Materials2. Create the/usr/local/java directory and put the JDK installation files in itMkdir/usr/local/java3. Unzip the JDK to the current directoryTAR-ZXVF jdk-7u79-linux-x64.tar.gzGet folder jdk1.7.0_794.
Mode Bond1:active-backupMode features: One port is in the main state, one is in the slave state, all traffic is processed on the main link, and there is no traffic. When the primary port is down, the master state is inherited from the port.Stop
First, testing proceduresProbing process, PS: viewing process detailsReal-time monitoring process, top: real-time output for details and related system performance parametersEnd Process, killIi. Monitoring of disk spaceMount storage media,
Desktop version: Ubuntu, mint, Deepin (domestic, new)Server Edition: Redhat, CentOS, Fedoraamong them, Redhat is a fee-for-business edition, with the company sponsoring Fedora, a new technology applied to fedora, which is used for redhat when
Many times the files edited in the Windows environment often appear ^m characters under Linux, which can be processed in the following ways.The VIM command opens the file and then enters the following in Vim command mode::%s/^m//gSpecial Note: Note
We often use the man command in Linux, but often we use the man xxxx when there are a few number options to let us choose, this time we need to know, the number of options corresponding to the meaning.Reference Link:
Compiling ffmpeg under Linux is too easy.1. Download Yasm1-1.: http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz1-2. Decompression: Tar zxvf yasm-1.3.0.tar.gz1-3. CD yasm-1.3.0 entry1-4. command line execution./configure detect
Tomcat relies on the JDK package, so the JDK is configured first.After the configuration is complete, unzip the downloaded Tomcat to/usr/localTAR-XVF apache-tomcat-7.0.70.tar.gz-c/usr/localConfiguring Environment variablesEdit
Linux Execution Bin Program:Error while loading shared Libraries:libncurses.so.5:cannot open Shared object file:no such file or directoryWorkaround:Yum-y Install libncurses.so.5After installing this library, it is possible to report:Error while
The minimum interval for Linux crontab is once per minute, but what if the previous command was not completed within that minute? This creates a conflict. Next I introduce a solution to the conflict, that is, the Linux flock file lock.Format:Flock [-
Introduction to Folder-related functionsmkdir Function Create folder#include #include int mkdir (const char *pathname, mode_t mode);RmDir Deleting a folder#include int rmdir (const char *pathname);Dopendir/fdopendir//Open FolderDir is a struct that
How to solve the problem that Linux cannot access the Internet in virtual machines?
When using a virtual machine to install a Linux system, you must simply set the virtual machine and the Linux system to correctly connect to the host network.
Use of Linux -- vi, linuxvi
Record some instructions for using vi. The blue part is commonly used, and the used part is re-described. A few parts are not used, there are still some unused items that are not recorded and will be supplemented
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