Optimization of Linux Systems

1: Turn off SELinux and iptables (in the work scenario, if there is an external IP generally open iptables, high concurrency high traffic generally cannot be turned on)[[email protected] ~]$ grep SELINUX=disabled /etc/sysconfig/selinux

Linux Server time synchronization automatically

The most common is the Rdate serviceInstallation (CentOS for example):Yum InstallUsage:Time-b.nist.govAfter the execution of the above method time is synchronized. Some servers are not allowed to be separated for a period of time, so we have to add

The difference between single quotes and double quotation marks in Linux

"‘‘``The single quote "is equivalent to the contents of the content directly output." Does not take into account whether there are variable commands, etc.Double quote "" Only variable command will be output directlyAnti-quote ' ' both

Linux Basic Learning-user's creation modification Delete

User Add Modify Delete1 Useradd adding usersAdd a new user hehe, specifying a UID of 3000 and a home directory of/home/haha[[email protected] ~]# useradd -u 3000 -d /home/haha hehehehe:x:3000:3000::/home/haha:/bin/bash[[email protected] ~]# ls /home/

Linux Common Command Memo

Document Viewing and modificationVi/etc/hostsI modify the modeESC Exit Modification: Q Normal exit (File not modified: q! Do not save exit: X/:wq Save ExitCat/etc/hosts Document ViewModify HostVi/etc/hosts Reboot RequiredModify

Linux Virtual Machine Management

1. Virtual Machine Management CommandsVirsh-manager # #开启虚拟机管理器Virsh List # #显示正在运行的虚拟机Virsh List--all # #查看所有虚拟机Virsh Start Desktop # #打开虚拟机Virsh Shutdown Desktop # #正常关闭虚拟机Virsh desktory Desktop # #强行关闭Virt-viewer Desktop # #显示虚拟机2. Installation

Linux resolution Modification

I said last time how to build a Linux virtual machine environment, but there are a lot of problems after the completion, screen resolution is too small is one of them.To give you a comfortable working environment, let us now teach you two ways to

Linux Find log Tips

You must first understand the two most basic commands:Tail-n test.log query log at the end of the last 10 lines;Tail-n +10 test.log Query all logs after 10 lines;Head-n test.log Query log file in the first 10 rows of logs;Head-n -10 test.log query

Linux Network Management

Ifconfig eth0 Up | DownWrites IP configuration information to the configuration file/etc/sysconfig/network-scripts/ifcfg-eth0Service Network restartRoute Add | del default GW 192.168.1.1Route-n/etc/resolv.confPingHost Www.baidu.comTracerouteNetwork

Linux File system security

1. Locking system Important files:The system operator may sometimes encounter situations where a file cannot be modified or deleted by the root user, most likely because the file is locked. The command to lock a file under Linux is Chattr, which

Linux File Management

PwdCdSpecial directories. And..Absolute path and relative pathTouch creates a file if the file that you want to create already exists, update the file's creation time.RM-RF Force no prompt to delete files and directoriesMV Cut or rename filesCat

Linux FTP Virtual User creation

(1) cd/etc/vsftpd/(2) Vim vuser.list Create user Zhaosi and Liwu password are redhat (odd behavior account name, even behavior password)(3) db_load-t-T hash-f vuser.list vuser.db(4) File vuser.db(5) chmod vuser.db(6) Rm-f vuser.list(7)

Basic Linux Learning (5)

Fifth chapter--text editor vimI. VIM common operation 1.Vim Introduction: Vim is a powerful full-screen text editor, the most commonly used text editor on Linux/unix, it is to create, edit, display text files.    Vim has no menu, only commands.

Key Points of Linux File lock

File lock is one of the most common inter-process synchronization mechanisms in Linux. Compared with sysv semaphores, file locks are easier to use (the trouble of sysv semaphores lies in its key Acquisition Mechanism ).Apue provides a detailed

Description of Linux device driver development by Song Baohua

The drive of a general character device is transformed into a misc device. The MISC device is not as troublesome as a character device. In the future, try to replace the scull. c driver with a misc device. #include #include #include #include

Driver settings for Linux parallel port Devices

Reference: http://oss.org.cn/kernel-book/ldd3/ch09s03.html 13-pin led positive input, 25-pin led negative Driver code: Parport_drv.c #include #include #include #include #include #include

IOCTL test tool for Linux Device Drivers (2)

The IOCTL test is an advanced Note of the coolder (1). The underlying IOCTL processing can control all registers by means of shift !~   Main. c upper-layer application test code # Include # include # include # include # include # include

Linux learning plan

More and more profound understanding of the importance of the foundation, so I want to study a course well, cultivate 0.0001 battle force as the core competitiveness. The experts have stepped on this post. Please leave some suggestions. Main

Linux dynamic library search path

Linux dynamic library search path     As we all know, the default search paths for Linux dynamic libraries are/lib and/usr/lib. After a dynamic library is created, it is generally copied to these

Preparations for the Linux/Windows library

Now that you are trying to develop programs in Linux, some preparations are necessary, such as makefile and shell. Now you have learned how to write makefile, taking advantage of this learning opportunity, I looked at the current General makefile of

Total Pages: 5467 1 .... 5456 5457 5458 5459 5460 .... 5467 Go to: GO

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.