Category Archives: apache

Upgrade PHP 5.1 to 5.2 in Centos

Step 1: Go to yum folder [root@esjeruk server]# cd /etc/yum.repos.d/ Step 2: Add new repo [root@esjeruk yum.repos.d]# vi C5.repo [c5-testing] name=CentOS-5 Testing baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/ enabled=1 gpgcheck=1 gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing includepkgs=php* Step 3 : UpgradeĀ  [root@esjeruk server]# yum install httpd php php-mysql php-gd php-mbstring php-mcrypt mysql mysql-server Step 4 : Check Version [root@esjeruk server]# php -v PHP 5.2.10 (cli) [...]

Also posted in centos, php, upgrade | Leave a comment

How to create a Self-Signed SSL Certificate

Step 1: Generate a Private Key [root@esjeruk:/home/server] openssl genrsa -des3 -out server.key 1024 Generating RSA private key, 1024 bit long modulus ..++++++ …………………..++++++ e is 65537 (0×10001) Enter pass phrase for server.key: Verifying – Enter pass phrase for server.key:   Step 2: Generate a CSR (Certificate Signing Request) [root@esjeruk:/home/server] openssl req -new -key server.key -out [...]

Also posted in https, ssl | Leave a comment