linux server remote management

A, Linux commonly used remote management tools

 click to download

Second, view the server ip address command

1 , by ip addr View Card ip address

 

ip addr

 

2 , by the ifconfig see if the card ip address
minimize installation CentOs post is not directly ifconfig , the netstat command, if the use ifconfig , the netstat etc.

Command will need to install net-tools

yum install -y net-tools

yum package Find

yum search net-tools

Third, if the installation of the network we forget to turn on the network can open the configuration file

vi / etc / sysconfig / Network-scripts / the ifcfg-ens33    // input ifcfg-ens press tab to view your own profile name

turn up

ONBOOT = 'no' modify yes

Restart the network:

service network restart

SSH Secure Shell Client Chinese garbled solution :

This is the SSH Secure Shell Client shortcomings unresolved for many years, requires the client and server side must ' UTF-8 ' encoding, Windows Chinese version of the non-coding UTF-8 . zh_CN.UTF-8 is UTF -encoded Chinese language environment.
Windows using GB2312 encoding, most linux systems support is UTF-8 encoding, and the use of remote landing is a local code, so the problem will be garbled; There are several solutions:

Modify /etc/locale.conf
will modify the contents of the file LANG = "zh_CN.gbk" ( "zh_CN.gbk" to modify their own character sets) performed last source /etc/locale.conf can be permanent, the next logon, Chinese It will not be garbled.


mac connect to a remote Linux server

Enter the server connection command: ssh username @ server IP, enter the password.

Then enter the password

drop out

control+d

 

 

Guess you like

Origin www.cnblogs.com/loaderman/p/11596178.html