Month: April 2014

Linux: Installing Ruby on Rails

The official Ruby on Rails documentation has a good guide on how to install Ruby on Rails. I still had some problems setting everything up, so here I will describe how I installed Ruby on Rails on Linux (LMDE).
Installing Ruby on Linux Before installing Ruby on Rails we need to install Ruby as well as Ruby Gems and sqlite:
sudo apt-get install ruby rubygems sqlite3 Installing Ruby on Rails on Linux sudo gem install rails -V -V because otherwise you will get no direct feedback.

Installing QGIS on LMDE (Linux Mint Debian Edition)

The solution that I found for installing qgis (Quantum GIS) on LMDE (Linux Mint Debian Edition) is not optimal, but the only one that worked for me.
I am getting QGIS directly from the QGIS Debian repository and I am temporarily adding the main debian repository to my sources, because QGIS depends on some packages that are not included in LMDE.
LMDE: Install QGIS Add QGIS to your sources.

Fix : Internal Server Error – Webuzo

Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.

Deploy a wide range of web applications as well as system applications from the Webuzo Library by just a click of a button or manually deploy your sites to your domains.

Users usually face the “Internal Server Error” due to negligence of permissions to the files/folders and similar issues.

Some of the solutions to fix this issue on Webuzo are as follows

Sol #1

Assumption : Webuzo User (soft) has a domain example.com with the path “home/soft/www/public_html

In the above scenario, files/folders with the home/soft/www/public_html directory should have the owner and group set to the webuzo username i.e soft instead of root.

Execute the follow command from the terminal to fix the issues related to the permissions
Root > chown -R soft:soft /home/soft/public_html

Note : Replace “soft” by your Webuzo Username and “/home/soft/public_html” with the path to your files.

Sol #2

Webuzo requires to be installed on a minimal CentOS 5.x / 6.x or Red Hat Enterprise Linux 5.x / 6.x or Scientific Linux 5.x / 6.x (x86 or x86_64) / Ubuntu LTS machine.


Important !!!

Note : There should be no third-party tools like PHP, Apache, MySQL,etc installed on the server.

Usually, Apache installed by default on the server conflicts with Webuzo’s Apache Binary located at /usr/local/apps/apache resulting in the “Internal Server Error”.

Fix for the same will be to remove the default installation of Apache from the server and remove/install Apache using Webuzo.

Step 1) Remove default Apache service from the server
Root > yum -y remove httpd

Step 2) Remove and Install Apache by a click using Webuzo
Navigate to Webuzo Enduser Panel >> Apps >> WebServers >> Apache

Click on the “Remove” button to remove Apache >> “Return to Overview” >> Click on the “Install” button to install Apache.

Guide : http://www.webuzo.com/wiki/Install_System_Apps

Video Tutorial : https://www.youtube.com/watch?v=otOgYTsKuxQ

Step 3) Restart the Apache service from the terminal for once.
Root > service httpd restart

Rare Case Scenario:
If at all your face an error like “mod_wsgi.so could not be located” while restarting the Apache service, simply remove and install Python2 from the Webuzo Enduser Panel >> Server Side Scripting >> Python2

Restart the Apache Service !!!
Root > service httpd restart

That’s It !!!

Other Issues
Invalid contents in the file .htaccess on your server can lead to Internal Server Error as well.

Check for the error logs for the particular domain in the Apache Logs directory to learn about the cause for the error!!!

Apache Logs Path : /usr/local/apps/apache/logs/

Hope this information was useful !!!

Webuzo Demo
Admin Panel : http://demo.webuzo.com/
Enduser Panel : http://demo.webuzo.com/enduser/

Webuzo Support
Support : https://www.softaculous.com/support/open.php?

Heartbleed Vulnerability fix on Webuzo

Heartbleed Vulnerability fix on Webuzo

Heartbleed LogoThe Heartbleed Bug is a serious vulnerability in the popular OpenSSL cryptographic software library. This weakness allows stealing the information protected, under normal conditions, by the SSL/TLS encryption used to secure the Internet. SSL/TLS provides communication security and privacy over the Internet for applications such as web, email, instant messaging (IM) and some virtual private networks (VPNs).

The Heartbleed bug allows anyone on the Internet to read the memory of the systems protected by the vulnerable versions of the OpenSSL software. This compromises the secret keys used to identify the service providers and to encrypt the traffic, the names and passwords of the users and the actual content. This allows attackers to eavesdrop on communications, steal data directly from the services and users and to impersonate services and users.

This tutorial guide users to manually upgrade their OpenSSL installation.

Step 1) Find the architecture of your server
Root > uname -i

Step 2) Stop your webserver (Apache/Nginx/Lighttpd)
For Apache
Root > service httpd stop

Step 3) Remove and Create the OpenSSL directory to download the latest packages.
Root > rm -rf /var/softaculous/apps/openssl/
Root > mkdir /var/softaculous/apps/openssl/
Root > cd /var/softaculous/apps/openssl/

Download the openssl package as per your architecture.
For 32 bit machine (x86)
Root > wget http://files.webuzo.com/apps/openssl-x86.zip

For 64 bit machine (x86_64)
Root > wget http://files.webuzo.com/apps/openssl-x86_64.zip

Step 4) Unzip the archive
For 32 bit machine (x86)
Root > unzip openssl-x86.zip
Root > rm -rf openssl-x86.zip

For 64 bit machine (x86_64)
Root > unzip openssl-x86_64.zip
Root > rm -rf openssl-x86_64.zip

Step 5) Extract the archive on the existing openssl location
Root > cd /usr/local/apps
For 32 bit machine (x86)
Root > tar -zxvf /var/softaculous/apps/openssl/openssl-x86.tar.gz

For 64 bit machine (x86_64)
Root > tar -zxvf /var/softaculous/apps/openssl/openssl-x86_64.tar.gz

Step 6) Start the webserver(Apache/Nginx/Lighttpd)
For Apache
Root > service httpd start

Step 7) Confirm your OpenSSL version
Root > /usr/local/apps/bin/openssl version

Test your server for CVE-2014-0160 !!!
http://filippo.io/Heartbleed/

We will be launching a New version of Webuzo soon which will automatically fix this issue !!!

If you still face any issues, please open a support ticket with the root details of your server and access to your Webuzo Enduser Panel, we will resolve your issues.

Support : https://www.softaculous.com/support/open.php?

Source : http://heartbleed.com/

Installing System Applications using Webuzo

A Quick video tutorial to assist you in installing system applications by just a click of a button using
Webuzo.

Install System Applications

Webuzo provides a wide library of system application which can be installed by just a click of a button from the Webuzo Enduser Panel

Install Apache, MySQL, NGINX, Java, Tomcat, MongoDB, Python2, Perl, PHP 5.3, PHP5.4, PHP5.5, Ruby by just a click from the Webuzo Enduser Panel.

System applications are installed and configured by Webuzo !!!

Install popular scripts like WordPress, Joomla, Prestashop, Magento, Drupal, etc all by just a click of a button !!!

http://webuzo.com/apps/

All-in-one Single User Control Panel
– Manage Domains
– Manage FTP User
– Manage Databases
– Manage DNS Records
– Manage SSL Certificates
– Manage Email Accounts/ Forwarders
– Security Tools
– Server Information, etc

Demo : http://demo.webuzo.com/enduser/

Website : http://webuzo.com/

Get Email from your Domain to Gmail

Get Email from your Domain to Gmail

Webuzo LogoWebuzo allows users to create email account for their domains by deploying the Email Server (Exim + Dovecot) by a click of a button. Exim and Dovecot can be installed from the Webuzo Enduser Panel >> Apps >> Utilities Category.

Quick Guide: http://www.webuzo.com/wiki/Install_System_Apps

Users can freely create as many email accounts required for the domains added to their Webuzo Panel.

Quick Guide : http://webuzo.com/wiki/Add_Email_Account

Webuzo provides SquirrelMail as the default Webmail to access emails of the accounts created from the Webuzo Enduser Panel.

Quick Guide : http://webuzo.com/wiki/Access_Emails

Once you have created Email Accounts using the tutorials mentioned above, here is a step-wise guide to use Gmail to retrieve it via the web.

Patch For Email Issues on CentOS 6:
http://www.webuzo.com/blog/tag/email

Step 1) Login to your Gmail account. If you don’t have a Gmail account, you can set one up here.

Step 2) Hit Settings to Add your domain email to GMAIL.
Gmail Settings

Step 3) Click on the “Account” Tab >> “Add a POP3 mail account you own.”
Add a POP3 mail account you own

Step 4) Add your email address to the popup window and click “Next Step.”
Add Email address to GMAIL

Step 5) Fill in your Username, Password, and POP Server to configure your mail box and Click “Add Account”
Configure Email Box to GMAIL

Step 6) Your decision on whether to leave a copy of retrieved message on the server will primarily depend on where you want to receive your mail. If you’re going to use Gmail as your exclusive source for email, uncheck the leave on server box.

Step 7) Confirm the settings and Hit “Finish” or “Next Step” is “Yes” is selected.
Confirm the settings to GMAIL

Simple Eh ?

Demo :
Admin Panel : http://demo.webuzo.com/
Enduser Panel : http://demo.webuzo.com/enduser/

Support : https://www.softaculous.com/support/open.php?