# 服务器相关

## 安装Python库

先安装pip

```shell
wget https://bootstrap.pypa.io/pip/3.6/get-pip.py
python get-pip.py  
```

## 用作代理

[使用tinyproxy进行ip代理 - Masako - 博客园 (cnblogs.com)](https://www.cnblogs.com/masako/p/11459496.html)

[centos8 tinyproxy 安装方法 (make) - songw](https://songw.top/archives/288.html)

[(90条消息) 解决阿里云ECS服务器 git clone 速度慢\_zwkkkk1的博客-CSDN博客](https://blog.csdn.net/zwkkkk1/article/details/94476963)

## 常用命令

任务管理器，查看进程

```shell
ps aux
```

删除文件夹

```shell
rm -rf tinyproxy/
```

## 安装Git

[(90条消息) 阿里云服务器安装git详细步骤\_种个月亮的博客-CSDN博客\_阿里云 安装git](https://blog.csdn.net/H_1512826122/article/details/105576788)

## 端口占用

查看进程编号，并kill

```shell
netstat -anp |grep 8089
kill -9 60435
```

## 相关开发工作

### 部署Redis

[详细见](https://euclid-jie.gitbook.io/euclid_jie_s_book/shu-ju-ku-shuo-ming/redis-shu-ju-ku)

### 使用Flask部署API和简单的服务

[详细见](https://github.com/Euclid-Jie/AliyunRemoteProject)
