The importance of permissions to a file: (mainly for the contents of the file, no relation to the filename)R: The actual contents of this file can be read.W: You can edit, add, or modify the contents of the file (but not delete the file)X: The file
First, the preparation of LNMP environment before constructionLNMP is the Linux system nginx+mysql+php this site server architecture, so need to download mysql,php, and nginx three sets of software.Mysql:32-bit:
This article summarizes the following commands:Wc:word Count-L: Show only the number of rows-W: Displays only the number of words-C: Only the byte size is displayedCut: (remove sections from every line of files) removes a fixed portion of each row
1./etc/bin/sbin/lib is sure to be on the root partition and cannot mount the additional partition/USR directory as far as possible separate partitions for the installation of the operating software/var as far as possible. /proc/sys/dev cannot be
1. Using zip and unzip compression and decompression zip Aa.zip file name (one) zip aa.zip file name 1 file name 2 (compress multiple files) zip-r Aa.zip folder path (Compress entire folder) Zip-t 102002 File.zip Compress current target Record 2002
1.ssh Install the EXE file installed directly, preferably Linux has sshd service (22 port), and Windows must and Linux can ping ifconfg eth0 ip to Linux configuration Ip,eth0 represents the first network port 2. Current directory: pwd
1. Create the physical directory Dp_dir on Linux and store the database. dmp file;Log in as root, switch to Oracle user, create a physical directory with Oralce identity as follows:[Email protected] oracle]# su-oracle[Email protected] ~]$ Mkdir/home/
$ ls-l/* View file Permissions */Each line format means: File types and permissions such as:Explain:Soft connect: Similar to a shortcut under WindowsRead permissions: Cat file_nameWrite permission: gedit file_nameExecute Permissions: Binary program
1. Copying folders from other machinesFormat: Scp-r folder name User name @ machine Name:/pathExample: Scp-r search [Email protected]:/home/work/2. See which program is using a specific portFormat: Netstat-nap | grep Port numberExample: Netstat-nap |
Crontab in Linux is a tool for easy scheduled tasks. such as timed run script processing and so on. The crontab file contains a series of jobs and instructions sent to the cron daemon. Each user can have their own crontab file, while the operating
Linux under FFmpeg add? x265Install FFmpeg on Linux to support H265 encoder follow these steps:1, installation Mercurial;2, install CMake 2.8.8 or later;3, Yasm 1.2.0 and above version;4. Download the libx265 repository and build as per the
crontab command:Crontab-l: Show Scheduled Tasks listCRONTAB-E: Editing a timed taskCrontab-r: Delete all Scheduled Tasks basic format : * * * * * COMMAND time-of-day weekly command 1th List 1~59 minutes per minute with * or */1 for the
File Archive Compression:Compress, unzip commandCompact format: GZ, bz2, XZ, zip, ZCompression algorithm: Different algorithm, compression ratio will also be differentCompress:filename. ZUncompressgz:gzip. GZGzip/path/to/somefile: The original file
Disable and enable ping on Linux servers
Modify/proc/sys/net/ipv4/icmp_echo_ignore_all to 1. Disable ping from 0.
Sysctl-w net. ipv4.icmp _ echo_ignore_all = 1.
Another method is iptables-based ping.
Iptables-a input-p icmp -- icmp-type 8-s 0
Linux Startup Manager-GRUB
[What is GRUB]Gnu grub ("GRUB" for short) is a startup Bootstrap program from the GNU project. GRUB is the implementation of multi-boot specifications. It allows you to have multiple operating systems in your computer and
Linux wildcard and regular expression + notepad ++
Wildcard(Bash Operation)In the bash operating environment, there is also a very useful wildcard function, that is, the wildcard (wildcard )! It is easier to process data with bash!
Common wildcard
Detailed steps for quick installation of Soft RAID on Linux
Physical Environment: Virtual Machine CentOS6.4Configuration: 8 GB memory, 2x2 core cpu, 3 virtual hard disks (sda, sdb, sdc, sdb, and sdc are identical) in the actual production
Build LNMP in Ubuntu 14.04
During LNMP setup in Ubuntu 14.04, the combination of LNMP (Linux-Nginx-MySQL-PHP) software can become a free, efficient, and scalable website service system.1. Procedure
1. Install Nginx
sudo apt-get install updatesudo
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