Linux UBUNTU .htaccess Password Protect
In Ubuntu server, .htaccess file access is disabled by default. Apache suggests in general that .htaccess be disabled if the users have access to the server’s configuration files.
There may be cases when users do not have access to Apache’s configuration setting files or some acute cases where users run multiple applications which might need different access controls at private and public levels. Continue Reading…
Ubuntu user account creation, root privilege assignment tips
After you login as a user in Ubuntu machine, you can go to the root account by typing
user@myhost:~# sudo -s
It will ask for the password of the current user and once you finish typing in the password, you are in the root user account. Continue Reading…
How to find the version of CentOS running in your machine?
The following commands can be executed to find the version of CentOS running in your machine.
# cat /etc/issue
# cat /etc/redhat-release
Different hosting locations have different settings for mod_rewrrite module. In some locations it is turned ON by default and for some it isn’t.
If you are hosting your application in your local host or on a dedicated server, then it is a matter of editing httpd.conf file within Apache server folder. Ensure that Continue Reading…
CakePHP commonly known as ‘Cake’ is easy to install and faster to configure. It needs Apache (with mod_rewrite enabled), Php 4.3.2 or higher, MySQL/PostgreSQL/other ODBC, ADODB compliant databases.
XAMPP by ApacheFriends or MAMP has a complete installation of the above products which is an ultimate time saver. But, you should prefer installing each software individually in order to get a grip on the subject.
You can download the latest release from http://cakeforge.org/frs/download.php/695/220.127.116.1162.tar.gz Continue Reading…
A programmer may face acute conditions when working on PHP/MySQL on windows platform where he/she needs to configure certain settings or fine tune parameters or set permissions which involve usage of unix commands.
For e.g. if you had a chance working with CakePHP framework or configuring it on windows, you might have come across this situation.
Now, Windows users have the possibility to run unix commands by installing a command-line interface (CLI) such as Cygwin (http://www.cygwin.com) or MinGW (http://www.mingw.org) to lauch the CLI on windows environment.
Subversion is a version control system software that is used for effective and efficient quality management of projects consisting of any number of files. It is a substantial alternative to CVS repository and has gained popularity in very short time. Subversion is used in many companies ranging from small/medium scale companies to large scale enterprises because of its ease of use compared to other available products in the market. Continue Reading…
By default Apache service is turned off and a user need to turn it on by issuing the following command with root permissions. Continue Reading…
Part 2 – Making OpenVPN work as a Client
When we want to connect to Office network from an external location or from home, then we need to setup our Linux box to establish communication with the server at the office via a secured link over the internet. In this part, I will list down the steps needed to establish a client communication. Continue Reading…
Part 1 – VPN Intro, Setting up the Linux CentOS 5 (RedHat/Fedora) environment
VPN – Short Intro
VPN is an acronymn for Virtual Private Networks which facilitates extending of networks beyond horizons shortening the gap between remote offices with the head office. It is a private network over internet which is a public medium providing a “virtual” office environment. Continue Reading…