中秋节,购买了腾讯的网盘,配置如下:
运算组件: | 2核CPU、4GB内存 (通用型-2核4G-60G-1000G) |
---|---|
系统盘: | 60GB SSD云硬盘 (通用型-2核4G-60G-1000G) |
流量包: | 1000GB/月流量包 (通用型-2核4G-60G-1000G) |
地域: | 北京 |
镜像: | Ubuntu 18.04.1 LTS |
运行后只显示
lighthouse@VM-8-14-ubuntu:~$
没有图形界面,
lighthouse@VM-8-14-ubuntu:~$ df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 1.7G 0 1.7G 0% /dev
tmpfs 1.7G 24K 1.7G 1% /dev/shm
tmpfs 1.7G 6.7M 1.7G 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 1.7G 0 1.7G 0% /sys/fs/cgroup
/dev/vda1 59G 8.8G 48G 16% /
/dev/loop0 47M 47M 0 100% /snap/snapd/16292
/dev/loop1 56M 56M 0 100% /snap/core18/2560
/dev/loop2 68M 68M 0 100% /snap/jupyter/6
tmpfs 344M 0 344M 0% /run/user/1000
lighthouse@VM-8-14-ubuntu:~$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 85
model name : Intel(R) Xeon(R) Platinum 8255C CPU @ 2.50GHz
stepping : 5
microcode : 0x1
cpu MHz : 2494.140
cache size : 36608 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
lighthouse@VM-8-14-ubuntu:~$ cat /proc/meminfo
MemTotal: 3514764 kB
MemFree: 146664 kB
MemAvailable: 2912372 kB
Buffers: 280204 kB
Cached: 2528036 kB
SwapCached: 0 kB
Active: 1829104 kB
Inactive: 1195340 kB
通过使用putty软件密码登录,SSH连接方式。
通过webshell上传和下载的文件大小有限制,大于10MBYTE的文件无法上传和下载。
windows下可通过WINSCP上传到LINUX轻量级应用服务器上,这种方法对文件大小没有限制。
参见Windows 系统通过 WinSCP 上传文件到 Linux 轻量应用服务器
最后会询问你是否装vscode,由于服务器没有图形界面,一般选择不安装。
该官网上安装anaconda的速度会快很多。
$ wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-5.0.1-Linux-x86_64.sh
$ bash Anaconda3-5.0.1-Linux-x86_64.sh
根据这个文档,在腾讯云UTUNTU18.04上安装ANACONDA后,启动jupyter notebook后,没有图形界面出现。仅仅显示:
root@VM-8-14-ubuntu:/root/.jupyter# jupyter notebook
[I 10:36:17.675 NotebookApp] Writing notebook server cookie secret to /home/lighthouse/.local/share/jupyter/runtime/notebook_cookie_secret
[W 10:36:17.840 NotebookApp] WARNING: The notebook server is listening on all IP addresses and not using encryption. This is not recommended.
[I 10:36:17.881 NotebookApp] JupyterLab extension loaded from /home/lighthouse/anaconda3/lib/python3.7/site-packages/jupyterlab
[I 10:36:17.881 NotebookApp] JupyterLab application directory is /home/lighthouse/anaconda3/share/jupyter/lab
[I 10:36:17.885 NotebookApp] Serving notebooks from local directory: /root/.jupyter
[I 10:36:17.885 NotebookApp] The Jupyter Notebook is running at:
[I 10:36:17.885 NotebookApp] http://(VM-8-14-ubuntu or 127.0.0.1):8888/
[I 10:36:17.886 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).