FHS File System
/bin: Executable program storage, binary files/sbin: Commands that only administrators can executeThe program the operating system needs to run itself when it starts/sbin,/binOther
When I first started to learn git, I never understood why to have git add this command, feel git submitted to troubleI need
git add xxx.mdgit commit-m "Add xxx"Git push Origin MasterTo submit a file to the far end, I miss the SVN I have been using,
User login system, in order to enable the system to identify their own must enter the user name and password after the system verified that the system can be entered.
DescriptionDuring system installation, you can create two kinds of accounts:
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
tar [-cxtzjvfppn] files and directories ....Parameters:-C: Create a compressed file parameter instruction (create meaning);-x: Unlock a parameter command for a compressed file!-T: View the files inside the Tarfile!In particular, in the release of
Today, my colleague asked me to install Ruby and rails on a test machine, and there was a compilation error in installing ruby-1.8.7. as follows:
Ossl_pkey_ec.c:815:error: ' ec_group_new_curve_gf2m ' undeclared (in the This function)Ossl_pkey_ec.c:8
DenyHosts is a security tool, written in Python, to monitor server access logs to prevent brute force attacks on virtual private servers. The project works by prohibiting the IP address of a failed login attempt exceeding a certain number of times.
"Lnmp One-click installation package" before adding a virtual Host account is saved in the database, so you must install PHP and the database to normal use, is now changed to Puredb mode (not dependent on PHP and MySQL), the user information stored
It's a good habit that experienced Linux system engineers like to set up Bash's histsize/histfilesize so that they can log more history commands for later review, but one small problem is that the large amount of information that history records is
Like finding a keyword in all of the PHP files underneath the current directory.
The code is as follows
Copy Code
Find./-name "*.php" | xargs grep ' keyword '
If you need to find something that contains special
chgrp: Changes the user group to which the file belongs. chown: Change the owner of the file. chmod: Changes the properties of the file, suid, and so on. To change the owning user group, CHGRP The user group that changes the file is simple, just
1) effective after rebootOpen: Chkconfig iptables onClose: Chkconfig iptables off2) immediate effect, restart after failureOpen: Service iptables startOFF: Service iptables stopIt should be explained that for other services under Linux, you can use
User Configuration file
Files in the/etc/directory, only the root user has permission to modify. The global profile of the application software is not normally available to the normal user, and you can modify the user profile if you want to
The code is as follows
Copy Code
wget http://memcached.googlecode.com/files/memcached-1.4.10.tar.gzTAR-ZXVF memcached-1.4.10.tar.gzCD memcached-1.x.x./configure #到这一步报错了如下:#configure: Error:libevent is required. You can get it from
Normal export data using the mysqldump command
The code is as follows
Copy Code
Mysqldump-u root-p youdatabase tabename1 tablename2 > db.sql;
Export tablename1 and Tablename2 tables in Db.sql.
The
1. Install a number of dependencies, the official note gives the required dependency.
The code is as follows:sudo apt-get update
sudo apt-get install git git-core pkg-config make autoconf \Libtool g++ tcl unzip Libyajl-dev libyajl1 qt4-qmake
Mouseconfig is the mouse setting program. You can set relevant parameters automatically, or you can set the mouse by using the interactive mode provided. Mouseconfig is a command only available in Red Hat Linux.SyntaxMouseconfig [-- back] [--
The whois command will query and display the user information of the specified account, because it is found in the WHOIS database of Network Solutions, so the account name must be registered above for retrieval, the name is
Minicom is a very popular PPP dialing line program.SyntaxMinicom [-8 lmmoti] [-a ] [-c ] [-C ] [-d ][-P ] [-S ] [configuration file]Parameter description: -Do not modify any 8-bit characters in 8. -A sets terminal attributes. -C sets the
PersistenceUsing a terminal to log on to the remote development machine coding should be the work of most programmers year after year, but the tragedy is that ghost will cut off your instant chat with the beauty test, fortunately, ssh provides the
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