无论是用于个人项目、网站托管还是企业应用,第一步都是搭建一个坚实、高效、安全的基础环境。裸机系统虽好,但就像一台没有安装软件的电脑,它的潜力远未被发掘。
以下这份清单涵盖了从系统管理、安全防护到性能监控的必备工具,能让您的服务器管理工作事半功倍。
sudo apt install update
openssh-server 保证可以通过ssh连接到服务器,vim方便修改服务器的配置文件
sudo apt install vim wget curl openssh-server git net-tools iotop ncdu htop -y
sudo vim /etc/gdm3/custom.conf
将WaylandEnable=false 前的注释取消
注:以下脚本自动换源
wget -O - https://gist.githubusercontent.com/xx025/3c528b526f0bf68beb1b2fda36566cb9/raw/ | sudo bash
/opt/miniconda3/bin/conda init bash && source ~/.bashrc
curl -fsSL https://tailscale.com/install.sh | sh
sudo tailscale up
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
给当前用户权限
sudo usermod -aG docker $USER
主要用于保存系统快照,方便系统崩溃后迅速恢复。
sudo apt install timeshif
本文作者:James
本文链接:
版权声明:本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!