Setup CentOS 7

From Codefool

Jump to: navigation, search

tiger-vnc

The tiger-vnc with CentOS 7 is different than before, and more problematic to set up. Rather than simply edit the familiar /etc/sysconfig/vncservers file, this has been replaced with a convoluted .service file in /lib/systemd/system. The following should work once the tiger-vnc service has been installed via yum or rpm. Instructions are listed in /lib/systemd/system/vncserver.service file.



Set yum proxy

To enable all yum operations to use a proxy server, specify the proxy server details in /etc/yum.conf. The proxy setting must specify the proxy server as a complete URL, including the TCP port number. If your proxy server requires a username and password, specify these by adding proxy_username and proxy_password settings.

The settings below enable yum to use the proxy server mycache.mydomain.com, connecting to port 3128, with the username yum-user and the password qwerty.

# The proxy server - proxy server:port number
proxy=http://mycache.mydomain.com:3128
# The account details for yum connections
proxy_username=yum-user
proxy_password=qwerty
Personal tools