Add the script for Automatic startup Based on Process Information #! /Bin/bash www.2cto.com addchkconfig () {if [['chkconfig -- list | grep $ 1'] then echo --- already in $1 chkconfig -- list | grep $1 else echo --- not already in $1 if [[ 'LS-l/etc/
Linux tune2fs command details just now in the experiment, that is, partitions, mount these things, because the acl is used, but in linux,/partitions have the acl parameter by default, but other common partitions have, so I just want to set the mount
Solaris add and delete a virtual network card IP address 1. view the IP Address Configuration of the current network card www.2cto.com root @ solaris # ifconfig-alo0: flags = 2001000849 mtu 8232 index 1 inet 127.0.0.1 netmask ff000000ce0: flags = 10
PrefaceThere are many ways to use kill-URS1 on the Internet to generate new log files for nginx, and many people complain that this method is correct. Here I want to tell you that this method is very correct. I have read the logrotates that comes
Introduction to sed commands in AIX [plain] www.2cto.com sed: it is a non-interactive text stream editor that can edit large or small files, and regularly edit and delete files with sed commands. All changes are handled at one time. Sed does not
Linux memcached cache framework parameter description-d option is to start a daemon process,-m is the amount of memory allocated to Memcache, the unit is MB-u is the user who runs Memcache, we recommend that you create a memcached user
The Debian package management system contains only .tar.gz package files. You must compile each software that he wants to run on GNU/Linux. Users generally think that it is necessary for the system to provide a way to manage these software packages
The package management mechanisms of Gentoo, Debian, And FreeBSD are very similar. Gentoo and Debian are my favorite Linux distributions, one is naturally an excellent development platform, and the other is undoubtedly the preferred product for both
Benefits of yum: 1. Solve the dependency between software when installing software !!! 2. Solve the Problem of attaching a cd; 3. You can install multiple software packages at a time. 1. Mount the optical drive and install the CD or iso in centos5.5.
Why use the vim Editor:All Unix Like systems have built-in vi file editors. Other file editors may not exist;Many software editing interfaces call vi (for example, crontab, mongodo, edquota, and so on ).Command );Vim has the ability to edit programs.
Nginx sets the White List www.2cto.com by the end Number of the Website user. In fact, this requirement is very common. It is a new function that needs to be developed. First, you must test run on the website.There are many implementation methods to
The solution to the failure to store the txt files uploaded by the system was reported by the customer today, and the data in the txt files uploaded in the system could not be stored in the database. In the system program, you can call www.2cto.com 1
Linux commands for uploading files to the server1 ssh www.2cto.com in Cygwin: $ ssh username @ remotehost 2 scp command scp Based on the SSH protocol, you can copy local files to a specified directory on the remote service, the format is as follows:
Here, Redhat introduces three methods to view the Linux kernel version. The results of each method are different, so that you can submit materials for analysis.[Root @ localhost ~] # Uname-Linux localhost. localdomain 2.6.18-128. el5 #1 SMP Wed Dec 1
Gcc and g ++ are respectively gnu c & c ++ Compilers
Gcc/g ++ requires a total of four steps for compiling.
1. pre-process and generate the. I file [pre-processor cpp]2. Do not convert the pre-processed files into assembly languages to generate
In Linux, logs generated by Tomcat are not generated by date. As a result, logs become larger and larger, which is inconvenient to view. It is troublesome to manually back up logs. You can modify catalina. sh file to achieve the effect.The method is
Today, these two parameters have made a little effort to sort them out, so as not to be delayed.
Allow and Deny can be used in apache conf Files or. htaccess Files (with Directory, Location, Files, etc.) to control access authorization for
Md is a virtual device driver layer. It is a block device driver and has the characteristics of a block device driver. Therefore, it implements block device operation interfaces.
Static struct block_device_operations md_fops =
{
. Owner =
EnvOS: centos 5.4 finalFtp: vsftpd-2.0.51. You can use newusers or scripts to create a new user. You need to write the user name in a document in the format of one digit per line through the script. Then, execute useradd. sh Useradd. sh Content:#!
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