Linux _ server maintenance Article 1: Installation configuration of ssh remote vnc special instructions: I use ubuntu locally .. the server is centos5.5 32-bit .. this is the first tutorial on server configuration. In fact, it is good to use only ssh, but vnc is visualized. remote Control of the server ui! It is convenient for me to look at people who like intuitive operations (or cainiao ).... 1. First of all, I am using terminal ssh in ubuntu .. win. you can use other ssh tools .. SSH username @ ip (ssh remote ). Enter the password .. SSH usage. baidu directly .. after the connection, if rpm-q vnc-server returns the following results, the installation is successful, but the service is not started!
2. next, you need to configure vnc and enter the following command to open the configuration file emacs/etc/sysconfig/vncservers (you can also change emacs to VI and add a user name for your hobbies, write downstream data in emacs: VNCSERVERS = "1: root" www.2cto.com to set the resolution. You can also leave VNCSERVERARGS = "-geometry 1024x768"
Save and exit emacs .. enter the following command: Set the root user password vncpasswd 3. Set the default VNC remote interface command: cd ~ /. Vnc/emacs xstartup
Add gnome-session & remarks # xterm-geometry 80x24 + 10 + 10-ls-title "$ VNCDESKTOP Desktop" # twm (if the default Desktop is KDE, add: startkde kde desktop) 6. restart vncserver. Continue command:/sbin/service vncserver restart
~ Try connecting to www.2cto.com 7. VNC... o (too many) o... haha! Enable VNC remote (related vnc software is required. You can download the vnc view in windows. I use the remote software that comes with ubuntu !), When you enter an IP address, multiple ": 1" or ": 2" users with the selected VNC, such as: xxx. xxx: 1
Finally, we may encounter problems. For example, after restarting the server (reboot), The vnc is not started ...~ Here: the terminal command: chkconfig vncserver on and then check whether the instance is started # chkconfig -- list vncserver if 2 ~ All five are on. That is, success! The first article is written here ~ Next, install the lamp environment, source code, source code, and some integration environments.