ubuntu

sudo passwd

1、设置密码

2、更新镜像源

sudo apt-get update

3、手动安装gcc\make\perl

sudo apt-get install gcc make perl

4、重启系统

reboot

5、给脚本权限

chmod u+x (....)

6、查看是否有可执行权限

ls -l (...)

7、安装

sudo ./

8、ssh连接

sudo systemctl start ssh

9、查询Ip地址

ifconfig

10、安装软件net-tools

sudo apt-get install net-tools

11、设置网络模式为仅主机模式

12、查询用户名

whoami

 

posted @ 2022-06-18 14:29  hu-  阅读(48)  评论(0)    收藏  举报