How connect to the server
how to add new users
how to upload files via FTP
how to install Node
Today, Ali clouds parted and a new server instance, configure how to get our hands after recording under the new server.
Ali cloud the new server console, select the server to see running instances, IP for the public is the public network connection address .
How connect to the server
Mounted on Mac ZenTermLite, click + open, easily take session name, the host address is an address of the public network (the figure corresponding public address).
With the user name root
, password and click authentication, enter the password in the application instance when created.
Click OK, the connection will automatically connect to the server (as root).
How to add new users
First check the system's users
> cat /etc/passwd
We created a user uftp, used for uploading files. You will be asked to enter a password.
> adduser uftp
This line command will automatically create user directories.
delete users
> userdel uftp
How to upload files via FTP
Ftp server need to install the service, installation vsftp.
> apt install vsftpd
Configuration vsftp.
> vi /etc/vsftp.conf
In # Uncomment this to enable any form of FTP write command.
place, add the following statement
While creating /etc/vsftpd.user_list
> touch /etc/vsftpd.user_list
> vi /etc/vsftpd.user_list
Add users, you can restart the service.
> sudo /etc/init.d/vsftpd start # 启动vsftp服务
> sudo /etc/init.d/vsftpd stop # 停止vsftp服务
> sudo /etc/init.d/vsftpd restart # 重启vsftp服务
First download a FIleZilla, this is a FTP client. Entry
You can list the directory, then you can begin to upload and download files.
How to install Node
Linux installation above choose to compile from the source file, open http://nodejs.cn/download/ , select the installation package.
Find node-v10.16.0.tar.gz
copy the link address after
wget to download to your machine, tar to extract the files
> wget https://npm.taobao.org/mirrors/node/v10.16.0/node-v10.16.0.tar.gz
> tar -zxvf node-v10.16.0.tar.gz
Executed as the root user
> ./configure
> make && make install
Quietly waiting. . . Compile and install the entire process will be relatively long. . .
After waiting executed, on the command line input
> node -v
v10.16.0
Show Node version, that is, the installation was successful
No public attention sealing talk technology, gives technical information, your support is my greatest motivation