Linux Basic optimization

Linux Basic optimization:1. Turn off SELinuxTemporary: [[email protected] ~]# getenforceenforcing[[email protected] ~]# setenforce 0[[email protected] ~]# Getenforcepermissive[[email protected] ~]#Permanent:# sed-i ' s#enforcing#disabled#g

Linux NIC for high availability: Team Link Aggregation

I. Introduction to link Aggregation1. TIC TeamingBind multiple physical ports together as a logical portRhel7 is high availability or load balancing through runner (which can be seen as a piece of code)2. Team structureMster: A logical port that can

Linux Common commands

* Ps-aux View Process* Netstat-an | grep 8080 to see if the port is occupied* lsof-i:8080 View PID* ps-ef | grep java//java Process* View File sizeLS-LH filename.txt* File is too large to open how to view//-C50 view content about 50 lines of

Linux Learning: Installing memcached

1, because rely on libevent-devel, glib, use the following command to installYum Install Libevent-develyum list glibc*2, installation memcachedYum Install memcached650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M00/8F/85/wKiom1jjaGWgz866AAA8

Linux set Boot execution command script

Redis Open-Start (Centos) under Linux11VI /etc/init.d/redis2 script contents are as follows:# Chkconfig:2345 Ten -# Description:start and Stop Redis PATH=/usr/local/bin:/sbin:/usr/bin:/bin Redisport=6379EXEC=/usr/redisbin/redis-Server

Linux Command Learning Touch

Touch Create file or modify file time-A only updates the access time and does not change the modification time-C does not create files that do not exist-M only updates the modification time, does not change the access time-r file time to update

Compression, archiving under Linux

bz2

Compress bz2, XZ, zip, ZThe directory cannot be compressed and the original file is deleted by default after compression.Gz:gzip/path/filename-D DecompressionGunzip/paht/some_filenameZcat/path/somefile.gz: View the contents of the text file under

Linux Command Quick Check Daquan

Common basic commandsls   显示文件或目录 -l 列出文件详细信息l(list) -a 列出当前目录下所有文件及目录,包括隐藏的a(all)mkdir 创建目录 -p 创建目录,若无父目录,则创建p(parent)cd 切换目录touch 创建空文件echo 创建带有内容的文件。cat

Linux remote Kill Process

Transfer from http://blog.csdn.net/tengdazhang770960436/article/details/53906263First step: Get the process number" ps-ef | grep ${tomcat_name} | grep-v grep | awk ' {print $} '"'{print $}' )Step two: Kill the process" kill-9 ${pid}

Linux Basics (31-40)

1.MBR Partition Partitioning commandfdisk【选项】If the fdisk -l current disk information is listed as RepresentativeSuppose we later added a hard drive that was identified by the system as /dev/sdb but not partitioned, which is displayed doesn‘t

Meng New Linux Learning Path (vii)

First, the control of system services1.systemdSystem initialization program, the first process that the system starts, the PID is 12.systemctl commandSystemctl List-units # #列出当前系统服务的状态650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M00/8F/97

Linux Instructions Summary

Record a number of commonly used instruction combinations, to achieve some of the functions that are often employed: first, to traverse the directory under the file name to get the current directory (excluding subdirectories) of the relevant files,

Modify Linux Basic Configuration

1. Modify Host NameVi/etc/sysconfig/network Networking=yeshostname=server1.cn 2. Modify the IP addressVi/etc/sysconfig/network-scripts/ifcfg-eth0 Device=eth0Type=ethernetOnboot=yesBootproto=staticIpaddr=192.

Linux kernel Analysis Week sixth job

Analyzing the process of creating a new process for the Linux kernelFirst update the MENUOS code and add the command to call Fork. Spit Groove A sentence, the experimental building free users can not connect the network. Okay, just go to GitHub and

A little common sense of Mount under Linux

After modifying the/etc/fstab file, run the mount-a command to verify that the configuration is correct, or the misconfigured fstab file causes the system not to start properly. If the system does not start properly, entering the root password into

"Linux" accumulating notes II

Special Permissions for Files Suid,sgid,sbitSUID permissions (shown on the X-bit of owner). The suid is valid only for binary programs and only during execution. The performer will have permissions to the program owner during execution because of

Centos manual IP and DNS configuration, centosipdns

Centos manual IP and DNS configuration, centosipdns Set IP addresses manually If the virtual machine cannot automatically obtain the IP address, you can only manually configure it as follows: Enter the command #

General process for installing software for non-root users in Linux:, linuxroot

General process for installing software for non-root users in Linux:, linuxroot     1. Obtain the source code. Generally, the wget method is used. ubuntu can use apt-get source to obtain the source code. 2. decompress the source code. Generally,

Non-balanced handling of NIC interruptions and nic interruptions

Non-balanced handling of NIC interruptions and nic interruptions When the data volume is large, hard interruptions and soft interruptions may cause bottlenecks. The network adapter receives data packets and generates an interrupt signal from the

Install CentOS 7 yum source in redhat 7, centosyum

Install CentOS 7 yum source in redhat 7, centosyum Because the redhat update package only takes effect for registered users, You need to manually change it to the CentOS update package,CentOS is almost the same as redhat, so you don't have to worry

Total Pages: 5467 1 .... 3600 3601 3602 3603 3604 .... 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.