美文网首页
Linux环境应用

Linux环境应用

作者: GUISHANL | 来源:发表于2019-05-26 16:38 被阅读0次
准备工作

----查看IP
ip addr
vi /etc/sysconfig/network-scripts/ifcfg-xx
service network restart
yum install net-tools
ifconfig

----替换默认源
http://mirrors.163.com/.help/centos.html

SSH

----ssh config为了方便管理多个ssh
cd ~/.ssh/ touch config
congfig 语法:
HostName
Port
User
IdentityFile
----ssh 免密登录
ssh key : ssh-keygen -t rsa

相关文章

网友评论

      本文标题:Linux环境应用

      本文链接:https://www.haomeiwen.com/subject/rtazzqtx.html