fr3akz bl0g

Lighttpd, PHP, and MySQL on CentOS 5

Lighttpd, PHP, and MySQL on CentOS 5 Installing & Configuring Lighttpd If you’re installing on an x86_64 machine: "wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm" If you’re installing on an i386 machine: "wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm" #yum install lighttpd #service lighttpd start Lighttpd’s default document root is /srv/www/lighttpd, you can use this or...

May 15th, 2012 lighttpd 1 Comment [ Continue reading... ]

WordPress permalinks with nginx

WordPress permalinks with nginx add this on nginx.conf or vhost conf file: [codesyntax lang="apache"] if (!-e $request_filename) { rewrite ^(.*)$ /index.php?q=$1 last; break; } } [/codesyntax] [codesyntax lang="apache"] location / { root /var/www/html; index index.php index.html index.htm; if (!-e $request_filename) { rewrite ^(.*)$ /index.php?q=$1 last; break; } ...

April 27th, 2012 nginx 0 Comments [ Continue reading... ]

Droidsheep : Android Application for Session Hijacking

Droidsheep : Android Application for Session Hijacking Which pages does DroidSheep support? - amazon.de – facebook.com – flickr.com – twitter.com – linkedin.com – yahoo.com – live.com – google.de (only the non-encrypted services like “maps”) What do you need to run DroidSheep? - You need an android-powered device, running at least version 2.1 of Android - You need Root-Access on your phone (link) - You need DroidSheep  (You can get it in the “GET IT”...

March 4th, 2012 /dev/null 0 Comments [ Continue reading... ]

Nginx Virtual Hosts

Nginx Virtual Hosts create directory for vhost [codesyntax lang="powershell"] cd /var/www mkdir -p fr3akz.com/{public_html,logs,stats} mkdir -p fr3akz.org/{public_html,logs,stats} [/codesyntax] create new  vhost conf file fr3akz.com [codesyntax lang="powershell"] nano /etc/nginx/conf.d/fr3akz.com.conf server { listen 80; server_name fr3akz.com www.fr3akz.com; access_log /var/www/fr3akz.com/logs/access.log...

February 24th, 2012 nginx 0 Comments [ Continue reading... ]

VirtualHost on Lighttpd

VirtualHost on Lighttpd Configure  Simple VirtualHost directory # mkdir -p /srv/www/lighttpd/(www.domain.com)/html Enable mod_simple_vhost for VirtualHost nano /etc/lighttpd/modules.conf # server.modules = ( "mod_simple_vhost", etc... ) Edit /etc/lighttpd/conf.d/simple_vhost.conf and add: $HTTP["host"] != "me.domain.com" { simple-vhost.server-root   =...

December 26th, 2011 lighttpd 3 Comments [ Continue reading... ]

WordPress permalinks with lighttpd without mod_magnet

WordPress permalinks with lighttpd without mod_magnet Just fire up your SSH client (PUTTY) Enter to your server by using root privileges. Then you need to find and edit lighttpd.conf file on your server. [codesyntax lang="powershell"] #nano /etc/lighttpd/lighttpd.conf [/codesyntax] Then add this simple line to your lighttpd.conf file. [codesyntax lang="powershell"] server.error-handler-404 = "/index.php" [/codesyntax] save and close [codesyntax lang="powershell"] #/etc/init.d/lighttpd...

September 29th, 2011 lighttpd 0 Comments [ Continue reading... ]

How to install Transmission on CentOS

How to install Transmission on CentOS Install dependencies [codesyntax lang="powershell"] yum install gcc make yum -y install openssl-devel curl-devel libevent-devel intltool.i386 gettext wget nano [/codesyntax] [codesyntax lang="powershell"] wget http://download.m0k.org/transmission/files/transmission-2.33.tar.bz2 tar xjvf transmission-2.33.tar.bz2 cd transmission-2.33 ./configure make && make install [/codesyntax] start transmission [codesyntax...

September 9th, 2011 torrents 0 Comments [ Continue reading... ]

Nginx, php-fpm, MySQL on centOS 5

Nginx, php-fpm, MySQL on centOS 5 Add repositories for nginx and PHP-fpm [codesyntax lang="powershell"] rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm [/codesyntax] Install nginx and PHP-fpm [codesyntax lang="powershell"] yum --enablerepo=remi install php-fpm nginx [/codesyntax] [codesyntax lang="powershell"] yum --enablerepo=remi install mysql...

July 2nd, 2011 nginx 4 Comments [ Continue reading... ]

Create SSL certs and enable https with Lighttpd

Create SSL certs and enable https with Lighttpd Create SSL certs and enable https with Lighttpd setup your certificate. [codesyntax lang="powershell"] # mkdir -p /etc/lighttpd/ssl # cd /etc/lighttpd/ssl # openssl req -new -x509 -keyout server.pem -out server.pem -days 3650 -nodes [/codesyntax] protect your ssl cert and directory. [codesyntax lang="powershell"] # chown -R lighttpd:lighttpd /etc/lighttpd/ssl # chmod 0600 /etc/lighttpd/ssl [/codesyntax] edit...

May 13th, 2011 lighttpd 3 Comments [ Continue reading... ]

LiteSpeed Standard Edition, PHP, and MySQL on CentOS 5

LiteSpeed Standard Edition, PHP, and MySQL on CentOS 5 Install dependensi PHP, modul, and tools [codesyntax lang="powershell"] #yum -y install gcc gcc-c++ glibc make automake GeoIP GeoIP-devel GeoIP-data fontconfig fontconfig-devel gd gd-devel pam pam-devel openldap openldap-devel libXpm libXpm-devel libtool libaio libaio-devel libtool-ltdl libtool-ltdl-devel libmcrypt libmcrypt-devel mhash mhash-devel unixODBC unixODBC-devel zip unzip nano perl openssl openssl-devel pcre pcre-devel bzip2...

April 25th, 2011 litespeed 1 Comment [ Continue reading... ]