experiment One, telnet Remote Management OperationsExperimental objectivesBy configuring remote management for switches and routers and configuring a default gateway for the switch, the hosts on different network segments can manage the switch remotely.Experimental environmenta single router. Two PC computers . Two switches650) this.width=650; "title=" Image001.png "src=" http://s3.51cto.com/wyfs02/M02/45/96/wKioL1Po1mKRRPVSAADH_ Ax7nes170.jpg "width=
/orangepiThen enter and start connecting OrangepiThe connection is completed can see the desktop, if the connection failed to see the specific error, degree Niang down bar6, this time is only the LAN connection, can not be counted as remote connection, in order to be able to remotely connect the server in the large network segment, we also need a toolNat123, this is a NAT tool, you can also do dynamic domain name resolution, how to use can refer to th
1. Modify SSH telnet port to 5000Input Vi/etc/ssh/sshd_configPort #把 ' #Port 22 ' changed to ' Port '; ( remember to remove the # number before it takes effect ) #AddressFamilyany#ListenAddress0.0.0.0#ListenAddress::Enter the service sshd restart #重启SSH服务;2. Firewall Add portBy default iptables only a subset of ports, using additional ports such as ' 5000 ' need to add a whitelist in iptablesVi/etc/sysconfig/iptables(If no iptables input command# ipta
Scene:In the use of Linux process, we often use Telnet to test the other server a port is open, but Linux is not installed by default Telnet client, many times the temporary installation of Telnet will be more troublesome, this time can be used in Python to do a simple test.Pythonimport Sockets=socket.socket () s.conne
As an excellent out-of-process cache, Memcache is often used in high concurrency system architectures. Here to talk about how to use the Telnet tool to view the Memcache health and its key management maintenance. Suppose memcache installation directory:/usr/local/memcached
1, start memcache
Copy Code code as follows:
[Root@localhost ~]#/usr/local/memcached/bin/memcached-d-M 512-u root-l 192.168.119.70-p 12000-c 512-p/usr/local/ Memca
Linux access to Linux can use Ssh,openssh,vnc4server, graphical VNC and so on. Here is a description of Windows access to LinuxThere are several different SSH clients on Windows, in which the open source putty is one of the most widely used, this is the green Chinese software, does not need to install, Download and run the Putty.exe main program, after testing the remote access, the folder and file name if it contains spaces, does not support, this is a bit regrettable!There are various tools in
recently, the company added 40 servers for the last active function, although the server can be managed by saltstack (automated operations Tools Saltstack), the project can be released through Jenkins + Saltstack (using jenkins+ Saltstack+sh deploy the project to multiple servers, but before this need to get rid of the 40 server Saltstack configuration file Ah, can not be a
=" Wkiol1dgk7bwqdl4aabrqicnuzm615.png "/>Common Systemctl control commands:
Command
Explain
Systemctl Stop UNIT
Stop a service
Systemctl Start UNIT
Start a service
Systemctl Restart UNIT
Restart Service
Systemctl Reload Unit
Reload the service's configuration file
Systemctl Mask UNIT
Disabling services
Systemctl unmask UNIT
Service becomes available
S
If your own server is in the intranet, want to network through SSH on their own VPS server telnet to their own intranet server, you can follow the following actions:First, use the following command on your own server:#ssh-cfnnt-r Port a:localhost: Port B vpsip-p Port C-l roo
landing, easy to use, free.To use VNC to log on to a Linux server, you first need to open VNC on the server and install if there is no Vncserver command on the server.Install Vncserver:Using the root user login system, use Yum to install the required packages and enter the following command:Yum install tiger-vncserver libxfont xorg-x11-xinit xorg-x11-xdm xorg-x11-fonts*The system will be networked from the
: Displaymanager:displaymanager_root_login_remoteallowremoteroot=trueallowroot=true[debug]3, Gedit/etc/x11/xdm/xaccess #* # Any host can get a login windowSwitch* # Any host can get a login window4,gedit/etc/x11/xdm/xdm-config Comment out the last line:! displaymanager.requestport:05,gedit/etc/x11/xdm/xservers Comment out the last line:#:0 local/usr/bin/x-nolisten tcp-br vt76,gedit/etc/sysconfig/displaymanager SuSE does not allow root login with tools such as X-manager by default and needs to be
Tags: mysq on server login MySQL GES flush no user console When using MySQL Workbench or navicat to connect to the server's MySQL, sometimes there will be access denied, Because no other user rights are assigned to MySQL, you can only log on locally, so set it up. Settings are as follows: Open the MySQL console, enter a password, log in to the database, execute the use MySQL command; Use MySQL; The Database changed will appear; Re-execution: Grant al
SSH is a security protocol, mainly used to encrypt remote login session data to ensure the security of data transmission.Installing SSHsudo apt-get updatesudo apt-get install Openssh-serverTo see if the installation was successfulsudo ps-e |grep ssh //has sshd, stating that the SSH service has been started, if not started, enter "sudo service ssh start" and the return-->SSH service will start.Modify configuration File "/etc/ssh/sshd_config"sudo gedit/etc/ssh/sshd_configpermitrootlogin without
Tags: cat database user name Wamp deny execute tab Grant BSPWhen using MySQL Workbench or navicat to connect to the server's MySQL, sometimes there will be access denied, Because no other user rights are assigned to MySQL, you can only log on locally, so set it up. Settings are as follows: Open the MySQL console, enter a password, log in to the database, execute the use MySQL command; Use MySQL; The Database changed will appear; Re-execution: Grant all privileges on * * to ' Your user name ' @
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.