In the development process you want to use a Linux server as a file server, you can obtain file information by ip+ filename, such as http://localhost/banner/a.jpg. The setup process is as follows1. Installing Apache2sudo Install apache22. Modify the
/bin:bin is the abbreviation for binary, which is the most commonly used command in this directory./boot: This directory contains some of the core files used when starting Linux, including some connection files and image files./dev:dev is the
Since the project project is using a Linux server, more Linux commands are used to record the commands commonly used in CentOS.1. Three modes of VIM2, decompression related3. User-related4. File related5. Various view commands1. Three modes of VIMVI
Want to add some task plan in root crontab, want to run command with WWW user, and redirect output to a log file named at that time, roughly as follows/usr/bin/sudo-u www/usr/local/php/bin/php/www/open/www.php &>/var/log/xxx_cron_log/www_$ (date + "%
Command: Cut [options] File--Sort by file size shows the first 100 rows showing the last five columnsLl-sh|head-n 100|cut-d '-F 5-First, the basic grammarCut is a selection command that, in the unit of behavior, divides the rows into fields with the
1 basic data unit for Cut command processingAs with most text processing tools, cut is also based on the behavior of the basic data unit.2 use of the Cut commandGu Mings, cut is to cut out the rows to meet the conditions of the data, the return is
1. The tomcat server starts and views the command to start the log for the first timeIn.. /bin folder, enter the ./startup.sh;tail-f. /logs/catalina. out2, need to restart the server whenIn.. /bin directory ./shutdown.sh When the Tomcat service
Linux vmstat CommandsThe Vmstat command is the most common Linux/unix monitoring tool that can represent the state values of a server at a given time interval , including the server's CPU usage, memory usage, virtual memory exchange situation , IO
Create a/sbin/nologin user[[email protected] ~]# useradd-s/sbin/nologin redis[[email protected] ~]# grep redis/etc/passwdredis:x:501:501::/home/ Redis:/sbin/nologin[[email protected] ~]# su redis-c "echo SS" This account was currently not available.1
As a beginner, just contact the regular expression, it must be confused, but it doesn't matter, use examples to illustrate.==*==*==*==*==*==*==*==*==*==*==*==*==*==*==*==*==*==*==*==*==*==* ==*==*First, take a look at what the regular expression
File:drwxr-xr-x. 2 root root 60 August 5 21:12 VfioThe first character represents the type of file.File types are:-: Normal file (f)D: Catalog fileB: Block device files (blocks)C: Character device file (character)L: Symbolic Link files (sysbolic
process : An executable is a static entity that is stored on a disk device by code and data that is organized in a format, while a process is dynamically run by the code that can be dispatched. In a Linux system, each process has its own life cycle.
A large collection of linux compression and decompression tools, linux compression and decompression
There are many compression, decompression and archiving tools. Today, we will sort out some of the most commonly used tools.
Compress gzip bzip2
Common vim commands,
1. Multi-line comment:1. first Press esc to enter the command line mode, press Ctrl + v to enter the column (also called block) mode; 2. use the up/down key at the beginning of the row to select multiple lines to be
Centos6.9 (Linux) Installation of VMware tools tutorial, centos6.9vmware
VMware tools is a virtual hardware driver for virtual machines. It allows you to seamlessly move the mouse out, share the clipboard, and share folders. Many Linux beginners do
Build an embedded development environment-install the cross-compilation tool chain and embedded compilation tools
If the development environment is Linux, the cross-compilation tool chain is required. The installation process is as follows:
cd
You do not need to enter a password for Rsync transmission.
1. Background
1) one server: VM3 (IP: 3.9.8.151)
2) A client: VM2 (IP: 3.9.8.157)
3) The server and client can ping each other.
4) rsync has been installed on both the server and
Centos7 users, group and file permission management, and centos7 permission management
If no user is created during centos7 installation, only the ROOT user is used by default. This user is an account with the highest permissions and can do anything,
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