|
|
@@ -22,4 +22,29 @@
|
|
|
PermitRootLogin prohibit-password 找到这个,去掉前面的#,proht...改为yes
|
|
|
|
|
|
重启ssh
|
|
|
- sudo systemctl restart ssh
|
|
|
+ sudo systemctl restart ssh
|
|
|
+
|
|
|
+4.换源
|
|
|
+ sudo vim /etc/apt/sources.list
|
|
|
+ 将里面内容填入该文件中
|
|
|
+ {
|
|
|
+ deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
|
|
|
+ deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
|
|
|
+ deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
|
|
|
+ deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
|
|
|
+ deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
|
|
|
+ }
|
|
|
+
|
|
|
+4.开发环境搭建
|
|
|
+ sudo apt install gawk wget git diffstat unzip
|
|
|
+ sudo apt install texinfo gcc-multilib build-essential chrpath socat
|
|
|
+ sudo apt install libsdl1.2-dev xterm ncurses-dev lzop libelf-dev make
|
|
|
+
|
|
|
+
|
|
|
+ 5.泰山派sdk
|
|
|
+ 解压出来的.repo包执行下面命令
|
|
|
+ .repo/repo/repo sync -l -j88
|
|
|
+ 如果报错:/usr/bin/env: ‘python’: No such file or director
|
|
|
+ apt-get install repo
|
|
|
+
|
|
|
+
|