Author Archives: Silver Moon
How to Install Virtualbox Guest Additions in Fedora 18
Quick Command to check CentOS version
If you are running a centos server for example then you might need to check the version number and kernel version. This is important to know if you are running the latest version or not and what updates are available for your version. This is an absolutely basic task for a sys admin to find… Read More »
How to Install Xfce desktop on Debian 7 wheezy
Xfce Desktop Xfce is a lightweight desktop environment system for linux, and is a good alternative to the complex and clumsy gnome. If you are running Debian linux on your computer, then you can easily install the Xfce desktop. In this post I am going to show you how to install xfce on debian. Install… Read More »
Install KDE desktop on Debian 7 wheezy
KDE In this post I will show you how to install the kde desktop on Debian 7 (wheezy). The packages for the kde desktop are available in the default repository of debian and can be installed directly from synaptic or apt-get. There are 3 different sized kde desktop packages that can be installed depending on… Read More »
How to Add Ubuntu PPA Repository to Debian 7 Wheezy
Launchpad ppa On ubuntu, lots of software can be installed from the launchpad ppa repository. The repository url has to be added to the apt sources list on ubuntu and then the software can be installed from the package manager like synaptic. However for Debian there is no such ppa repository. But since ubuntu is… Read More »
How to Install Adobe Acrobat reader 9.5 on Ubuntu 13.04
How to take screenshot of Virtualbox Guest OS
Virtualbox If you are a blogger, doing experiments with various oses on virtualbox and writing tutorials and posts, then you will need to take screenshots of the guest os things inside virtualbox. For normal screenshot tasks a tool like shutter works very well. But with virtualbox you get the screenshot of the entire virtualbox window… Read More »
How to Install Htop on centos 6.4
Htop on centos When it comes to monitoring the cpu and ram usage on your linux machine, htop is the best tool to use. It is an ncurses based commandline too that does not require any gui like desktop, but still provides a very interactive and featureful interface to monitor processes running on the system… Read More »
Use Ncdu command to Check disk space usage on Linux
How to Enable Active Mode Ftp in Dolphin / Konqueror in KDE
Dolphin and Konqueror are the main file system browser on the kde desktop on linux. And they can open remote ftp file systems with the “ftp://” urls. By default they use passive mode ftp, but can be configured to use active mode ftp as well. The ftp protocol operates in 2 modes. Namely passive and… Read More »
Use ssh to browse remote file system in Dolphin & Konqueror on KDE
Install and configure Apache and PHP with cgi on Ubuntu or Debian
Install Quanta plus web editor on ubuntu 13.04
Quanta Plus Welcome to another great post on how to install quanta plus on ubuntu. Quanta plus is my favorite php web development tool simply because its too simple compared to all the alternatives out there. But most important is that its built with qt, which makes it a native, fast and efficient application on… Read More »
Run php-fpm with separate user/uid and group on linux
Php-FPM Php fpm is the new way to setup php to run with your webserver. Php-fpm is a fastcgi process manager for php that is totally separate from the webserver. The webserver communicates with fpm through a socket and passes the name of the script to execute. So fpm can run with any web server… Read More »
Redirect non-www url to www in nginx
Nginx Recently I was setting up nginx on my new server where this blog is being hosted. Nginx is very different from the more popular apache web server in many ways. It has an event driven architecture which makes it much faster and high traffic tolerant compared to apache. In apache the redirects used to… Read More »
Setup Apache and Php with mod_fcgid on Ubuntu/Debian
Mod Fcgid Mod Fcgid is an apache module that enables it to talk to fastcgi enabled application. It can be used to setup with apache to run php over fastcgi. It is an alternative to the older mod_fastcgi and has some differences with it. In this post we shall be setting up apache with php… Read More »
Output buffering in php and apache
Output Buffering Output buffering is processing mechanism where the output being generated by a program is held in a place till its size reaches a limit or the generation is complete. Only after, will the output be send to its destination. In php for example, doing and echo generates some output. Now this output might… Read More »
Install and configure Apache and php with mod fastcgi on Ubuntu/Debian
An overview of apache mpms and php server apis
Apache + Php When setting up an apache+php server to run your php applications, there are lots of configuration parameters to deal with. The most important is the php Server Api (sapi). It determines how exactly is apache going to run the php scripts. Along with the php sapi another important thing to select is… Read More »