Saturday, November 5, 2011

Configuring the GNUpanel

Configuring the GNUpanel here are the steps :

1. login to your vps  as root user.

2. run these following commands to configure :
 # cd /directorio/gnupanel_lenny_ubuntu_hardy_intrepid_0.3.0_R7
# gnupanel-config.sh

3. when the configuration finished the admin interface can be located here: http://ip-publica/admin

4. the detail instruction can be found here: http://gnupanel.org/archives/category/howtos

Friday, November 4, 2011

Finding the clientid and licenseid of directadmin

You can find the clientid and licenseid of currently installed directadmin  from the file /usr/local/directadmin/scripts/setup.txt


[root@localhost ~]# cat /usr/local/directadmin/scripts/setup.txt
hostname=host.domain.tld
email=admin@host.domain.tld
mysql=aQGNqbDD
mysqluser=da_admin
adminname=admin
adminpass=o9uMqaIn
ns1=ns1.domain.tld
ns2=ns2.domain.tld
ip=
netmask=
uid=123
lid=4567
services=services_es50.tar.gz
[root@localhost ~]#

You can update the license manually as follows

[root@localhost ~]#cd /usr/local/directadmin/scripts 
[root@localhost ~]#./getLicense.sh 123 1234
[root@localhost ~]#service directadmin restart

Tuesday, November 1, 2011

FFmpeg installation on Centos cpanel server

First you have to install the following repositories for yum. [check your system architecture]


rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
rpm -Uvh http://download1.rpmfusion.org/free/el/updates/testing/5/i386/rpmfusion-free-release-5-0.1.noarch.rpm
rpm -Uvh http://download1.rpmfusion.org/nonfree/el/updates/testing/5/i386/rpmfusion-nonfree-release-5-0.1.noarch.rpm

Install ffmpeg, mplayer and mencoder

yum install ffmpeg mplayer mencoder

Install ruby using cpanel script
/scripts/installruby

Install flvtool
gem install flvtool2

Install MP4Box
yum install gpac gpac-libs

Install development packages for ffmpeg
yum install ffmpeg-devel

Install ffmpeg-php
wget http://downloads.sourceforge.net/ffmpeg-php/ffmpeg-php-0.6.0.tbz2
tar xjf ffmpeg-php-0.6.0.tbz2
cd ffmpeg-php-0.6.0
phpize
./configure
make
make install

Enabling ssl version 3 in apache

This post explains how to enable ssl version3 and TLS v1.0 using apache httpd webserver.

Edit the httpd.conf file and add the following lines to it.


[root@server ~]# vi /etc/httpd/conf/httpd.conf
#SSL3


<IfDefine SSL>
SSLProtocol -all +SSLv3 +TLSv1
SSLCipherSuite SSLv3:+HIGH:+MEDIUM
</IfDefine>

Now restart the httpd service.
[root@server ~]# /etc/init.d/httpd restart

Thats it.