First check to see if the/etc/httpd/conf/extra/httpd-vhosts.conf exists, if you do not need to create one, the contents are as follows:#绑定的主域ServerName centos7.xxx.com#绑定的子域名Serveralias
1, CENTOS6, CENTOS7 after the installation of the corresponding file comparison
Centos6
Centos7
Note
Configuration file
/etc/httpd/conf/httpd.conf/etc/httpd/conf.d/*.conf
Because I have also encountered this situation, just see this article, first reproduced here. It's pretty useful, really.First play through the backdoor Trojan as follows:(Of course, this is after the calm down after the slowly search out, at that
CD Switch Directory command1. command formatCD [option] [ directory name ]2. Command functionSwitch working directory3. Common examplesExample 1:CD ~Description:~ default is the home directory of the root, if the ~ after the user name, you can enter
A:Ls-la The information enumerated contains 7 fields in tab: -rwxrwxrwx 1 gaoqin gaoqin 93068 Jul 22 0 7:39 jquery-1.9.0.min.js
First field: The first character indicates the file type
-: ordinary documents;
d: catalog
Transfer from http://www.cnblogs.com/end/archive/2012/06/05/2536835.htmlLinux Delete Folder commandLinux Delete directory is very simple, many people are still accustomed to use rmdir, but once the directory is not empty, it fell into deep distress,
In many real-world projects, the application will continue to write logs, and if there are no log libraries in the program code that support automatic sharding, such as by filesize or date cutting, the log files will grow to the G level very quickly.
Http://blog.chinaunix.net/uid-7553302-id-183648.html1 Shell's $! , $?, $$,[email protected]
$n The first parameter,$2 the second ...
$# the number of command-line parameters.
The name of the current program.
Linux Delete Folder commandLinux Delete directory is very simple, many people are still accustomed to use rmdir, but once the directory is not empty, it fell into deep distress, now use the RM-RF command.Direct RM is available, but add two
The shell determines whether the file, directory exists, or has permissions#!/bin/sh mypath= "/var/log/httpd/" myfile= "/var/log/httpd/access.log" #这里的-x parameter Judging $ Whether the MyPath exists and has enforceable permissions if [!-X '
#!/bin/sh mypath= "/var/log/httpd/" myfile= "/var/log/httpd/access.log" #这里的-x parameter Judging $ Whether the MyPath exists and has enforceable permissions if [!-X ' $myPath]; then mkdir "$myPath" fi #这里的-D parameter to determine if
#!/bin/SHMyPath="/var/log/httpd/"MyFile="/var/log/httpd/access.log"#这里的-The x parameter determines whether the $mypath exists and has executable permissionsif[!-X"$myPath"]; Then mkdir "$myPath" fi#这里的-d parameter to determine if $mypath
案例1:简化除法判断案例2:分析apache访问日志案例3:扫描存活主机案例4:利用多线程实现ssh并发访问1 Case 1: Simplifying Division judgment1.1 QuestionsThe main requirements for writing mydiv.py scripts are as
The shell determines whether the file, directory exists, or has permissions#!/bin/SHMyPath="/var/log/httpd/"MyFile="/var/log/httpd/access.log"#这里的-The x parameter determines whether the $mypath exists and has executable permissionsif[!-X"$myPath"];
[From: Linux folder file creation, deletion-the Wind-blog Garden]1. Delete a folderRM-RF filenamede>-Delete a folder instance:Rm-rf/var/log/httpd/accessthe/var/log/httpd/access directory and all files and folders under it will be deletedTo be
OpenCart is a free and open source web based ECommerce online store management system for a better shopping cart solution. It is a foundation for building an online store allowing the shop owners to make business to their products or shop with The
Using Lsof to find open filesLearn more about the system by looking at the open file. Knowing which files the application opens or which application opens a particular file, as a system administrator, will allow you to make better decisions. For
The shell determines whether the file exists in 1. The shell determines whether the file, directory exists, or has permissions2. #!/bin/sh3.4. Mypath= "/var/log/httpd/"5. myfile= "/var/log/httpd/access.log"6.7. # the-x parameter here determines
Delete files and folders in Linux we can use RM directly to delete, delete files or folders completely we can use the Shred command to complete, below I give you introduction.
Linux Delete Folder command
Linux Delete directory is very simple, many
Related content: HTTP concept, version, working mode, Web resource, open source implementation (dynamic, static resource request and response), httpd features, httpd function, httpd program EnvironmentHTTP protocol:Hyper-text Transfer Protocol,
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.