Install VNCServer on Centos 5 Rumi, December 5, 2013 Install VNC Server to operate CentOS with GUI remotely from Windows client. VNC is already installed if you already build Desktop Environment. If it's not installed, Install by a command 'yum -y install vnc-server'. [root@ns ~]# yum -y install vnc-server [root@ns ~]# vi /etc/sysconfig/vncservers # line 20: make valid and set as '(diplay number):(user name)' like follwing example VNCSERVERS="1:cent" # line 21: uncomment and remove '-localhost' like below # And set any screen resolution you like VNCSERVERARGS[1]="-geometry 1024×768 -nolisten tcp -nohttpd" [root@ns ~]# su – cent [cent@ns ~]$ vncpasswd# set VNC password Password:# input Verify:# verify [cent@ns ~]$ su – Password: [root@ns ~]# /etc/rc.d/init.d/vncserver start Starting VNC server: 1:cent New 'ns.server-linux.info:1 (cent)' desktop is ns.server-linux.info:1 Creating default startup script /home/cent/.vnc/xstartup Starting applications specified in /home/cent/.vnc/xstartup Log file is /home/cent/.vnc/ns.server-linux.info:1.log [ OK ] [root@ns ~]# vi /home/cent/.vnc/xstartup # at the bottom: make it comment #twm & # run Ghome exec gnome-session & [root@ns ~]# /etc/rc.d/init.d/vncserver restart Shutting down VNC server: 1:cent[ OK ] Starting VNC server: 1:cent New 'ns.server-linux.info:1 (cent)' desktop is ns.server-linux.info:1 Starting applications specified in /home/cent/.vnc/xstartup Log file is /home/cent/.vnc/ns.server-linux.info:1.log Install VNC viewer on client computer next. Download from the site below to install. http://www.realvnc.com/products/free/4.1/download.html Start VNC viewer after installing. Then following scrren is shown. Input [(Server's hostname or IP address):(display number)] like following example. Password is required. Input VNC password you set in the section Just connected. Related Administrations Configurations (Linux) CentOSVNCVNCServerVNCViewer
Install transmission on Centos 7 August 22, 2023 Step 1. First, you need to enable the EPEL repository on your system. yum install epel-release yum -y update Step 2. Installing Transmission on CentOS 7. Just run the following command to install Transmission: yum install transmission-cli transmission-common transmission-daemon Once complete, you can verify Transmission is installed by running the… Read More
.htaccess tips and tricks July 9, 2011 Redirecits redirectpermanent /training/test.html http://www.example.com/learning/newtest.html Allow SSI FIles AddType text/html .shtml .shtm .htm .html AddHandler server-parsed .shtml .shtm .htm .html Parsing PHP in HTML RemoveHandler .html .htm AddType application/x-httpd-php .php .htm .html Allow or prevent directory browing IndexIgnore */* Options +Indexes Password Protection <Files secret_file.html> AuthType Basic AuthName "Team Page" AuthUserFile… Read More
Install Pritunl on Ubuntu 16 June 29, 2020 Update your bare-bone and freshly installed Ubuntu 16 system. sudo apt-get update && sudo apt-get upgrade Add Pritunl’s APT repository and update the package lists: echo “deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0 multiverse” > /etc/apt/sources.list.d/mongodb-org-3.0.list echo “deb http://repo.pritunl.com/stable/apt trusty main” > /etc/apt/sources.list.d/pritunl.list Add repo keys for apt to validate against apt-key adv –keyserver… Read More