Step 1: Add a common user
Create users, Set passwords, modify users, and delete users:
Useradd testuser create user testuser
Passwd testuser: Set the password for the created user testuser
Note: The newly created user creates a user directory
I went to work at the company today and started the system in the morning. After I went out for a while and came back, I pressed any key and the machine did not respond, only the white mouse with a black background is displayed, and the display
As mentioned above, Nagios can only monitor local resources by default, but it cannot monitor remote server resources. Now I want to learn about nrpe with you, nagios uses nrpe to monitor remote host survival, disk space, load, process count, ip
1. binfile
First, you have no execution permission. If you do not have the execution permission, you can run the following command:
Chmod a + x Upload File. bin
Run in the current directory
./Configure file. bin
Run the Installation
What does yum do?
With redhat, linuxer of fedora must have a headache for rpm's famous dependency hell (which is also a problem for all rpm-based releases ). Foo is needed by bar, bar is needed by foo. To load and unload a piece of software, we
Because of the purchased VPS, everything in the system is OK, just the things after installation. There is basically no software, so it is up to you to manually build my bo-blog.
Basic information:
OS:
[Root @ localhost ~] # Lsb_release-
LSB
Netstat is used to display statistics related to IP, TCP, UDP, and ICMP protocols. It is generally used to check the network connection of each port on the local machine.
Command Used to monitor system resources for a long time: (view the
You can use the man command or command -- help to understand its specific parameters and operation steps. Here we will briefly summarize the meaning of Common commands:
As follows:
Mcopy
Copy MS-DOS files
Mdel
Delete
Assume that the shared disk server 192.168.1.100 and the directory/opt/resource/only allow access from the 192.168.1. * network segment.Modify the/etc/exports file and add:/opt/resource 192.168.1. * (rw, async, no_root_squash)Run: exportfs-Modify
Switching between root and user Users in UbuntuUbuntu is a popular Linux system recently. Because Ubuntu does not start the root user by default, we will introduce how to enter the root user. (1) switch from user to root user Whether logging on
Ubuntu server cannot read the u disk content. You can only mount the u disk to/mnt, 1. Insert a USB flash drive 2. Input fdisk-l/dev/sda to view the output result. For example, mine is like this: # Fdisk-l/dev/sdaDisk/dev/sda: 131 MB, 131104768
Instance: Step by step: [root @ subversion ~] # Man df[Root @ subversion ~] # Df-T-hFile System Type capacity available in use % mount point/Dev/mapper/VolGroup00-LogVol00Ext3 446G 376G 48G 89%//Dev/sda1 ext3 99 M 21 M 74 M 22%/bootTmpfs 1014 M 0 10
The slab created in the Linux kernel is mainly implemented by the cache_grow () function. From the creation of slab, we can see the slab, object, and page organization.Www.2cto.com/** Grow (by 1) the number of slabs within a cache. This is called*
WebDAV is a communication protocol based on HTTP 1.1. It adds some extensions to HTTP 1.1 (that is, some new methods are added in addition to several HTTP standard methods such as GET, POST, and HEAD ), the application can directly write files to
1. Add the following content to the site configuration in httpd. conf:AddOutputFilterByType DEFLATE text/html text/plain text/css text/xml text/javascriptDeflateCompressionLevel 9 SetOutputFilter DEFLATE 2. Add the following content in. htaccess:
Cacti Construction Cacti is a set of network traffic detection Graphics analysis tools developed based on PHP, Mysql, SNMP and RRDTool. cacti acquires data through snmpget and uses RRDtool to draw images, in addition, you do not need to understand
For the call of the mount System Involved in the installation of the preceding root directory file system, we consider that a file system will be installed on an installed file system, that is, call the mount System Call implementation. The mount
Enter at the terminal: Automatically shut down the computer in 100 minutes 1Sudo shutdown 100 +In this case, both shutdown and restart are logged out. You can use sudo shutdown-c to cancel the automatic shutdown command. In addition, there are other
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