Category : "Ubuntu"

Ubuntu tips and tricks

Setup apache + php with mod_fcgid on ubuntu

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 using this module. You can also . Since fastcgi keeps php execution out of apache, we are free to use [...]

Install apache + php with mod fastcgi on ubuntu

Fastcgi based php handler Mod_fastcgi is an apache module that enables apache to talk to fastcgi enabled applications. It can be used to run php code over fastcgi through the php-cgi binary which is fastcgi enabled. Fastcgi has many improvements over the traditional cgi model of executing external programs inside a webserver. With fastcgi multiple processes are kept alive and each process is reused to serve multiple requests one after another. There are settings to [...]

Install secure shell (ssh) on ubuntu

Secure Shell Secure shell is a secure communication protocol that can be used for remote administration (like a webserver) over a terminal. It is technically a secure version of telnet. A shell or console on any system is meant to execute commands on it and control it. Telnet used to do this. But telnet transmitted all data in plain text format and hence is insecure by design. To overcome this, the communication is wrapped with [...]

Install quanta plus on ubuntu 12.10

Quanta Plus Quanta Plus is web development tool for the KDE desktop that resembles dreamweaver of windows. But it is a dead project now and is not being developed anymore for years. However it is still my favorite because it works very well. Remarkable features are : 1. Group files into projects. 2. Auto-suggestions for php code 3. Tracking changed files and uploading them at one go 4. Inbuilt ftp browser that tracks differences with [...]

Play music from command line on ubuntu

Terminal If you are too addicted to the terminal/console and want to use it for every possible thing, then know that it can play music as well. There are many utilities for playing music files like mp3 directly from the commandline. They can be used to browse the file system, select music files and make a playlist. All from inside a terminal. To get even more power, use a drop down terminal like yakuake or [...]

Enable smooth scrolling in Google Chrome

Firefox by default has smooth scrolling enabled on Ubuntu. With smooth scrolling, if you turn the mouse wheel, the page scrolls by some percentage not in a single moment, but taking some time like an animation. It gives a similar effect as if the page is being scrolled by fingers on a touch device. Google chrome does not yet have a direct setting to enable/disable smooth scrolling. However the setting is hidden inside. To access [...]

How to encrypt / password protect directories in ubuntu

Securing confidential data We often need to put some confidential data on the hard drive, in which case it becomes essential to have some kind of security mechanism to keep it hidden from unauthorised access of any kind. It could contain credit card numbers, bank statements and list of passwords for various online services. One way to protect such data with security is to put them in a directory that is password protected or is [...]

How to create password protected zip archive on ubuntu

Command Line The zip command can be used to create password protected zip files easily. Here is a quick example $ zip -P *secret* compressed.zip file.txt Note that the P is capital. Can also type “–password” instead of the “-P”. $ zip –password *secret* compressed.zip file.txt The above approach might be a bit insecure since the password is visible and the command is stored in the terminal history and can be retrieved. Another option is [...]

How to fix “error while loading shared libraries: libgtk-x11-2.0.so.0″

The following error came up when I tried to run Adobe Acrobat Reader on ubuntu 12.10 error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory To fix this, simple install the package ia32-libs-gtk $ sudo apt-get install ia32-libs-gtk Now run the application again and the error should go away. Last Updated On : 4th March 2013

Share tata photon connection across lan in ubuntu

In a previous article we saw how a windows netbook/laptop can be used to share a tata photon connection with other computers on a LAN. Now we shall do the same thing on Ubuntu. The technique is very simple and uses a tool called firestarter. Internet connection sharing can be setup on linux by adding rules to iptables, however it is not very user friendly and difficult for users with no previous experience of Linux. [...]

Pages:123456»