If you have access to the packages directory but your machine is not registered you can use the command to install the package, remember to have dependencies resolved.
$ yum --nogpgcheck localinstall <package_name>.rpm
you can also use:
$ rpm -i <package_name>.rpm
In order to verify if ssh sessions are established run:
#netstat -tnpa | grep ssh
In order to display execution time of commands need to set HISTTIMEFORMAT variable:
export HISTTIMEFORMAT="%F %T "
After installing minimal version of Red Hat network interface card needs to be enabled every time the system is rebooted. In order to auto-enable the card edit the following file:
Change the following:
- Install additional utilities of yum package manager
yum install yum-utils -y
- Run package cleaner, leaving two kernels on the /boot partition:
package-cleanup --oldkernels --count=2
Note: You need root privileges to execute the above commands.
- To enable remote desktop open a terminal and enter the following:
gconftool-2 -s -t bool /desktop/gnome/remote_access/enabled true
- To disable the following option: “You must confirm each access to this machine” enter as follows:
gconftool-2 -s -t bool /desktop/gnome/remote_access/prompt_enabled false
The above is extremely helpful if you come across a bug when clicking on System menu the system hangs. More information can be found here: https://bugzilla.redhat.com/show_bug.cgi?id=730378
By default open jdk package for CentOS(Red Hat) doesn’t contain java compiler therefore you may face problems setting up your dev environment.
Install the following package to get rest of java tools:
yum install java-ver-openjdk-devel
yum install java-1.7.0-openjdk-devel
You may receive a following dialog due to the gnome bug:
Already tested various solutions to that problem such as:
– Disabling/removing GNOME Keyring Daemon in System -> Preferences -> Startup Applications
– Editing /etc/gconf/schemas/gnome-keyring.schemas and replacing TRUE with FALSE value
The only working solution was:
– Renaming /usr/bin/gnome-keyring-daemon to /usr/bin/gnome-keyring-daemon.bak
mv /usr/bin/gnome-keyring-daemon /usr/bin/gnome-keyring-daemon.bak