The disk quota in linux is a common function of an application. many users in an enterprise deploy linux as a mail or file server. Although the disk space is large, however, if more than 1000 enterprise users use shared storage files, it is
1. user creation: adduserphpq // Create a phpq user passwdphpq // set a password for the phpq user 2. create a working group groupaddtest // create a test Working Group 3. create a working group useradd-gtestphpq // Create a phpq user and add to
The download server has a large traffic volume. some time ago, apache2.2 was re-installed and upgraded. apache log files were not separated, resulting in huge access. log and error. log files... Next we will share with you how to split apache log
It is very interesting to have a DOS environment in Linux. Currently, feasible solutions include Dosemu and Vmware. according to my personal interests, I chose DOSEMU because it is very simple to build, and very easy to use. The following is the
Linux User management has three types of users:. super User: root has all permissions of the operating system, UID is 0B. common users: Non-administrator users with limited permissions, UID: 500-6000C. pseudo-User: facilitates system management and
For security reasons, Linux does not allow root users to use Telnet. generally, we use a normal account to log on, and use su-to switch to the root account when the permission is required. below, we usually modify/etc/securetty to achieve the effect.
Because the file system format of the operating system is different, self-check and boot require a boot management program to process and load the core. this core is called BOOTLoader, which exists in the first sector, that is, MBR (master boot
When the shell script does not have/**/a line when multiple lines are commented # Is it a headache? Ning GE handed you a trick: vim, for example, the Java code hahaheiheienyehyehdadada: setnu, displays the row number. if you want to comment out 1-3
Migrate the BLOG originally running on Apache to the Nginx server today, and record the Rewrite changes! It is found that using try_files in Nginx is simpler and faster than Rewrite! Add: location/{try_files $ uri // index. php? to the server? Q $
Yum uses redhat, and Feder of fedora must have a headache for the famous dependencyhell of rpm (this is also a problem for all rpm-based releases ). Fooisneededbybar, barisneededbyfoo. I have to work hard to load and unload software...
What does yum
1. configure the rule list. In fact, the configuration of the rule list is completed in the basic system installation. However, because this step is important and requires a lot of words, it is listed separately. Absolute path to the inventory list
Linux startup process: 1. BIOS self-check 2. enter the MBR boot program and boot the System program by lilo/grub. 3. load the system kernel to the memory, kernelboot, and give control to the operating system. 4. run the init process, the process
By integrating pnp4nagios, ndoutils, and nconf, we provide a complete configuration solution for nagios, Centos5.5, and the latest version of nagios3.3.1. after being installed, the interface changes are too ugly, so here I also use version 3.2.3 to
Linux kernel earlier than 2.4.23 needs to be re-compiled and patched to use LVS, after LVS directly made into the kernel using grep-i-C5ipvs/boot/config-'uname-R', you can view the operating system of ipvsadm in the user space/ipvs working in the
Install: fooinstall-m644foo/usr/bin. PHONY: install. check the makefile snippet and use it. PHONY's goal is described in detail below. source: click to open the link. PHONY is a special purpose (specialtarget). it is used to specify...
Install:
Basic form of advanced variables [1]. variable extension format $ {variable name} [2]. command extension format $ (command) [3]. arithmetic extended format $ (arithmetic) 1. basic form of variable extension: $ {variable name} variable extension
BASH built-in variable (1 ). BASH: the complete path of bash. the default value is/bin/bash (2 ). BASH_ENV: applicable only in non-interactive mode. when executing a shell script, the system first checks whether the startup script is specified for
Because your cluster is implemented in the user space, similar to the iptables service in linux, you need to use ipvsadm to implement it. since linux kernel version 2.6, the code has been compiled into the kernel, if the version is older, you need
After apache and php are integrated, the apche restart prompt: httpd: Couldnotreliablydeterminetheserver & amp; #39; sfullyqualifieddomainname, using127.0.0.1forServerName solution is very simple: localhost # find...
After apache and php are
Example 1: package all the files in the/etc directory into/tmp/etc.tar [root @ linux ~] # Tar-cvf/tmp/etc.tar/etc & lt; pack only, do not compress! [Root @ linux ~] # Tar-zcvf/tmp/etc.tar.gz/etc & lt; after packaging...
Example 1: package all the
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.