MD5 encryption algorithm source code download: Https://pan.baidu.com/s/1nwyN0xVAfter the download is complete, unzip and get two filesEnvironment Construction:1. Copy the Md5.h file to the/usr/include/directorysudo cp md5.h/usr/include2. Compile and
Linux version: 64-bit CentOS 6.4Nginx Version: nginx1.8.0PHP Version: php5.5.28SQL Server version: 2008FreeTDS version: 0.95For Linux environment Installation nginx+php reference Linux environment Nginx installation and debugging as well as PHP
System crashes due to system disk usage up to 100%
View those disks using up to 100% commands df-h
We found that the WWW directory used to reach 100%, start cleaning up, first look for large files larger than 100MFind/-size +100m |xargs LS-LH
1. Compress the MyData directory below the/home directory to Mydata.zipZip-r Mydata.zip MyData #压缩mydata目录2. Unzip the mydata.zip under the/home directory into the Mydatabak directoryUnzip mydata.zip-d Mydatabak3, the home/home directory below the
the difference between Su-and Su--Interactive logon and non-interactive login
First, Brief introductionInteractive : Enter the account password directly through the terminal login, etc.variables, aliases, etc. won't inherits from the
The C standard library and C + + STL are examples of shared components that can be linked by our programs. The benefit is that each object file does not need to be stated when it is linked, because the developer can refer to the library in bulk.
By default, the directory permission value is 755, the normal file permission value is 644, then this value is determined by WHO, the reason isumask[[Email protected]]# vim/etc/profile1. Assume thatThe Umask value is:022 (all bits are even)666-022 =6
I. Full time information for viewing files under Linux1. When viewing files under Linux, the ls–l default is not to display seconds:# ls-l/etc/total 0-rw-r--r--. 1 root root Jan 5 09:43 adjtime-rw-r--r--. 1 root root 1518 June 7 aliases2, to
The Cut command is used to display the text from the beginning of NUM1 to num2 for each lineGrammar:Cut [-bn] [file]Cut [-c] [file]Cut [-DF] [file]Instructions for use:The cut command cuts bytes, characters, and fields from each line of the file and
Environment: two Linux serversHome Server IP Address: 192.168.80.10From server IP address: 192.168.80.20First step: master server Configuration[[email protected] ~]# yum install bind//Installation DNS service[[email protected] ~]# systemctl stop
Common linux commands for Performance Testing
Common linux commands for performance testing.
1. uptime
[Root @ smgsim02 ~] # Uptime15:08:15 up 98 days, 2 users, load average: 0.07, 0.29, 0.14The number of times the system has been running since
Linux Kernel compilation tutorial
Compile Linux-kernel 4.14.14 and use Ubuntu 16.04 64-bit system.
The kernel-4.14.14 kernel File is about 96 MB. After decompression, the linux-4.14.14 directory is about 900 MB. Switch to the unzipped linux-4.14.14
Configure static IP addresses and static IP addresses in Liunx
At the beginning, Linux uses dynamic retrieval by default, and we need to set static IP addresses (for xshell connection)
1. Execute the dhclient command to automatically obtain an
12 ip command examples
Year after year, we have been usingifconfigCommand to perform network-related tasks, such as checking and configuring Nic information. HoweverifconfigIt is no longer maintained and abolished in the latest version of
How to Use the task manager in Ubuntu
In Ubuntu Linux Terminal, how does one open the task manager. In Ubuntu Linux, press Ctrl + Alt + Del to open the task manager to kill unwanted tasks and programs.
Just like Windows has a job manager, Ubuntu
Nginx and php configurations of linux LNMP (nginx part) and lnmpnginx
Nginx and php configurations of LNMP (nginx part)
1. nginx configuration file/usr/local/nginx/conf/nginx. conf
Clear nginx. conf and copy the following Configuration:
User nobody;
Use MySQL 16.04 + PHP 7 + Apache in Ubuntu 5.7 to deploy Nextcloud
Deploy Nextcloud using MySQL 16.04 + PHP 7 + Apache in Ubuntu 5.7.Preparation
If you want to use VPS or cloud host as the Nextcloud server, you can install an Xshell first.
Note: In
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