Why apache2-mpm-prefork?

For several days I’ve been trying to compile the required installers for a project which used debian based package. Iang’s code really helps, try it out. The problem is, apache2 and php5 package seems had a little conflict.

apache2 has apache2-mpm-worker_2.2.9-7ubuntu3_i386.deb which is: (http://packages.ubuntu.com)

Each Apache Multi-Processing Module provides a different “flavor” of web server binary, compiled with a different processing model.The worker MPM provides the default threaded implementation. It is recommended especially for high-traffic sites because it is faster and has a smaller memory footprint than the traditional prefork MPM.

and php5 has apache2-mpm-prefork_2.2.9-7ubuntu3_i386.deb which is:

The prefork MPM provides a non-threaded, pre-forking implementation that handles requests in a manner similar to Apache 1.3. It is not as fast as threaded models, but is considered to be more stable. It is appropriate for sites that need to maintain compatibility with non-thread-safe libraries, and is the best MPM for isolating each request, so that a problem with a single request will not affect any other.

And in the end you must replace the worker with the prefork version or it’ll conflict. So the question is why? What if I need to deploy them into production?

And why I don’t have this kind of conflict problem if i use apt-get install php5 apache2 instead.


Migration to open source

Well, not exactly, but I’m trying 😛 It started with the operating system. Once windows first then ubuntu on vmware, now ubuntu first then windows on virtualBox. So far so good, except for a few things. Compiz vs ATI, still not perfect on video playback, the video will start flickering for no reason. Need to change video output to X11 on VLC, or No Vx on gstreamer but it will become slow. Then download manager, why i can’t find any single good download manager for linux platform (AFAIK) with good queueing system, timer, sites login, thread manager, and stable enough. JDownloader seems to be a good candicate, but if it hangs every once in a while, than no thank you.

WinRar, nothing can be as powerful enough as WinRar 😀 ultima prime, nothing can compare it in the linux platform, though nautilus seems fine for now. And games, totally a big loss for this one, just when i want to start my “keep in touch with the latest games” campaign. Wine will never replace it, ever 😛 But what the hell, it’s been done, let’s do it and have fun 😀

Very Simple Way to Install Xfce on Debian

Thanks Wolven, for the info : http://forums.debian.net/viewtopic.php?t=26566&sid=5a3dcfd97e3fefe12029ab3c7eb5cf8b

So I want to install linux on this mini server with only 2 Gigs of space, but most today distros need more than that. So Debian standard system with Xfce it is.

Most newbies like me, don’t know that you need to install xorg first, then install the preferable desktop manager like GNOME, KDE, or maybe Xfce.

Simply said, these are the steps :

  1. Update the repository
  2. Install the required packages
  3. Configure xorg
  4. configure ALSA sound
  5. start gdm / restart

And here are the commands :

apt-get update
apt-get install xserver-xorg-core xorg alsa-base alsa-utils hal udev gdm xfce4 xfce4-goodies xfce4-mixer xfce4-mixer-alsa thunar-archive-plugin
dpkg-reconfigure xserver-xorg

and… it’s done 🙂

Kambing, Debian repository

Debian stable repository from kambing, for the sake of reminder 😀

deb http://kambing.ui.edu/debian/ stable main contrib non-free
deb-src http://kambing.ui.edu/debian/ stable main contrib non-free
deb http://kambing.ui.edu/debian-security/ stable/updates main contrib non-free
deb-src http://kambing.ui.edu/debian-security/ stable/updates main contrib non-free

Kambing feels a bit slow?

Don’t ask me why, maybe fajran knows. All I know is, sometimes it gave me a frustatingly 5 to 15 Kbps speed only. How about other “officially” Indonesian mirror? PT. Telekomunikasi Indonesia, IndikaNet, and Ubuntu.indika.net.id-archive2 each have one week behind update, so they may not too appealing for you omg-i-need-the-latest-update-now-fast people.

What you want is NCHC server from our Taiwanese friend, with 20Gbps and only one day behind update. I got 150+ kbps with this one. Here’s the address you might want to try.

deb http://free.nchc.org.tw/ubuntu/ YOUR_DISTRO_SERIES_HERE main
deb-src http://free.nchc.org.tw/ubuntu/ YOUR_DISTRO_SERIES_HERE main