Linux VPS users generally through the SFTP/SCP protocol to connect OPENSSH server for file transfer, but sometimes, you want some users can only upload files to the site directory, and not be able to log on to the system to execute commands and
Understanding the version number of a Linux distribution is a very important thing, most software requires a system version, and the release version number does not match the software. The software will not be installed or can not be used. Here's a
No matter how much disk space there is in any cloud server, the largest but on the 20G, Tencent cloud default Linux only 8GB system disk, the general web site is enough to use, if the additional purchase of the data disk after the installation
The swap partition is a Linux swap partition. The swap partition actually exists on the disk, but the Linux system can use it as memory, and swapping partitions can exchange data with real memory when the physical real memory is low. To put it
CP Replication
CP source file path Directory file path[Root@zabbix_agentd ~]# CP./1.sh/tmp/[Root@zabbix_agentd ~]# CP./1.sh/tmp/2.sh
As shown above, the first CP./1.sh/tmp/, copy the current directory under 1.SH to TMP is still called 1.sh,Second
Summarize the characteristics of backup.sh:
1, support the MYSQL/MARIADB database full volume backup;2, support the designated directory or file backup;3, supporting the encrypted backup files;4, support one key to upload to Google Drive (need to
LDD is one of the most useful commands in Linux library operations, and he can view the libraries that a program relies on.
If your program is missing a library, we're going to download it, but where do we put the library so that the program is
There are times when you need to update your local DNS cache, and Mac, Linux, Windows system methods, and even versions are different. Make a note here.
OS X 10.10 System
sudo discoveryutil udnsflushcaches
OS X 10.9 System
Dscacheutil-flushcache;
git command line, sometimes complete the graphics interface can not complete the work.
One, client configuration
1, generate public and private keys
# CD ~/.ssh
# ssh-keygen-t rsa-b 4096
generating public/private RSA key pair.
enter file in which
Nagios using email to alert notifications is a common way.
1. Use SendEmail to send mail
SendEmail tools are very handy. See the specific content:
2. Create a contact
The code is as follows
Copy Code
#
View current directory Size:
The code is as follows
Copy Code
[root@512m50g/]# Du-sh
To view the specified directory size:
The code is as follows
Copy Code
[root@512m50g/]
Install iptables Firewall
If you do not install iptables you need to install first, CentOS execution:
Yum Install IptablesDebian/ubuntu Execution:
Apt-get Install Iptables
Clear existing Iptables rule
Iptables-fIptables-xIptables-z
Open the
Today in the check server is found in the messages log there are many shapes such as last message repeated N times. As follows:
June 2 19:43:46 server repeated 7 timesJune 2 19:44:47 server repeated 3 timesJune 2 19:46:17 server repeated 5
One, the server prepares the situation, four sets:
1, the previous segment of the server:192.168.1.112 hosts directional test domain nginx.21yunwei.com192.168.1.113 Standby front-end server.Back-end Web server pool Web_pools:192.168.1.102192.168.1.1
The paging mechanism is performed after the segment mechanism to complete the linear-physical address conversion process. The segment mechanism converts the logical address into a linear address, and the paging mechanism further converts the linear
Some time ago, a project memory leakage on the online server caused a large amount of memory to run, resulting in a problem on the entire server. Therefore, the memory limit needs to be fixed. Below is a simple record to change the jvm memory limit:[
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