Category Archives: Linux

How to install winrar for Linux

You can install & use winrar for Linux. The installation is quite simple to follow even for Linux newbies.

Open a terminal, type sudo su – to switch to root.

cd /usr/src

wget -c http://www.rarlab.com/rar/rarlinux-x64-3.8.0.tar.gz

tar -xzf rarlinux-x64-3.8.0.tar.gz

cd rar

make

You are done. Now you can use the commands rar and unrar  for compressing and uncompressing files respectively.

eg: unrar filename.rar

Install file splitter for Linux.

Download HJSplitlx file splitter for Linux from here :

tar -xzf hjsplitlx.tar.gz to extract the file HJSplitLX

Install the basic requirements :

http://redhat-archive.osmirror.nl/updates/7.1/en/os/i386/XFree86-libs-4.1.0-50.i386.rpm

[bash]rpm -ivh XFree86-libs-4.1.0-50.i386.rpm[/bash]

http://biznetnetworks.dl.sourceforge.net/project/kylixlibs/kylixlibs3/Suse%208.2/kylixlibs3-runtime-3.0-rh.4.i386.rpm

[bash]rpm -ivh kylixlibs3-borqt-3.0-rh.2.i386.rpm[/bash]

to start the software ./HJSplitLX

You may get the following error :-

[bash][root@techinterplay src]# ./HJSplitLX[/bash]

[bash]./HJSplitLX: symbol lookup error: ./HJSplitLX: undefined symbol: initPAnsiStrings[/bash]

Execute the below command to resolve the error

[bash]ln -s /usr/lib/kylix3/libborqt-6.9-qt2.3.so /usr/lib/libborqt-6.9-qt2.3.so[/bash]

[root@localhost src]# ./HJSplitLX

you are done!

How to install flash player in Centos / Redhat.

This post can also answer the question ” how to fix the firefox error on centos/redhat linux”
Installing the flash player on centos/redhat linux seems to be very difficult sometimes. But the installation is quite simple :) . The flash player may not be installed automatically using firefox. While trying install firefox, you may get the error following error ” Firefox could not install this item because “install-0zr..rdf” (provided by the item) is not well-formed or does not exist. Please contact the author about this problem.”The Screeshot of error is provided. To fix this issue, you need to upgrade/install certain libraries using yum. I have mentioned the commands below.
1. First you need to install those libraries (.i386 and .x86_64):
yum install curl compat-libstdc++-33 glibc nspluginwrapper
2. Once done with the libraries, we need to download the flash player rpm.
mkdir flash
cd flash
download the rpm inside the folder flash.
click here to Download
3. Next we need to execute the command below to install the rpm. This command should be executed inside the folder, where the rpm is downloaded. Ours is in the folder ‘flash’.
rpm -ivh flash-plugin-10.0.12.36-release.i386.rpm
(replace with the version of rpm you have downloaded)
4. Close the Firefox and restart it. You should be able to see the flashes hereafter.

Installing the flash player on centos/redhat Linux seems to be very difficult sometimes. But the installation is quite simple :) . The flash player sometimes fails to install automatically using firefox. While trying install , you may get the error

[bash]" Firefox could not install this item because "install-0zr..rdf" (provided by the item) is not well-formed or does not exist. Please contact the author about this problem."[/bash]

The Screeshot of error message:

To fix this issue, you need to upgrade/install certain libraries using yum. I have mentioned the commands below.

1. First you need to install those libraries (.i386 and .x86_64):

[bash]yum install curl compat-libstdc++-33 glibc nspluginwrapper[/bash]

2. Once done with the libraries, we need to download the flash player rpm.

[bash]mkdir flash[/bash]

[bash]cd flash[/bash]

download the rpm inside the folder flash.

click here to Download

3. Next we need to execute the command below to install the rpm. This command should be executed inside the folder, where the rpm is downloaded. Ours is in the folder ‘flash’.

[bash]rpm -ivh flash-plugin-10.0.12.36-release.i386.rpm[/bash]

(replace with the version of rpm you have downloaded)

4. Close the Firefox and restart it. You should be able to see the flashes hereafter.

cPanel icons missing on WHM

Usually WHM allows you to login to the cPanel accounts from the “List Account” option. But sometimes you may not able see the cPanel icons which prevents you to login to the cPanel account as root.

FIX:-

goto “Tweak Settings” and uncheck the option below

Disable login with root or reseller password into the users’ cPanel interface. Also disable switch account dropdown in themes with switch account feature.

How to install .deb files using dpkg

Most of the Ubuntu users depend apt-get to get and install debian packages. Using apt-get application is the quickest way to find and install debian packages. The installation part is done by an application named dpkg. Dpkg doesn’t have to be used by apt-get, you can use it manually as well.
dpkg is a medium-level package manager for Debian
In keeping with GNU/Linux system security, only the superuser(sudo) can use the dpkg application. Dpkg is a typical GNU/Linux application that is controlled by command-line switches. Possibly the most common use of dpkg is to install a local .deb file.
To install a .deb file, switch to ‘root’ and use the command:
dpkg -i filename.deb
Dpkg can also be used to:
dpkg –unpack: unpacks the file but does not install it
dpkg –configure: presents whatever configuration options are available for the package
dpkg –remove: removes a package
Some of the package manipulation commands are actually carried out by an application called dpkg-deb. In those cases, dpkg just acts as a front end to dpkg-deb and passes the commands to it.
Dpkg-deb can also be used to manipulate .deb files. Some of the more useful commands of dpkg-deb are:
dpkg-deb –show filename.deb
This will display the information for filename.deb. Please refer the dpkg man page for more information

Most of the Ubuntu users depend apt-get to get and install debian packages. Using apt-get application is the quickest way to find and install debian packages. The installation part is done by an application named dpkg. Dpkg doesn’t have to be used by apt-get, you can use it manually as well.

dpkg is a medium-level package manager for Debian

In keeping with GNU/Linux system security, only the superuser(sudo) can use the dpkg application. Dpkg is a typical GNU/Linux application that is controlled by command-line switches. Possibly the most common use of dpkg is to install a local .deb file.

To install a .deb file, switch to ‘root’ and use the command:

dpkg -i filename.deb

Dpkg can also be used to:

dpkg –unpack: unpacks the file but does not install it

dpkg –configure: presents whatever configuration options are available for the package

dpkg –remove: removes a package

Some of the package manipulation commands are actually carried out by an application called dpkg-deb. In those cases, dpkg just acts as a front end to dpkg-deb and passes the commands to it.

Dpkg-deb can also be used to manipulate .deb files. Some of the more useful commands of dpkg-deb are:

dpkg-deb –show filename.deb

This will display the information for filename.deb. Please refer the dpkg man page for more information.

Openarena: FPS game for ubuntu users.

I was on a search for a ‘BIG’ game that could be used on ubuntu desktop and my search ended up on ‘Openarena’. Openarena is a FPS (first-person shooter) game suitable to those above 17 due to violent and racy content. It can run on Linux, Mac OS X, and all 32-bit flavors of Windows that I know of (that supports

Openarena

OpenGL. This includes Windows 95). If you can run “one of those other 3d shooters” you can probably run OpenArena. You can run/play it on processors as slow as a Pentium 90MHz with 32MB of RAM, but it is recommended for at least a PII 233MHz processor, with at least 96MB of RAM, for any playability.

Openarena is now one of my favourite games for Linux and I request you to give  it a try  :) . You may download Openarena from here :

Google Chrome for Linux : Download it now!

Google Chrome browser for linux“, I am using it!

The google chrome browser, the light weight browser i have ever seen is now available for linux. But they have released only a in-progress build of Google Chrome for Linux.  Google Chrome for Linux is released by Google for testing. I downloaded it and its my default browser now :) Luckily., it didnt crashed yet.

Google Chrome for Linux has the same look and feel as that was for the Windows. But the following significant chunks of functionality are known to be missing:

  • Plugins, including Flash (so no YouTube, Hulu, etc.)
  • Printing
  • Complex text
  • Complex tab dragging
  • Gears support
  • Other parts of the browser are notably incomplete, poorly tuned and broken. Google tells the users”beware!” :)

Google Chrome On Ubuntu

Google Chrome On Ubuntu

‘Chromium’ vs ‘Google Chrome’

Chromium is an open source browser project. Google Chrome is a browser from Google, based on the Chromium project.

Google chrome is build with open source code from Chromium . The current release for Google Chrome Linux is Dev channel .
Dev channel :- DEV channel is the  developer preview channel is where ideas get tested (and sometimes fail). The Dev channel can be very unstable at times, and new features usually require some manual configuration to be enabled. Still, simply using Dev channel releases is an easy (practically zero-effort) way for anyone to help improve Google Chrome.
Google Chrome Requirements for Linux :-
Intel Pentium 4 / Athlon 64 or later CPU; 32- or 64-bit Ubuntu 8.04 or later, or 32-bit Debian 5. Support for other Linux distributions is planned; unpacking the .deb files by hand may work.
Download and install the package appropriate for your system (just clicking on it should do the right thing):
Dev channel (for 32-bit systems): google-chrome-unstable_current_i386.deb
Dev channel (for 64-bit systems): google-chrome-unstable_current_amd64.deb

Note: Installing Google Chrome will add the Google repository so your system will automatically keep Chrome up to date. If you don’t want Google’s repository, do “sudo touch /etc/defaults/google-chrome” before installing the package.

Remember, Dev channel browsers may still crash frequently. See bug-reporting-guidlines-for-

How to switch into ‘root’ user on an Ubuntu desktop

Just an another simple tip for the Ubuntu desktop users.

Ubuntu wont allow you to login as root due to some security reasons. But we need the root privilage for ‘apt-get’, process restart etc. Most of the users use ‘sudo’ to execute these tasks, which will run the command with ‘root’ privilages. But you can simply switch into the root user by using the following command:

sudo su -

Type the password for the normal user and you will be switched into root.

faheem@tip:~$ sudo su -

[sudo] password for faheem:

root@tip:~# /etc/init.d/mysql restart

* Stopping MySQL database server mysqld [ OK ]

* Starting MySQL database server mysqld [ OK ]

root@tip:~#

Content management systems : All you need to make an impressive online presense

A content management system (CMS) is a computer application used to manage work flow needed to collaboratively create, edit, review, index, search, publish and archive various kinds of digital media and electronic text.

CMS’ are frequently used for storing, controlling, versioning, and publishing industry-specific documentation such as news articles, operators’ manuals, technical manuals, sales guides, and marketing brochures. The content managed may include computer files, image media, audio files, video files, electronic documents, and Web content. These concepts represent integrated and interdependent layers. There are various nomenclatures known in this area: Web Content Management, Digital Asset Management, Digital Records Management, Electronic Content Management and so on. The bottom line for these systems is managing content and publishing, with a workflow if required.

Here I am listing a few best content management systems available and its description.

Joomla :

Joomla CMS enables you to build websitesand powerful online applications. Many aspects, including its eaase-of-use and extensibility, have made Joomla the most popular website software available. Best of all Joomla is an Open Source.

Official site :  http://www.joomla.org/

Drupal :

Drupal is an open source content management platform. Drupal supports a variety of websites ranging from personal blogs, corporate websites to large community-driven websites. Drupal is highly customizable and allows Personalization. Drupal has a wide range of features.

Official site : http://drupal.org/

WebGUI :- 

WebGUI is a premier opensource CMS platform for managing your website, blog contents and web applications. WebGUI is very userfriendly and highly secured. It provid us plug-in facility.

Official site : http://www.webgui.org/

WordPress :- 

WordPress is a state-of-the-art publishing platform with a focus on aesthetics, web standards, and usability. WordPress is both free and priceless at the same time. You can create free wordpress blogs from wordpress.com. WordPress is the most commonly used CMS today. It supports a wide variety of plugins and themes.

Official site : http://wordpress.org/

TYPO3 :- 

TYPO3 is a free Open Source content management system for enterprise purposes on the web and in intranets. It offers full flexibility and extendability while featuring an accomplished set of ready-made interfaces, functions and modules.

official site : http://typo3.com/

Mambo :- 

Mambo is a full-featured, award-winning content management system that can be used for everything from simple websites to complex corporate applications. It is used all over the world to power government portals, corporate intranets and extranets, ecommerce sites, nonprofit outreach, schools, church, and community sites. Mambo’s “power in simplicity” also makes it the CMS of choice for many small businesses and personal sites.

official site : http://mambo-foundation.org/

e107 :- 

e107 is a content management system written in PHP and using the popular open source MySQL database system for content storage. It’s totally customisable and in constant development.

official site : http://e107.org/

XOOPS :- 

XOOPS is an extensible, OO (Object Oriented), easy to use dynamic web content management system written in PHP. XOOPS is the ideal tool for developing small to large dynamic community websites, intra company portals, corporate portals, weblogs and much more.

official site : http://www.xoops.org/

Plone :- 

A powerful, flexible Content Management solution that is easy to install, use and extend. Plone lets non-technical people create and maintain information using only a web browser. Perfect for web sites or intranets, Plone offers
superior security without sacrificing extensibility or ease of use.

official site : http://plone.org/

OpenCms :- 

OpenCms from Alkacon Software is a professional, easy to use website content
management system. OpenCms helps content managers worldwide to create and maintain beautiful websites fast and efficiently. OpenCms is based on Java and XML technology. It can be deployed in an open source environment (e.g. Linux, Apache, Tomcat, MySQL) as well as on commercial components (e.g. Windows NT, IIS, BEA Weblogic, Oracle).

oficial site : http://www.opencms.org/en/

Moodle :- 

Moodle is a Course Management System (CMS), also known as a Learning Management System (LMS) or a Virtual Learning Environment (VLE). It is a Free web application that educators can use to create effective online learning sites

official site : http://moodle.org/

Even though a lot of CMSs are available for free, most of us use WordPress, Joomla or Drupal. I am just familiar with these three and haven’t use the rest. I just listed their names here and their features are explained in detail on their respective official websites. Most of their features are similar :) . The features listed here are copied from their official websites.