Skip to main content

Posts

:: [re] compile imap on php5

:: what is please take a look at this. :: checking dependency make sure openssl installed on the box [ linux:~ ] # rpm -qa | grep openssl libopenssl0_9_8-0.9.8g-47.1 libopenssl-devel-0.9.8g-47.8 openssl-certs-0.9.8g-47.1 openssl-0.9.8g-47.1 :: installing imap for php5 from source [ linux:download ] # wget ftp://ftp.cac.washington.edu/imap/imap-2007a1.tar.Z [ linux:download ] # tar -xzf imap-2007a1.tar.Z -C /usr/local/ [ linux:download ] # cd /usr/local/imap-2007a/ [ linux:imap-2007a ] # make slx SSLINCLUDE=/usr/include/openssl/ [ linux:imap-2007a ] # cp /usr/local/imap-2007a/c-client/c-client.a /usr/lib/libc-client.a [ linux:imap-2007a ] # cp /usr/local/imap-2007a/src/c-client/mail.h /usr/include/ [ linux:imap-2007a ] # cp /usr/local/imap-2007a/src/c-client/rfc822.h /usr/include/ [ linux:imap-2007a ] # cp /usr/local/imap-2007a/c-client/linkage.h /usr/include/ :: [re] compile PHP5 from source please take a look instructions on build php on centos before do this [ linux:~ ] # cd downloa

:: [re]compile php5 with pdo mysql

:: what is please take a look at this. :: [re]compiling php5 with pdo mysql please take a look instructions on build php on centos before do this. [ root:downlad ]# wget http://nl2.php.net/get/php-5.3.0.tar.bz2/from/id.php.net/mirror [ root:downlad ]# tar -xjf php-5.3.0.tar.bz2 [ root:downlad ]# cd php-5.3.0 [ root:php-5.3.0 ]# ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --with-gd=/usr/local --with-jpeg-dir=/usr/local/lib --with-png-dir=/usr/local/lib --with-freetype-dir=/usr/local --with-zlib-dir=/usr/local --with-mcrypt=/usr/local/bin/mcrypt --enable-mbstring --enable-ftp --with-pdo-mysql=/usr/local/mysql [ root:php-5.3.0 ]# make && make install [ root:php-5.3.0 ]# cp php.ini-production /usr/local/etc/php.ini [ root:php-5.3.0 ]# vi /usr/local/etc/php.ini ; change this line include_path = ".::/usr/local/lib/php" :: testink [ root ]# php -m | grep pdo pdo_mysql pdo_sqlite :: links + googleLinux + blackonsole

:: [mod] python on apache httpd

:: whatis please take a look at this. :: installing dependency [+] please install apache httpd on your server :: installing python on apache [+] compile and install python [ root:~ ]# mkdir download [ root:~ ]# cd download/ [ root:download ]# wget http://python.org/ftp/python/2.6.2/Python-2.6.2.tar.bz2 [ root:download ]# tar -xjf Python-2.6.2.tar.bz2 [ root:download ]# cd Python-2.6.2 [ root:Python-2.6.2 ]# ./configure --enable-shared [ root:Python-2.6.2 ]# make && make install [ root:Python-2.6.2 ]# ldconfig [+] compile and install flex [ root:download ]# wget http://sourceforge.net/projects/flex/files/flex/flex-2.5.35/flex-2.5.35.tar.bz2/download [ root:download ]# tar -xjf flex-2.5.35.tar.bz2 [ root:download ]# cd flex-2.5.35 [ root:flex-2.5.35 ]# ./configure [ root:flex-2.5.35 ]# make && make install [+] compile and install mod_python [ root:download ]# wget http://apache.pesat.net.id/httpd/modpython/mod_python-3.3.1.tgz [ root:download ]# tar -xzf mod_python-3.3

:: install ffmpeg and ffmpeg-php

:: what is please take a look at this. :: compile and install dependency packages [ compile and installing yasm ] [ linux:download ] # wget http://www.tortall.net/projects/yasm/releases/yasm-0.8.0.tar.gz [ linux:download ] # tar -xzf yasm-0.8.0.tar.gz [ linux:download ] # cd yasm-0.8.0/ [ linux:yasm-0.8.0 ] # ./configure [ linux:yasm-0.8.0 ] # make && make install [ compile and installing faad2 ] [ linux:download ] # wget http://downloads.sourceforge.net/faac/faad2-2.7.tar.bz2 [ linux:download ] # tar -xjf faad2-2.7.tar.bz2 [ linux:download ] # cd faad2-2.7/ [ linux:faad2-2.7 ] # ./configure [ linux:faad2-2.7 ] # make && make install [ compile and installing faac ] [ linux:download ] # wget http://downloads.sourceforge.net/faac/faac-1.28.tar.bz2 [ linux:download ] # tar -xjf faac-1.28.tar.bz2 [ linux:download ] # cd faac-1.28/ [ linux:faac-1.28 ] # ./configure [ linux:faac-1.28 ] # make && make install [ compile and installing lame ] [ linux:download ] # wg

:: build php on centos

:: what is please take a look at this. :: case we can build php with support mysql, apache, gd, jpeg, png, freetype, curl, zlib, mcrypt , mbstring, ftp. :: compile and install dependency for php support - apache - mysql - gd [ compile and installing libpng ] [ root:~ ]# vi /etc/ld.so.conf # add this line /usr/local/lib [ root:~ ]# mkdir download [ root:~ ]# cd download/ [ root:downlad ]# wget http://sourceforge.net/projects/libpng/files/01-libpng-master/1.2.40rc01/libpng-1.2.40rc01.tar.bz2/download [ root:downlad ]# tar -xjf libpng-1.2.40rc01.tar.bz2 [ root:downlad ]# cd libpng-1.2.39 [ root:libpng-1.2.39 ]# ./configure [ root:libpng-1.2.39 ]# make && make install [ compile and install libjpeg ] [ root:downlad ]# wget http://sourceforge.net/projects/libjpeg/files/libjpeg/6b/jpegsrc.v6b.tar.gz/download [ root:downlad ]# tar -xzf jpegsrc.v6b.tar.gz [ root:downlad ]# cd jpeg-6b/ [ root:jpeg-6b ]# ./configure --prefix=/usr/local --enable-shared --enable-static [ root:jpeg-6b ]

:: build apache httpd on centos

:: what is please take a look at this. :: download apache 2.2.13 [ root:~ ]# mkdir downlad/ [ root:~ ]# cd downlad/ [ root:downlad ]# wget http://apache.cbn.net.id/httpd/httpd-2.2.13.tar.bz2 :: compiling apache 2.2.13 [ root:downlad ]# tar -xjf httpd-2.2.13.tar.bz2 [ root:downlad ]# cd httpd-2.2.13 [ root:httpd-2.2.13 ]# ./configure --prefix=/usr/local/apache2 --enable-mods-shared=most --enable-module=most --enable-so --enable-cache --enable-file-cache --enable-disk-cache --enable-mem-cache [ root:httpd-2.2.13 ]# make && make install :: run the httpd [ root:httpd-2.2.13 ]# /usr/local/apache2/bin/apachectl start :: testing [ root:httpd-2.2.13 ]# netstat -lpn | grep :80 tcp 0 0 :::80 :::* LISTEN 14060/httpd your httpd running ( the port 80 opened ) on your server now. or you can open your web browser and goto url : http://yourdomain.tld or http://youriphttpserver :: link + GoogleLinux

:: remove navbar on blogspot

:: what is please take a look at this. :: how to remove navbar blogger 0. login your blogs 1. go to Layout - Edit HTML 2. look on this line : /* Variable definitions ==================== 3. and add above on that with #navbar-iframe{display:none !important;} , so the look like this : #navbar-iframe{display:none !important;} /* Variable definitions ==================== 4. klix PREVIEW for looking this effect configuring, and then SAVE TEMPLATE for save the configuration 5. for example you can take a look at this blog :D :: links + GoogleLinux + SizzledCore