Linux add FTP Users and set permissionsTo add an FTP user to Linux and set the appropriate permissions, proceed as follows:1, Environment: FTP for VSFTP. The user named Test is restricted. Restricted path is/home/test2, build User: Under root User:
1. Press any key in the boot system for 3 seconds to enter the Grub menu option650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/82/77/wKiom1dWOyXCDS2-AAAhzY5uIpE236.png "title=" 1.png " Width= "height=" 281 "border=" 0 "hspace=" 0 "vspace="
For i in ' SEQ 1 $ (cat/proc/cpuinfo |grep "Physical id" |wc-l) '; Do DD If=/dev/zero Of=/dev/null & DoneDescriptionCat/proc/cpuinfo |grep "Physical ID" | Wc-l can get the number of CPUs, which we represent as N.SEQ 1 n is used to generate numbers
Linux CD The order can be said to beLinuxThe most basic command statement in the Linux operation is very high frequency, the other command statements to operate, are based on the use ofCDon the command. Because this article summarizes the CD command;
#!/bin/bash#script monitor.shusermonitor () { loginuser= ' Uptime |awk ' {print $6} ' if [ $LoginUser -ge 2 ] then critical= "The current system has too many logins, the number is: $LoginUser, please confirm the
Envy Windows under the SECURECRT session copy function, has been looking for Linux under similar software, but SSH itself to support this feature.Special thanks to inspectable students for their email sharing.Detailed method?
1234
Firewall commandService Iptables stop--stopService iptables Start--StartFile/etc/sysconfig/ iptables# Firewall configuration written by System-config-firewall# Manual Customization of this file was not recommended.*filter:input accept [0:0]:forward
First, the steps to write a Linux driver1. Build Linux Drive skeleton: that is, load and unload Linux drivers. In the Linux driver, you need to provide two functions to handle the operation of the driver initialization and exit separately. These two
CHGRP Modifying the user group to which the file belongsChown modifying file ownersCHOMD permissions to modify filesThe permissions for a file are defined primarily for three types of objects:Owner: Master, uGroup: Genus, GOther: Others, OEach file
Man: to provide online helpsuch as: #man ls
ls: Show directory contents-a displays all files in the current directory-L Show Permissions/owner/size/date of all files-S shows the space used for each fileExample: Ls-la-s-S | More
mkdir: Creating
1. IntroductionYum:yellowdog Update modifier,rpm's front-end program, used to resolve package dependencies, can locate packages among multiple libraries, up2date alternative tools.Yum's basic workgroup needs to depend on the Yum repository: Yum
Four processes and task management commands4.1, PSPS is the most basic and very powerful process to view commands. Basic usage:PS [Options]Common options are-E Show All processes-F Full format-L Long formatPs-efThis command displays information
1 Representation of file permissions(1) Letter notationAll files in Linux (normal files, directory files, character special files, block special files, pipelines or FIFO, symbolic links, sockets) have 9 permissions, as shown in:-rw-rw-r--is the
To Create a partition step: (7 steps):
1, FDISK/DEV/SDB//Select the hard disk to be partitioned
2, p//view current partition table or N//create new partition
3, p//create primary partition or E//create extended
Configure TFTP server and Ubuntu tutftp Server
TFTP (Trivial File Transfer Protocol, simple File Transfer Protocol) is a Protocol used in the TCP/IP Protocol family to transmit simple files between the client and the server, provides File Transfer
Linux virtual network model and use qemu-kvm to create isolation Model
The first isolation model:
Both Guest1 and Guest2 are virtual machines.
First, you need to know that the virtual machine's network adapter in Linux contains the first half and
Solve an error when Jenkins connects to the Git server in CentOS6
When GitLab + Jenkins automatic integration is studied in CentOS6 todayFailed to connect to repository: Command "git config -- local credential. helper store -- file =/tmp/git295601_26
Build Samba in CentOS7.2
Build a simple Samba tutorial under CentOS7.2.
1. Download the samba source code and upload it to CentOSTake samba-4.2.2 as an Example2. Unzip to the current folder tar xvf samba-4.2.2.tar.gz3. Compile and install the SDK by
Tomcat configuration file server. xml
Server. xml configuration file in the Tomcat directory
Server. xml is called the main configuration file or global configuration file.
It achieves the following two goals:
1. initialize Tomcat components.
2.
Nginx configuration polling Service
We usually use the polling service when applying Nginx as a proxy.
# Set the polling name
Upstream bkjia {
Server 127.0.0.1: 8080 # apache service on the local machine
}
Server {Listen 80;Server_name test.com;Root/
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