by CA RO
on 08/03/2009
in Development, IT, Linux, Tutorial
Assuming that apache is installed! Install packages apt-get install subversion libapache2-svn libapache-mod-dav Enable SSL a2enmod Add “Listen 443″ into httpd.conf if needed. Install SSL apt-get install ssl-cert mkdir /etc/apache2/ssl /usr/sbin/make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/apache2/ssl/site-name.crt Adding Basic Authentication: htpasswd2 -c -m /home/path-to/svn/project/.htpasswd username Configure site cp /etc/apache2/sites-available/default /etc/apache2/sites-available/site-name nano /etc/apache2/sites-available/site-name <VirtualHost IP_ADDRESS:443> ServerName hostname DocumentRoot /home/path-to/svn SSLEngine on [...]
by CA RO
on 07/03/2009
in Linux
With Secure Copy (slowest) : scp -r dir user@destination-host:/tmp/ Tar through SSH: tar czpf – dir | ssh user@destination-host tar xzpf – -C /tmp/ Tar with Netcat (fastest): On destination-host: nc -l -p 7000 | tar xzpf – -C /tmp/ On source-host: tar czpf – dir | nc -w 10 destination-host 7000 For the methods [...]
by CA RO
on 06/03/2009
in IT
by CA RO
on 04/03/2009
in Development, English, IT, Mac OS X
Today, after a long time messing up with XAMPP, MAMP and the Web Sharing – or default Web Server of Mac OS X, I found out a very new product which is free to “grand” public: Zend Server CE (Community Edition). There are Linux, Windows and Mac OS X versions. The versions for Unix-like OS [...]
by CA RO
on 25/11/2008
in English, Tutorial
If you are behind a firewall which forbids you to use some useful ports, and if you can create an SSH outside, to the “internet cloud”, here is your solution.
by CA RO
on 02/09/2008
in Mac OS X, Others, Tiếng Việt
Hôm nay ngồi lên thử VTC xem tivi quốc khánh tự nhiên thấy cái nền bắt chước MacOS X Leopard hehe nản )
by CA RO
on 27/05/2008
in Coding
http://dominia.org/djao/limit/win32/mod_ipconn.zip httpd.conf LoadModule status_module modules/mod_status.so ExtendedStatus On LoadModule limitipconn_module modules/mod_limitipconn.dll <IfModule mod_limitipconn.c> <Location /> MaxConnPerIP 3 NoIPLimit images/* </Location> <Location /mp3> MaxConnPerIP 1 OnlyIPLimit audio/mpeg video </Location> </IfModule> cd /usr/src wget http://dominia.org/djao/limit/mod_li…nn-0.04.tar.gz tar xzvf mod_limitipconn-0.04.tar.gz cd mod_limitipconn-0.04 pico Makefile find the line that reads APXS=apxs[/b] change that to APXS=/usr/local/apache/bin/apxs press cntrl O to save then cntrl X [...]
by CA RO
on 17/03/2008
in Coding
Vừa ngủ dậy, phờ phạc, chả định post gì cả nên . tại đây! need a big hug! A2AMS After Ngày hôm qua ở lại
by CA RO
on 11/03/2008
in Development, IT, WordPress
I made a media player plugin for WordPress which enables to embed an FLV and ,MP3 and YouTube link into player in Posts or Pages. If you do not put [=title], the file name will be put before the player. 2009.04.27: New version: 1.3.0 Updated player to v4.4 YouTube supported Media Button above the text [...]
by CA RO
on 11/03/2008
in Coding
http://codex.wordpress.org/Category_Templates
by CA RO
on 08/03/2008
in Coding
After a 2-hour outage, came up with an idea to redistribute ad from two server, in which one is main server and other is the backup one, checking for the connection to the main server in 2 sec, then 2 sec for verifying the backup server is also online, if after 4 sec there is [...]