There are many Linux lookup commands, the most complex and commonly used is the find command.
Which view the location of the executable fileWhereis View the location of the fileLocate view file location with databaseFind actual search hard disk
[root@node61 ~] #cat/proc/sys/net/netfilter/nf_conntrack_max24528
Because the default parameter setting for Nf_conntrack_max is relatively small, adjust it appropriately.Run the following code
Cat >>/etc/sysctl.confNet.nf_conntrack_max =
Installation
Rsync-3.1.0.tar.gz#tar ZXVF rsync-3.1.0.tar.gz#cd rsync-3.1.0#./configure--prefix=/home/work/rsync#make#make Install
The configuration of Rsync server;
Environment: 192.168.11.11 for production machine; 192.168.11.12 for backup
1. Background information
In the case where the host host can surf the Internet, the operating system in the virtual machine is typically communicated with the host host by Nat mode.
Virtual machines cannot be on the Internet by default. But with
SVN, if we submit a file with permission 755 under Linux, there is a svn:excuteable in the SVN attribute.Only in the local chmod 644 filename.php, can not be caused by modification.You can remove this executable property from the SVN client in
Command format:wget [Options] [URL]
Startup class ParametersThis kind of parameter mainly provides some basic information of software.-v,–version Displays the software version number and exits;-H,–HELP display software help
Simple Web Site Backup script
The code is as follows
Copy Code
#!/bin/bash#backup DatabaseMypw=cactieznewtime=$ (Date +%y%m%d)if [-d/var/www/backup/];thenMysqldump-u ROOT-P$MYPW DB
Suitable for using the LNMP environment to automatically back up the Web site and MySQL database and upload to ftp:
The code is as follows
Copy Code
#!/bin/bashMysql_user=rootMysql_pass=rootftp_user=ftpftp_pass=123456ftp_
1. Download the jdk-6u4-linux-i586.bin to sun.com, assuming the download to the current user directory;2. Create the software directory under/home/abin and copy the jdk-6u4-linux-i586.bin to the software directory;3. find the terminal, go
Rmp (redhat package manager) was originally a program used by the Red Hat Linux release to manage various Linux suites. It is popular because it complies with GPL rules and has powerful functions and convenience. Gradually adopted by other releases.
Eval can read a series of parameters and then execute them according to their own characteristics.SyntaxEval [parameter]Parameter description: there are unlimited numbers of parameters separated by semicolons.InstanceConnect multiple commands# Eval
The newgrp command is similar to the login command. If it is the same account and another group name, log on to the system again. To use the newgrp command to switch to a group, you must be the user of the group. Otherwise, you cannot log on to the
The actual and valid IDs of users and groups are displayed. If the two IDs are the same, only the actual IDs are displayed. If only the user name is specified, the current user ID is displayed.SyntaxId [-gGnru] [-- help] [-- version] [user
Find the nginx installation source code root directory. If not, download the new source code.Http://nginx.orgTar xvzf nginx-1.3.2.tar.gzView ngixn extremely compiled parameters/Usr/local/nginx/sbin/nginx-VGo to the nginx Source Code DirectoryCd
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