There are several search file commands under Linux: Find, Whereis, which, and locate.Which: View the location of the executable file Whereis: Viewing the location of a file Locate: Viewing files with a database Find: Actual search drive QueryWhere
Tar-zcvf/data/www.tar.gz data/wwwTAR-ZCVF the directory to be packaged when the file name full path is generated after packagingCompression:Compresses the current folder Zip-r./xahot.zip./*-R means recursionZip [parameters] [file name after
Linux under Tcpwraper access control detailed1.tcpwraper Concept: Unlike iptables Firewall network access control, Iptables can do all the access control for TCP/IP and work in the kernel, and tcpwraper only a subset of services with TCP protocol
Linux has two firewall mechanisms, one is selinux and the other is netfilter. SELinux This mechanism is too restrictive, the configuration is particularly cumbersome, so very few people to apply it, we generally have to turn selinux off, so as not
Shutdown: [parameter] [TIME]-H: Shutdown-R: Restart-C: Cancel last shutdown or restart[[email protected] ~]# shutdown-h now # #马上重启 [[email protected] ~]# shutdown- h 20:30 # #定时20:30 offInit: System Run Level0: Turn off the machine1: Single
01. Change the Directory
CD/Return root directory
CD ~ Return to User root directory
CD-returns to the last operation directory, equivalent to the CD $OLDPWD
02. View the Working directory
Pwd
03. Create a Directory
mkdir
echo commandFunction: Display textSyntax: Echo [-nee][string]Description: Echo will send the input string to standard output. The output strings are separated by white space characters, and a newline number is added at the end.Double quotes can only
12th Linux Service Management12.1Linux Service Management-Service Classification--linux service----RPM Package Default installed service ———— standalone service ———— based on xinetd service----Source Package Installation Services-starting at
Linux configuration Yum SourceFirst, modify the Yum configuration file/etc/yum.repos.d/xxx.repo1. Enter the Yum configuration file directory# CD/ETC/YUM.REPOS.D2, delete all the original files# RM-RF *3. Create a new Yum configuration file# VI
Set the vim character set, in order to determine whether Vim is not a character set problem, can be used after vim file: set Encoding=utf8 see if it can be displayed properly. The ultimate solution to vim garbled is to change the environment
1. Introduction to the signalThere is no time in the Linux system to generate a signal. The signal is also called software interruption on Linux,used to notify the process that an asynchronous event has occurred. At the software level is a
I. Status of the process:1. in the operating system:A process is a dynamic entity, so he is alive. From creation to extinction, is the entire life cycle of a process. During this cycle, the process may go through a variety of different states. In
Build a linux server virtual machine connected to the Internet using NAT, natlinux
From the very beginning, I was very entangled in the process of building a centos server.
Because I am not in O & M, but I still have to study Linux for
In Linux, how does one use gThumb to adjust the image size in batches,How to resize images in batches using gThumb in Linux
Guide
If your work involves image editing and processing, you will certainly experience batch resizing of
Tomcat 8 supports APR
1. openssl must be 1.0.2
Pay special attention to one problem. Do not delete the openssl of the Local Machine. Otherwise, ssh will not be able to log on. More serious services depend on openssl.
2. apr, apr-util, apr-util
3.
Problems and Solutions for deploying. net MVC on Linux
Over the past few days, I have been engaged in the deployment of. net mvc in linux. I have encountered many problems. Fortunately, some friends have helped me solve the problem!
Environment:
Install and configure the FTP server in CentOSInstall vsftpd on CentOS
yum install vsftpdStart/restart/Close the vsftpd Server
CentOS7:
Start:service vsftpd start
Stop:service vsftpd stop
Restart:service vsftpd restart
You can useservice vsftpd
Build and use Git server GitLab
The Git servers are famous for gitosis and gitolite. The management and use of these two servers are a little complicated and there is no web page, while gitlab is a tool similar to github, github cannot create a
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