Submitted by Mathew Branwell on Sat, 11/10/2012 - 02:47
You need EPEL repo to install php-mcrypt:
yum -y install http://mirror.us.leaseweb.net/epel/6/x86_64/epel-release-6-7.noarch.rpm
yum -y install php-mcrypt
Here is the code for installing EPEL repository on CentOS 6.4:
rpm -Uvh http://fedora.mirrors.pair.com/epel/6/x86_64/epel-release-6-8.noarch.rpm
Submitted by Mathew Branwell on Fri, 05/25/2012 - 00:02
Various instructions in Internet on the subject did not give any joy, so compiling my own sequence, which did the trick:
yum install php-pear php-devel httpd-devel gcc pcre-devel apc
nano /etc/php.d/apc.ini
Put the following in apc.ini:
; Enable apc extension module
extension=apc.so
apc.enabled=1
apc.shm_segments=1
apc.shm_size=256
apc.stat=0
Then copy apc.php to public_html directory of your website:
Submitted by Mathew Branwell on Sat, 03/31/2012 - 16:29
This guide will show you how to properly install APF firewall, one of the better known Linux firewalls available, on different Linux distros like Redhut/CentOS and Debian/Ubuntu. Configuration part doesn't differ from distro to another distro, so reading the official README file or googling will suffice.
Submitted by Mathew Branwell on Tue, 03/20/2012 - 21:47
There are several ways to list installed packages in Ubuntu, like:
sudo dpkg-query -Wf '${Installed-Size} - ${Package}n \n' | sort -n
sudo aptitude search '?installed'
In CentOS run one of these commands:
yum list installed
On any Linux machine with rpm installed:
You need to use rpm command to display all installed packages in Linux.
Red Hat/Fedora Core/CentOS Linux
Type the following command to get list of all installed software
# rpm -qa | less
Submitted by Mathew Branwell on Mon, 03/19/2012 - 22:13
Pages
Recent comments