0. Install FTP the pre-condition is to turn off SELinux# Vi/etc/selinux/configModify selinux= "disabled" to restart the server. If it is the same, skip this step.1. you can see if VSFTP is installed first# Rpm-qa | grep vsftpdThe representative is
I. The Concept of NFS650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M01/9E/9C/wKiom1mTC5zA5NPoAAq8Rymmsyk220.png "title=" Screenshot from 2017-08-15 22-55-46.png "alt=" Wkiom1mtc5za5npoaaq8rymmsyk220.png "/>Two. Install the NFS boot
Linux backup and compression commands, brief introduction, detailed BaiduTar backup files (tar is used to create, restore backup files of the utility program, can be added, to unlock files within the backup file)Tar "Options" "File"-A add tar file
string comparison:Str01 = Str02 Both compare the same result to TrueStr01! = Str02 The difference between the two results is true-N str NOT NULL for true-Z STR result is null trueArithmetic comparison:A1-eq A2 equalsA1-ne A2 Not equal toA1-GT A2
1: Confirm that the JDK is installed2: Upload the Linux tomcat compression package to/usr/java3. UnzipTAR-ZXVF apache-tomcat-7.0.30.tar.gz4: Configure Environment variables4.1 Vim/etc/profile4.2 Add on last sideExport
Install Java,sql and Tomcat under Linux:1. Java JDK Configuration:See if the Jdk:rpm-qa|grep JDK is installedInstall command: RPM-IVH jdk-7u15-linux-x64.rpmView installed version: Java-versionEdit ProfileEdit command: Vi/etc/profileTo add
1, Java official website Download the relevant JDK package2, configure the system environment variables, edit the/etc/profile file, add information at the end of the file:Export java_home=/usr/jdk1.8.0_101Export Jre_home= $JAVA _home/jreExport
Ethernet ConnectionSuch as.Practice:1. View NIC hardware information via LSPCI command2, view network card information through Ifconfig eth03. Enable the NIC via Ifup eth0Configure Network InformationPractice:Network-related configuration
Linux Server dual network card or multi-network card to execute the next routing script to refresh the routing table, otherwise it will cause the network card ping does not pass;Note: You also need to perform route.sh after restarting the
Scenario 1:Ubuntu installs GNOME3, there is an easy way to install the Ubuntu gnome distribution directly. The following is the original 16.04.02LTS based on the installation of the GNOME3 desktop environment. sudo apt-get install gnome-shellsudo
Linux Exercise review1.1 Create a compressed package/etc, I want to have a date/time on the zip . [Email protected] ~]# tar zcf/tmp/etc-$ (date+%f). tar.gz/etc[Email protected] ~]# LS-L/tmp-rw-r--r--. 1 root root 9731838 3 19:15
Shutdown, restart, logoff in Linux1.1 Turn off the machineShutdown shut down the machineExpected hope, expectShutdown 1 A minute, turn it off.Cancel CancellationShutdown-h now shut down immediately.Shutdown-h shutdown after 100 minutesShutdown-h
Pre-condition: Know the normal user name to toggle (set to test)1. Current status is root user, switch to test userEnter Su-test, enter, and then input the test user's password2. Current status is test user, switch to root userSuOrSu-User name root
Use of regular expressions1.1 Creating an environmentCat >q.txtOldboy OldboyHellooldboy HellooldboyAwkoldboy AwkoldboySedoldboy Sedoldboyoldboyedu oldboyeduEofTake out only the Oldboy linegrep "\boldboy\b" Q.txtInstance 1-1 Reverse Reference[Email
0x00. What is a threadis the smallest unit that runs independently of the computer and consumes very little system resources at run time. Threads can be thought of as the basic unit of CPU time allocated by the operating system. A process can have
Development Tools ~ Nuget configuration local source, development tool nuget Configuration
We have deployed our nuget server locally. Sometimes we need to use the nuget restore command to restore the package. in config, read your configuration
Tcp_wrapper filter,1.1 Introduction to wrap
Wrap works at the library level between the kernel space and the application. When the kernel receives the data packet and is ready to be transmitted to the user space, it passes through the database layer.
The input scanf and gets of the string, and the character string scanfgets# Include # include # define N 100int main (int argc, const char * argv []) {char str1 [N]; char str2 [N]; ① scanf ("% s ", str1); ② gets (str1); printf ("% s \ n", str1);
Linux shell basic programming 2, linuxshell BASIC Programming
While Loop
Syntax 1:
While [condition]
Do
Command Sequence
Done
Syntax 2:
While read-r line
Do
Command Sequence
Done
(Remember that while and left brackets must have spaces)
Example
1
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