October 16, 2016 for a new company, just into the company will be a platform test environment deployment, due to the relatively few Linux used before, only a few simple kill process, restart Tomcat, check logs and other simple operation commands, really want to deploy the environment on the Linux server, Really hate oneself usually this aspect knowledge accumulates too little! Fortunately, the company has the relevant deployment documentation and deployment video tutorials, after two days of learning and operation, finally set up the platform test environment. Here are some of the commands encountered during the environment deployment process and make a record.
1. Switch to administrator using the sudo su command
2. This use of the terminal simulation software is XSHELL5, the server needs to install Openssh-server to connect to the remote Linux host via SSH, installation instructions: Apt-get install Openssh-server. (For Linux hosts, if you want to upload files, it is necessary to install an FTP class client, as long as there is an SSH client can do.) )
3.Xshell upload package using the RZ command (if you need to install Apt-get installation lrzsz), download is sz+ file name
4. Instruction Apt-get update updates to the software source
5. Check if you can connect to the network, use the instruction ping+ address such as Ping www.baidu.com
6. Copy the file directive cp-rf the path to the specified file (* representing all)
7. Unzip the file directive TAR-ZXVF file name, such as: TAR-ZXVF swftools.tar.gz
8. New directory Directive mkdir specific path + file name, such as Mkdir/home/test
9. Install VIM command apt-get installation vim
10. Edit the file Directive vi file name, such as: VI config.sh Command I enter edit, edit complete press ESC and then command: Wq means save exit,: q! exit directly
11. Instruction CD Switch path
12. Instruction Ps-a|grep process name, view process, e.g., can see process indicates process is running
The Linux instructions used for this environment deployment are basically the same.
Linux deployment Education Cloud Platform Test Environment summary