|
@ -1,10 +1,25 @@ |
|
|
# cloud-computing-course-final |
|
|
# cloud-computing-course-final |
|
|
所需云资源:一台云主机uhost |
|
|
|
|
|
|
|
|
所需云资源:一台云主机uhost |
|
|
|
|
|
ucloud: |
|
|
|
|
|
账号10195501414@stu.ecnu.edu.cn |
|
|
|
|
|
密码password1 |
|
|
|
|
|
镜像fianl |
|
|
|
|
|
|
|
|
通过install.sh安装code-server服务 |
|
|
通过install.sh安装code-server服务 |
|
|
`sh install.sh` |
|
|
`sh install.sh` |
|
|
|
|
|
|
|
|
运行code-server服务 |
|
|
运行code-server服务 |
|
|
`code-server` |
|
|
`code-server` |
|
|
|
|
|
|
|
|
更改.config/code-server/config.yaml配置文件 |
|
|
更改.config/code-server/config.yaml配置文件 |
|
|
|
|
|
|
|
|
重启code-server服务 |
|
|
重启code-server服务 |
|
|
`sudo systemctl restart code-server@$USER` |
|
|
`sudo systemctl restart code-server@$USER` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
通过http://ip:443通过网页访问 |
|
|
通过http://ip:443通过网页访问 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
在云主机上配置编程环境,比如c语言、c++就安装GCC |
|
|
|
|
|
`yum install "gcc-c++.x86_64" -y` |
|
|
|
|
|
并且在VSCODE上安装相应的模块,就能编译运行代码了 |