“Debian服务器初始化”的版本间的差异
跳到导航
跳到搜索
(→参考) |
(→10源) |
||
第1行: | 第1行: | ||
= os init= | = os init= | ||
− | ==10源== | + | == change sources == |
+ | ===10源=== | ||
<pre> | <pre> | ||
第13行: | 第14行: | ||
</pre> | </pre> | ||
+ | ===9 源=== | ||
+ | <pre> | ||
+ | |||
+ | echo 'deb http://mirrors.aliyun.com/debian/ stretch main non-free contrib | ||
+ | deb-src http://mirrors.aliyun.com/debian/ stretch main non-free contrib | ||
+ | deb http://mirrors.aliyun.com/debian-security stretch/updates main | ||
+ | deb-src http://mirrors.aliyun.com/debian-security stretch/updates main | ||
+ | deb http://mirrors.aliyun.com/debian/ stretch-updates main non-free contrib | ||
+ | deb-src http://mirrors.aliyun.com/debian/ stretch-updates main non-free contrib | ||
+ | deb http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib | ||
+ | deb-src http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib ' >sources.list | ||
+ | </pre> | ||
+ | |||
==常用软件== | ==常用软件== | ||
<pre> | <pre> |
2019年12月17日 (二) 07:33的版本
os init
change sources
10源
deb http://mirrors.aliyun.com/debian/ buster main non-free contrib deb-src http://mirrors.aliyun.com/debian/ buster main non-free contrib deb http://mirrors.aliyun.com/debian-security buster/updates main deb-src http://mirrors.aliyun.com/debian-security buster/updates main deb http://mirrors.aliyun.com/debian/ buster-updates main non-free contrib deb-src http://mirrors.aliyun.com/debian/ buster-updates main non-free contrib deb http://mirrors.aliyun.com/debian/ buster-backports main non-free contrib deb-src http://mirrors.aliyun.com/debian/ buster-backports main non-free contrib
9 源
echo 'deb http://mirrors.aliyun.com/debian/ stretch main non-free contrib deb-src http://mirrors.aliyun.com/debian/ stretch main non-free contrib deb http://mirrors.aliyun.com/debian-security stretch/updates main deb-src http://mirrors.aliyun.com/debian-security stretch/updates main deb http://mirrors.aliyun.com/debian/ stretch-updates main non-free contrib deb-src http://mirrors.aliyun.com/debian/ stretch-updates main non-free contrib deb http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib deb-src http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib ' >sources.list
常用软件
useradd -d /data/evan -s /bin/bash -m evan 数m表示如果该目录不存在,则创建该目录 apt install net-tools vim build-essential dnsutils screen -y #全面的开发工具 sudo apt install git golang build-essential gcc g++ gdb libboost-dev make automake autogen autoconf cscope global cmake cmake-gui astyle clang-format clang llvm lldb libsqlite3-dev sqlite3 bison flex ruby-dev linux-headers-`uname -r` 安装Fail2Ban