{ Berbagi, Menulis, Dan Mengajar } Ilmu… » 7. Operating System
Setting Gammu Terbaru
Setup Gammu SMS gateway pada Linux debian #wget https://sourceforge.net/projects/gam…8.0/gammu-1.28.0.tar.gz #tar xvfz gammu-1.28.0.tar.gz #apt-get install autoconf #apt-get install gcc #apt-get install make #apt-get install cmake #apt-get install libxml2 #apt-get install libxml2-dev #apt-get install libmysqlclient15-dev #ls … Read entire article »
Filed under: 7. Operating System
Lighttpd –> Debian etch, Drupal, Clean URL
http://dimas.ubhara.id/~dms/doc/drupal_lighttpd.zip … Read entire article »
Filed under: 7. Operating System
Setting up PHP with Lighttpd
Introduction Lighttpd supports PHP through both CGI and FastCGI. As the name suggests, FastCGI is preferable. Performance In all our tests it has shown better performance than Apache 1.3.x + mod_php4. See http://www.lighttpd.net/benchmark/ for the results. Does it support opcode cachers? like APC, TurckMM, XCache and friends YES! Even if their docs say they do not work in CGI. Under lighttpd, PHP is usually run as FastCGI which supports those opcode cachers like mod_php4 in Apache. http://pecl.php.net/apc http://eaccelerator.net/ (Successor of Turck mmCache) XCache, XCache FAQ (new, well tested, running with FastCGI) (more to add) You might be interested in reading the Support for FASTCGI mode? thread from eAccelerator Open Discussion Forum. Installation Windows PHP in CGI Mode First you need to install Lighttpd for Windows. Then you need to edit C:\lighttpd\etc\lighttpd.conf, uncomment the “mod_cgi” line and add this line: cgi.assign = ( ".php" => … Read entire article »
Filed under: 7. Operating System
lighttp + MYSQL + PHP Setting
Share Security, speed, compliance, and flexibility — all of these describe lighttpd (pron. lighty) which is rapidly redefining efficiency of a webserver; as it is designed and optimized for high performance environments. With a small memory footprint compared to other web-servers, effective management of the cpu-load, and advanced feature set (FastCGI, SCGI, Auth, Output-Compression, URL-Rewriting and many more) lighttpd is the perfect solution for every server that is suffering load problems. And best of all it’s Open Source licensed under the revised BSD license. Installing Lighttpd in Ubuntu … Read entire article »
Filed under: 7. Operating System
C Programming Linux
http://bookboon.com/int/student/it/c-programming-in-linux — http://192.168.1.1/~dms/ebook/c-programming-in-linux.pdf … Read entire article »
Filed under: 7. Operating System
C Programming Linux
http://www.gidforums.com/t-3369.html … Read entire article »
Filed under: 4. Programming / IDE, Linux
GCC
gcc filename.c GNU C compiler. Quite straight-forward if you know C. Extensive free manuals are available on the net. How do I compile a simple C program? Start your favourite text editor and type in your source code. For example, I may use pico: pico hello.c and type in the Kerningham and Richie (the creators of “c”) intro example of a C program: #include … Read entire article »
Filed under: 7. Operating System
TV ONLINE
http://mivo-tvonline-indonesia.blogspot.com/ http://mivotv.webs.com/ … Read entire article »
Filed under: 7. Operating System
Redirect WEB Proxy
Masuk ke root server dan buat file baru dengan nama DEWASA. Ketik pico /usr/share/squid/errors/English/DEWASA. Copy pastekan script dibawah ini lalu simpan <html> <title>http://www.cybermq.com</title> <meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″> <SCRIPT LANGUAGE=”JavaScript”> function redirect() { parent.location.href=”http://www.cybermq.com” } </SCRIPT> </head> <body bgcolor=”#FFFFFF”> <SCRIPT LANGUAGE=”JavaScript”> <!– Hide script from old browsers // set timeout to redirect after 1 seconds setTimeout(“redirect()”,1000) //–> </SCRIPT> </body> </html> Kemudian buat file porn.txt pada direktori /etc/squid, isi dengan kata-kata yang berhubungan dengan situs porno. Tambahkan konfigurasi acl porn url_regex -i “/etc/squid/porn.txt” (untuk aturan pemblokiran) dan deny_info DEWASA porn (untuk aturan redirect) lalu simpan, dan restart squid. Maka, situs porno yang telah Anda blokir akan teralihkan dengan cyber mq. Jika Anda ingin mengalihkannya ke situs lain misal google, Anda tinggal mengganti parent.location.href=http://www.cybermq.com dengan parent.location.href=”http://www.google.com” dan jangan lupa ganti juga titlenya. … Read entire article »
Filed under: 7. Operating System