Pencarian

Rss Posts

 

 

 

Berita pada bulan March, 2010

Summer of WordPress 2010: Act I

Mar 21, 2010

Scene: A college classroom
Professor: Is anyone here applying for Google Summer of Code this year? If so, see me after class to discuss getting independent study credit toward your degree.
Jack, a student: Isn’t that a really hard program to get into? Like, hard like getting to level 70 in Modern Warfare 2?
Sophie, a student: I [...]

Linux.com recommendations

Mar 21, 2010

pHere are my ideas to improve Linux.com.nbsp;/pbr/pI have been working on this list for some time and this is the first time that this list will be public. I would like the Linux.com community to review these recommendations and give me theirnbsp;feedback and other recommendations.nbsp;br/br/pnbsp;/pbr//pbr/pAll items marked with * are reflecting the potential abilities of Upper level mods if that idea is approved./pbr/br/*Community based administration – Give sepcific community users incrRead More…

An Interview Question That Prints Out Its Own Source Code (In Ruby)

Mar 18, 2010

I recently decided to play around with a href=”http://www.skorks.com/2010/03/an-interview-question-that-prints-out-its-own-source-code-in-ruby/”writing a ruby quine/a (especially since there didn’t seem to be many around). Along with discussing the possible merits of quines as an a href=”/search/interview” class=”internal”interview/a question, here is what I came up with.div class=”feedflare”
a href=”http://feeds.feedburner.com/~ff/Rubyflow?a=iEK-pNZ3Td0:Q1wKbon_tsk:3H-1DwQop_U”img src=”http://feeds.feedburner.com/~ff/Rubyflow?i=iEK-pNZ3Td0:Q1wKbon_tsk:3H-1DwQop_U” border=”0″/img/a
/divimg src=”http://feeds.feedburner.com/~r/Rubyflow/~4/iEK-pNZ3Td0″ height=”1″ width=”1″/

Configure Arch Linux – rc.config

Mar 16, 2010

pbr /In my installations of Arch Linux, I found that file the most complicated to configure.br /So I’m sending mine to serve as the basis for those trying./pbr/#br / # /etc/rc.conf – Main Configuration for Arch Linuxbr / #br /br / #br / # ———————————————————————–br / # LOCALIZATIONbr / # ———————————————————————–br / #br / # LOCALE: available languages can be listed with the ‘locaRead More…

Latest Open-Xchange Groupware Offers Integrated VoIP

Mar 16, 2010

p class=MsoBodyText style=text-align: center; margin: 0in 0in 0pt; align=centernbsp;/pbr/p class=MsoBodyText style=text-align: center; margin: 0in 0in 0pt; align=centerUser interface, calendar also enhanced in open source Exchange alternative/pbr/p class=MsoBodyText style=text-align: center; margin: 0in 0in 0pt; align=centernbsp;/pbr/p class=MsoBodyText style=margin: 0in 0in 0pt;NUREMBERG, Germany, March 16, 2010 ndash; Open-Xchange, a provider of business-class Read More…

Seminar Linux Open Source Berlangsung Dengan Sukses

Mar 13, 2010

Walaupun baru ?berdiri tahun 2008 yang lalu, Polytechnic Linux Community (POLICY) ?bertekad untuk memajukan open source di Aceh. Hal ini terbukti dengan memulai diadakannya Seminar Linux dan Open Source ? di Politeknik Negeri Lhokseumawe pada hari Rabu, 10 Maret 2010 yang lalu yang berlangsung mulai ?pukul 09.00WIB -15.30 WIB, dan? Alhamdulillah kegiatan seminar ini berlangsung [...]

Widya Walesa: Using KDE SC 4.4.1 (Alien Bob Built)

Mar 13, 2010

Yap, I have downloaded and installed almost all recent updates available from Slackware64-Current tree. And also I have downloaded all Alien Bob’s KDE SC 4.4.1 packages and already updated my KDE SC…

[read more on http://wallinux.blogspot.com/]

Search without the Database – Paul Reinheimer

Mar 12, 2010


I gave my second talk at #ConFoo today, this one was on Searching without the Database. This talk was based on a situation at work where I replaced a MySQL search solution with a Sphinx + Memcached solution for higher performance. If you’re interested, here’s the slides:
Search without the DB – ConFoo 2010.pdf.

If you attended my talk, you can rate it on the Joind.in Page

Running Apache with a dozen PHP versions – Christian Weiske

Mar 12, 2010

After showing you how to set up
multiple PHP versions on a single
machine
, it’s time to explain how to stuff all those compiled
php-cgi executables into a single Apache web server instance.

Idea

  • Instead of using mod_php, mod_fastcgi is going
    to be utilized.
  • Every single PHP version runs its own CGI server
  • Configuration of used PHP version is made per virtual host.

Installation of FastCGI

Debian

The Debian setup is painless:

aptitude install libapache2-mod-fastcgi apache2-mpm-worker apache2-suexec
a2enmod actions fastcgi suexec

CentOS

The open source version of Redhat’s operating system does not provide
the fastcgi module for Apache, which is why one needs to install it
by hand. It’s trivial.

Assuming phpfarm is installed in /root/phpfarm,
you need to chmod +x /root. Last but not least is
setting up permissions for the fastcgi state files:
chmod +x /var/log/httpd.

FastCGI setup

After mod_fastcgi is available, we need to prepare the FastCGI
servers. Open /etc/{apache2,httpd}/{apache2,httpd}.conf
and make it load conf/php-cgisetup.conf before including
server.conf. Put the following
lines into conf/php-cgisetup.conf:

#php-cgi setup
#used for multiple php versions
FastCgiServer /var/www/cgi-bin/php-cgi-5.2.12
FastCgiServer /var/www/cgi-bin/php-cgi-5.3.0
FastCgiServer /var/www/cgi-bin/php-cgi-5.3.1
ScriptAlias /cgi-bin-php/ /var/www/cgi-bin/

PHP-CGI setup

For each single php version you installed with
phpfarm,
you need to create a file
/var/www/cgi-bin/php-cgi-$version and make
it executable. Example for php-cgi-5.3.2:

#!/bin/sh
PHPRC="/etc/php5/cgi/5.3.2/"
export PHPRC

PHP_FCGI_CHILDREN=3
export PHP_FCGI_CHILDREN

PHP_FCGI_MAX_REQUESTS=5000
export PHP_FCGI_MAX_REQUESTS

exec /root/phpfarm/inst/bin/php-cgi-5.3.2

Activating a PHP version in a virtual host

If you followed all of the previous steps, everything is
setup now and ready to be used. In your
/etc/{apache2,httpd}/conf/server.conf, put the following
code in each section that you
like to switch to a certain version of PHP:

  
    AddHandler php-cgi .php
    Action php-cgi /cgi-bin-php/php-cgi-5.3.2
  

Conclusion

With the simple steps listed above and the help of phpfarm,
you are able to test your web applications in a dozens or more
PHP versions easily.

As as side note: The CGI versions of PHP are only used on the vhosts
that you determine. All others are still served by mod_php
that was probably setup before, making it trivially easy to keep your
server’s main web sites up-to date with your distribution’s
package manager.

Filsh.net video clip converter….

Mar 12, 2010

pFilsh.net is a video clip converter. It works with all OS’s. I believe it’s an add on to Firefox.nbsp; A friend in Germany sent it to me.nbsp; (www.filsh.net).nbsp; I haven’t tried it. But for those who are into doing video clips with You tube, etc.nbsp; it’s worth a try. It has a lot of good reviews. Seems easy to download, and use.nbsp;/p