Su-#su-lyyExecuting this command means switching to the LYY user and re-reading the user environment-related configuration file, specifically executing the current user home directory. Bash_profile and. bashrc files, this we become full switch.Su#su
First, Iptables class workPremise: Input and output default policy is drop;1. The Web server that restricts the local host is not allowed to access in Monday; the rate of new requests cannot exceed 100 per second; The Web server contains the admin
1. View the entire fileCat mongo.sh View the contents of the script file: MONGO 172.60.0.203:27017/che001-uplatform-pplatformCat-n * *, view the contents of a file and give the number of upstream numbers, including blank linesCat-b * *, view the
Partitioning of disks in Linux installationsInstalls the version of Ctentos6.3, which uses the default file system type of EXT4.The installation of Linux must be divided into two partitions of the root partition/and swap partitions to be installed
♦ 1 Simple Introduction to LinuxLinux is like Windows is a set of OS (operating system), Windows interface Beautiful, ordinary users are easy to use, a little mouse can do a lot of things, and Linux is born for programmers, so proficient in Linux is
1, under the Windows system, many software installations need to configure environment variables, such as installing the JDK, if you do not configure environment variables, run the JAVAC command in a directory other than the software installation,
ECHO-E What this parameter e means in the Linux command.Echo–e "I'll use the" touch "command to create 3 files." What's the role of the parameter E here?The man help explanation is to allow the subsequent output to be escaped, assuming that you are
Any content in Linux is a fileHard disk file users are filesHardware Device file nameIDE HDD/dev/hd[a-d]SCSI/SATA/USB HDD/dev/sd[a-p]Optical drive/dev/cdrom//DEV/HDCFloppy/dev/fd[0-1]Printer/dev/lp[0-2]Printer USB
To create an account:Manual creation,1. Add a record to/etc/passwd2. Create a user home directory3. Set the default configuration file in the user's home directory4. Set User initial passwordCommand creation,Useradd or AddUser command creationTo
Linux System modification System time1. Set the time[[email protected] ~]# date-s "2015/11/05 15:56:00"# Date command-S modified time "2015/10/4 21:15" specified[Email protected] ~]# Hwclock# Refresh the time to the BIOSFri 12:04:36 AM CST-0.651161
Automatic partitioning, formatting, and mounting scripts
Function:Automatic detection of unpartitioned data disks, formatting and automatic mounting of new data disks
What problems are solved:One-click detection of unpartitioned data disks and the
Use SHELL to import txt files of certain formats to the database through SQL LOAD1. Preparation: in Windows, you can directly import files through sqlload. in linux, you need software related to sqlload. 2. SQL script (MID_DFDZ.ctl)
LOAD DATA INTO
Haproxy is integrated with nginx and zabbix1. Due to business requirements, some directories on the server should be exposed so that other systems can call the exposed files, however, http Services on port 80 must be provided externally. Analysis:
Linux scheduled tasksAt in windows, windows provides the task scheduling function. In the control panel- use the specified queue-f <> to read a task from a specified file instead of a standard input-t <> submit a task to be run in the form of a Time
How to view and modify PATH environment variables in linuxView PATH: echo $ PATH and add mongodb server as the column. Method 1: export PATH =/usr/local/mongodb/bin: $ PATH // After configuration, you can view the configuration result through echo $
Let's Encrypt trial
In the morning, I received an email from Let's Encrypt, saying that I have already approved the application, so I will try it out immediately. Let's Encrypt is a new digital certificate authority that eliminates the complexity of
CentOS 6.6 installation of a simple desktop environment
Software environment: CentOS 6.6.
Application scenarios:
Use the vmwarevm to install CentOS 6.6 in the minimal mode and terminal mode. This method consumes a small amount of resources. This
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