We will be needing root permissions to enable this feature. Default view of vi/vim without syntax highlighting: It would be a lot easier for developers to read / create programs if the codes they are writing are more distinct, so let’s enable syntax highlighting in our environment. STEPS: Check whether our current version of vi supports […]
Background: 404 errors during yum install are usually encountered when the downloaded yum metadata in your CentOS gets obsolete. Solution: I’ll be assuming that you already have root privileges in your machine. You have 2 options to resolve this problem. 1st option is to clear the yum metadata using this command: 2nd option is to […]
Steps: Login to your server. Let’s check your default location using pwd. Modify your .bashrc file. Append the cd /<desired location>. Save Logout/exit. Login again then check if your default directory is changed.
I was trying to add extensions via pecl and then I encountered phpize: command not found problem. Solution: 1. Install/update your php-devel yum install php-devel* 2. Update pecl channel pecl channel-update pecl.php.net
I encountered yum lock problem caused by PackageKit when I was trying to update some packages in my CentOS (6.4) server. Now, my work around for this is to disable the PackageKit in my start-up. Solution: Go to System Preferences. In Personal tab, select/click Startup Applications. Uncheck PackageKit Update Applet in Startup Programs tab Close. […]
Check if your CentOS is running 32 or 64 bit. Install EPEL. Download the package for 32bit OS: for 64bit OS: Install Install XRDP Install TigerVNC Server Set-up user for VNC server Edit /etc/sysconfig/vncservers Add and save the following configurations: Start XRDP and VNC Server You may now access your CentOS server via XRDP […]