Skip to main content

Posts

:: [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

:: solution for libtoolT error

:: what is please take a look at this. :: case /bin/rm: cannot remove `libtoolT': No such file or directory if you get some error message like that when you compiling some application from source you can do like this for resolve on it. :: solution this example for resolve on compiling mysql package. install libtool packages from repository and run liboolize command line on the package: linux:~/download/mysql-5.1.37 # yum install libtool linux:~/download/mysql-5.1.37 # libtoolize --force linux:~/download/mysql-5.1.37 # autoconf and/or linux:~/download/mysql-5.1.37 # autoreconf after that you can recompile and install your package from source. :: links + GoogleLinux

:: compiling mysql on centos

:: what is please take a look at this. :: installing dependency package [ root:mysql-5.1.37 ]# yum install gcc gcc-c++ make libtool automake libtermcap-devel :: download mysql-5.1.37 source [ root: ~]# mkdir download [ root: ~] # cd download/ [ root:downlad ]# wget http://dev.mysql.com/get/Downloads/MySQL-5.1/mysql-5.1.37.tar.gz/from/ftp://ftp.inria.fr/pub/MySQL/ [ root:downlad ]# tar -xzf mysql-5.1.37.tar.gz :: build and install [ root:downlad ]# cd mysql-5.1.37 [ root:mysql-5.1.37 ]# groupadd mysql [ root:mysql-5.1.37 ]# useradd -g mysql mysql [ root:mysql-5.1.37 ]# ./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data --with-pthread [ root:mysql-5.1.37 ]# make && make install :: configuring mysql [ root:mysql-5.1.37 ]# /usr/local/mysql/bin/mysql_install_db --user=mysql [ root:mysql-5.1.37 ]# /usr/local/mysql/bin/mysqld_safe --user=mysql & :: testing [ root:mysql-5.1.37 ]# /usr/local/mysql/bin/mysql Welcome to the MySQL monitor. Commands end with ;