1. Purchase a server
I bought Tencent Cloud Lightweight Server, the default system is CentOS 7.6, and I reinstalled it as ubuntu18.
2. Build ubuntu visual interface (not necessary)
Reference link: Build Ubuntu visual interface
-
I failed when configuring VNC
: Solution: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied
because it is not root login, no permission
Summary:- root login: enter
su
and enter密码
- Switch back to normal user:
su - 用户名
- root login: enter
-
Later, when using VNC Viewer to connect, it also failed, and the connection timed out:
because the server has a firewall, just add the corresponding port manually.
Because it is the No. 1 desktop, the port number is 5901
, of course, you can also enter the command to view: netstat -lp|grep -i vnc
3. After the connection is successful, you encounter a gray screen problem:
Solution: VNC Viewer connection gray screen problem
Killing the port didn't kill it (good guys can make mistakes in every step):
solution: VNC - Can't find file *.pid, kill the Xvnc process manually
Finally :
3. Install the pagoda panel
Reference link: Tencent Cloud Host Ubuntu Server Environment Setup and Pagoda Panel Installation
I started to look at it directly from the fourth step, because you can enter commands in orcaterm. If the
direct access fails, the port number may not be opened, so let go of the port; success!
4. Install Anaconda on the Linux server
Reference link: Tencent Cloud Server Notes – Connecting to the server, installing Anaconda
I read it from Chapter 3, because the pagoda is installed, you can upload files directly:
An error occurred conda: command not found
;
solution: [Linux] Conda: command not found after installing Anaconda
5. Windows uploads files to the cloud server
-
Reference link: Windows system uploads files to Linux cloud server through WinSCP.
I encountered a Permission denied problem when uploading:
I tried to modify the folder permissions and still failed, so I gave up. -
Reference link 2: Windows system uploads files to the lightweight application server through FTP.
I installed FileZilla locally; on the server side, I used the FTP service in the Pagoda panel to directly install the corresponding software:
a. Encounter: The server sent back an unroutable address , the problem of using the server address instead:
Solution: FileZilla - The server sent back a non-routable address, use the server address instead
but this will report a 500 error, so I changed back to the server and sent back a non-routable address, use the server address Instead, ( note that the address must be written correctly ) try multiple times.