Linux 环境起步——常用软件安装

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq193423571/article/details/84075011

Linux 环境起步——常用软件安装


欢迎关注我的公众号:二月鸟的博客
在这里插入图片描述


sudo apt install vim    #安装 vim 用来编辑文件
sudo apt install gcc 	  #安装 C 语言环境,为 redis、nginx安装做准备
sudo apt install net-tools	 #安装网络环境,不然 ifconfig 命令无用
sudo ufw disable	  #关闭防火墙
sudo passwd root   #设置管理员密码
sudo /etc/hostname   #修改主机名
sudo vim /etc/hosts     #修改 hosts 文件,映射 ip 

猜你喜欢

转载自blog.csdn.net/qq193423571/article/details/84075011