How to set up a cron job on a site that's protected with .htaccess/.htpasswd?

To set a cron job on a website which is protected with .htaccess/.htpasswd password protection, instead of setting cron job as wget -O - -q -t http://www.example.com/cron.php or curl --compressed http://example.com/cron.php Set the cron job as below curl -u admin:PassworD --silent --compressed http://www.example.com/cron.php In the above cron, we have specified  .htaccess /.htpasswd protection. details where username is admin and password is …

Read More »

APPLICATION WARNING XXXXX: Your session has become invalidated

Mantis is one of the most commonly used open source bug tracker in the software industry. Sometimes users might complaint that they are getting following type of error message while logging off: APPLICATION WARNING XXXXX: Your session has become invalidated. Why the error occurs? If you are behind a web proxy that uses multiple exit points, then session validation will …

Read More »

[How To] Install phpMyAdmin from source code

php logo

phpMyAdmin provides Graphical User Interface (GUI) to manage MySQL database and users. In this post, I am going to discuss steps to install phpMyAdmin using source code. Steps: 1) Download source code file from here on the server and copy it to document root folder of the Apache. 2) Extract the archive and rename the extracted folder to phpmyadmin. It should …

Read More »

[How To] Reset MySQL root password

mysql logo

MySQL root password is important if you want to access phpMyAdmin, secure MySQL command prompt access, etc. In case one forgets the MySQL root password or wants to set root password, following steps should help to achieve the same. 1) Stop the MySQL Server: /etc/init.d/mysql stop/etc/init.d/mysql stop or /etc/init.d/mysqld stop/etc/init.d/mysqld stop 2) Start the MySQL configuration: mysqld --skip-grant-tables &mysqld --skip-grant-tables …

Read More »

[How To] Get 50GB Dropbox free storage space

The mobile companies like Samsung, HTC are providing 50GB dropbox storage space for some specific mobile handsets. Dropbox is really useful in many terms. When you register at Dropbox, it initially provided 2GB of storage space. This is the moment when you feel cheated as the commitment was of 50GB. There is nothing to worry as you can avail 50GB …

Read More »

php5-xxx 5.x.x-1ubuntux.x is to be installed [Solved]

While installing PHP modules using apt-get utility on Ubuntu system, you may end up with following error: php5-common 5.3.2-1ubuntu4 but 5.3.2-1ubuntu4.2 is to be installed The above error occurs because the package php5 (5.3.2-1ubuntu4.2) is present on your system bu apt-get utitlity is either trying to install module of higher or lower version. Solution: To resolve the issue, download the PHP …

Read More »

MySQL ERROR 1381 (HY000): You are not using binary logging [Resolved]

The following MySQL error might occur if you are using MySQL replication and binary logs. mysql> show binary logs; ERROR 1381 (HY000): You are not using binary logging Solution: I have already discussed the same problem here. If you are still facing issues then it might be possibility that problem is with MySQL my.cnf file. The my.cnf file structure for …

Read More »

Install Skype on Fedora 14 64-bit system

Hi, I was struggling with Skype installation on Fedora 14 64-bit OS as it is widely used for the other applications supported. But when it comes to Skype, then you are left alone. After many tries, I was successful to install Skype on Fedora 14 64-bit OS. for this, I used old Skype 32-bit version. This is not available on …

Read More »

Enable / Disable users to update Awstats from cPanel

Generally, users are not provided the rights to updated Awstats of the domain from the cPanel. But in some cases, it may require and the prvilidges can be given by: 1) Logging in the WHM 2) Navigate to Home > Server Configuration > Tweak Settings > Stats and Logs. 3) Select option "On" to enable users to update Awstasts from …

Read More »

Tomcat manager login details

To reset Tomcat manager password, follow simple steps. 1) Got to the apache-tomcat directory and open file following in your favorite editor cd /usr/local/apache-tomcat-6.0.20/conf/ vi tomcat-users.xml Part of file contents before update. <tomcat-users> <!-- <role rolename="tomcat"/> <role rolename="role1"/> <user username="tomcat" password="tomcat" roles="tomcat"/> <user username="both" password="tomcat" roles="tomcat,role1"/> <user username="role1" password="tomcat" roles="role1"/> --> </tomcat-users> Now , update the file as follows <tomcat-users> …

Read More »

[How To] Install mpeg-4 aac decoder, ffmpeg plugin for Fedora 18

fedora logo

Fedora is one of the widely used Linux distro for desktop. It offers good experience to the users and provides lots of new features. Once can watch video, listen to audio and use audio/video software's too. In case if your Fedora is unable to play audio/video then it might be an issue with the audio/video codecs. To install the video …

Read More »

[Solved] Device eth0 does not seem to be present

Linux logo

After cloning a CentOS machine from Oracle Virtualbox or from VMware template and generating new MAC address, I received following error message wile starting networking service. Device eth0 does not seem to be present, delaying initialisation Initially, I thought the issue might be with the network adapter but was not sure exactly which network adapter settings should be kept or changed.On further investigation …

Read More »

[How To] Install GNU C / C++ (gcc) compiler on Linux

Linux logo

While installing application from binary, following error occurred checking whether the C++ compiler works... no configure: error: in `/usr/local/src/iptux': configure: error: C++ compiler cannot create executables While checking the log, it was found to be issue with missing c/c++ compiler. If you find that GNU C  / C++ compiler is missing , it can be installed using yum or apt-get …

Read More »

[How To] Install Iptux on Linux

iptux logo

Iptux is a free IP messenger application which can be used in internal network for chatting and file sharing purpose. In this tutorial, we are going to see how to install Iptux using source and utilities like yum,apt-get,dpkg. To install Iptux on Ubuntu/Fedora/CentOS/RHEL using source: 1) Download the source from Google Code or Mediafire 2) Extract the archive. 2) Go to …

Read More »