Ubuntu 在VMware虚拟机上的配置

1.调整字体大小操作命令:sudo dpkg-reconfigure console-setup






2. root用户的解锁操作,修改root的密码。

命令:sudo passwd root


3.注销(退出)当前登录用户命令:logout



4, 查看当前登录用户,输入命令:who


5. 在使用Linux操作系统时,需要注意防火墙问题,如果不是专业从事Linux维护,建议关闭防火墙,同时卸载iptables服务。

关闭防火墙命令:ufw disable


卸载iptables组件命令:apt-get remove iptables




卸载完成。

6.考虑到以后进行文本编辑,可以安装VIM组件或使用vi。

安装vim命令:apt-get install vim


7. 查看主机名命令:hostname


8. 查看主机配置命令:vim  /etc/hosts



猜你喜欢

转载自blog.csdn.net/qq_41307443/article/details/79794922