Install / Configure Request Tracker 4.0.19 on CentOS / RHEL 5.x

Dear all,

What is Request Tracker ?

Request Tracker, commonly abbreviated to RT, is a ticket-tracking system written in Perl used to coordinate tasks and manage requests among a community of users. RT’s first release in 1996 was written by Jesse Vincent, who later formed Best Practical Solutions LLC to distribute, develop, and support the package. RT is open source (FOSS) and distributed under the GNU General Public License.

Click on this link to know more about Request Tracker :- http://en.wikipedia.org/wiki/Request_Tracker

Request Tracker
Request Tracker

This article is specially for them who find Request Tracker tough and difficult task to Install and Configure. In this article i will show you steps to Install Request Tracker on CentOS and RHEL 5.x. You can try this how to on i386 (32-Bit) and x86_64 architecture.

I have tested this article on RHEL 6.3 x86_64 bit, not tested on CentOS / RHEL 5.x but It should work.

Perform Following steps to Install / Configure Request Tracker on Linux :-

1. You need to be root.

2. Internet must be running from Terminal/CLI.

3. Stop Firewall Services and Disable services on boot. # This is not recommended on Production environment.

[root@requst-tracker ~]# /etc/init.d/iptables stop && /etc/init.d/ip6tables stop && chkconfig iptables off && chkconfig ip6tables off

4. Disable SELinux.

[root@requst-tracker ~]# vi /etc/selinux/config

Change it to SELINUX=disabled

[root@requst-tracker ~]# vi /etc/sysconfig/selinux

Change it to SELINUX=disabled

5. Restart your system to take effect of SELINUX configuration.

6. First of All Let’s move out existing repositories so by that We can avoid issue of conflict in dependencies.

[root@requst-tracker ~]# mkdir /root/origrepos
[root@requst-tracker ~]# mv /etc/yum.repos.d/*.repo /root/origrepos

7. Let’s configure Additional repositories.

[root@requst-tracker ~]# wget http://epel.mirror.net.in/epel/5/i386/epel-release-5-4.noarch.rpm
[root@requst-tracker ~]# rpm -Uvh epel-release-5-4.noarch.rpm
[root@requst-tracker ~]# echo "[master]
name=master
enabled=1
gpgcheck=0
baseurl=http://mirror.centos.org/centos/5/os/\$basearch" > /etc/yum.repos.d/centos.repo

8. Now Let’s Install Required Packages

[root@requst-tracker ~]# yum install  rpm* nmap expect vsftpd net-snmp* ntp* subversion subversion-devel mysql mysql-server mysql-devel screen perl-Crypt-PasswdMD5 graphviz php-xml php-cli php-mhash php-ldap php-devel php-pdo php-imap php-readline php-ncurses php-soap php-snmp php-common php-mcrypt php-odbc php-mbstring php-gd php-bcmath php php-xmlrpc php-pear php-mysql php-dba mod_perl-devel mod_auth_mysql mod_perl mod_authz_ldap gd gd-devel gd-progs gcc* --exclude=gcc-java* --exclude=gcc4-java phpmyadmin mod_fcgid perl-GD perl-GnuPG-Interface perl-GraphViz perl-YAML perl cpan httpd

9. Initiate CPAN Shell, Just Keep on pressing enter and leave default values :-

[root@requst-tracker ~]# perl -MCPAN -e shell

9.1 Set cpan to auto-follow dependencies :-

cpan[1]> o conf prerequisites_policy follow
cpan[2]> o conf commit
cpan[3]> quit

10. Setup required start services  and make sure below services are enabled on every boot.

[root@requst-tracker ~]# service mysqld start
[root@requst-tracker ~]# service httpd start
[root@requst-tracker ~]# chkconfig httpd on
[root@requst-tracker ~]# chkconfig mysqld on

11. Setup MySQL Password, as it will ask you during initializing database.

[root@requst-tracker ~]# mysqladmin -u root password 'YOUR-PASSWORD-HERE'

10. Let’s Now Download, Extract and Install Request Tracker from website :-

[root@requst-tracker ~]# useradd rt
[root@requst-tracker ~]# groupadd -g rt rt
For RHEL / CentOS 6.x
[root@requst-tracker ~]# wget http://download.bestpractical.com/pub/rt/release/rt-4.0.19.tar.gz
[root@requst-tracker ~]# tar zxvf rt-4.0.19.tar.gz
[root@requst-tracker ~]# cd rt-4.0.19
[root@requst-tracker rt-4.0.19]# ./configure --with-db-type=mysql --with-db-host=localhost --with-web-user=apache --with-web-group=apache --with-rt-group=rt --prefix=/opt/rt --enable-graphviz --enable-gd --enable-gpg
[root@requst-tracker rt-4.0.19]# make fixdeps
[root@requst-tracker rt-4.0.19]# make testdeps
[root@requst-tracker rt-4.0.19]# make install
=> In below step it will ask you to provide MySQL Password.
[root@requst-tracker rt-4.0.19]# make initialize-database

 

11. Configure request tracker to serve by Apache:-

[root@requst-tracker rt-4.0.19]# vi /etc/httpd/conf.d/requestracker.conf

###### STARTS FROM HERE #####
AddDefaultCharset UTF-8
Alias /rt/NoAuth/images /opt/rt/share/html/NoAuth/images/
ScriptAlias /rt /opt/rt/sbin/rt-server.fcgi/

DocumentRoot “/opt/rt/share/html”
<location /rt>
Order allow,deny
Allow from all
Options +ExecCGI
AddHandler fcgid-script fcgi
</Location>
###### ENDS HERE #####

12. Let’s fix permissions of some file so apache can access it.

[root@requst-tracker ~]# chown apache:apache /opt/rt/etc/RT_SiteConfig.pm
[root@requst-tracker ~]# chown apache:apache /opt/rt/etc/RT_Config.pm

13. Set Webpath for Request Tracker :-

[root@requst-tracker rt-4.0.19]#vi /opt/rt/etc/RT_SiteConfig.pm

Set($WebPath, “/rt”);

13.1 If you want Request Tracker to open on SSL Port Add below line to the same file
Set($WebPort, 443);

14. Restart Apache ( Web Server ) :-

[root@requst-tracker rt-4.0.19]# service httpd restart

15. Now You can open Request Tracker into your browser.
URL :- http://localhost/rt or http://<your-ip>/rt # If you are accessing from Network.
You can access through Default username and password :-
Username :- root

Password :- password

That’s it. Your Request Tracker is ready to use.

Hope this helps you all.

If you like this then Please Click Google +1 Button and Show Your Support. Your Support will encourage me to write more articles.

All Linux User’s Blog Mobile Applications :- http://www.tejasbarot.com/download-mobile-apps/

Please Keep in Touch with Social Networking :- 
Facebook Page :- https://www.facebook.com/AllLinuxUsersBlog

Enjoy Dropbox on Linux 🙂 Enjoy Ubuntu 🙂 Enjoy Linux 🙂 Enjoy Open Source 🙂

Install / Configure Request Tracker 4.2.2 on CentOS / RHEL 6.x

Dear all,

What is Request Tracker ?

Request Tracker, commonly abbreviated to RT, is a ticket-tracking system written in Perl used to coordinate tasks and manage requests among a community of users. RT’s first release in 1996 was written by Jesse Vincent, who later formed Best Practical Solutions LLC to distribute, develop, and support the package. RT is open source (FOSS) and distributed under the GNU General Public License.

Click on this link to know more about Request Tracker :- http://en.wikipedia.org/wiki/Request_Tracker

Request Tracker
Request Tracker

This article is specially for them who find Request Tracker tough and difficult task to Install and Configure. In this article i will show you steps to Install Request Tracker on CentOS and RHEL 6.x. You can try this how to on i386 (32-Bit) and x86_64 architecture.

I have tested this article on RHEL 6.3 x86_64 bit. I should work on RHEL/CentOS 6.x version.

Perform Following steps to Install / Configure Request Tracker on Linux :-

1. You need to be root.

2. Internet must be running from Terminal/CLI.

3. Stop Firewall Services and Disable services on boot. # This is not recommended on Production environment.

[root@requst-tracker ~]# /etc/init.d/iptables stop && /etc/init.d/ip6tables stop && chkconfig iptables off && chkconfig ip6tables off

4. Disable SELinux.

[root@requst-tracker ~]# vi /etc/selinux/config/

Change it to SELINUX=disabled

[root@requst-tracker ~]# vi /etc/sysconfig/selinux

Change it to SELINUX=disabled

5. Restart your system to take effect of SELINUX configuration.

6. First of All Let’s move out existing repositories so by that We can avoid issue of conflict in dependencies.

[root@requst-tracker ~]# mkdir /root/origrepos
[root@requst-tracker ~]# mv /etc/yum.repos.d/*.repo /root/origrepos

7. Let’s configure Additional repositories.

[root@requst-tracker ~]# wget http://epel.mirror.net.in/epel/6/i386/epel-release-6-8.noarch.rpm
[root@requst-tracker ~]# rpm -Uvh epel-release-6-8.noarch.rpm
[root@requst-tracker ~]# echo "[master]
name=master
enabled=1
gpgcheck=0
baseurl=http://mirror.centos.org/centos/6/os/\$basearch" > /etc/yum.repos.d/centos.repo

 

8. Now Let’s Install Required Packages

[root@requst-tracker ~]# yum install  rpm* nmap expect vsftpd net-snmp* ntp* subversion subversion-devel mysql mysql-server mysql-devel screen perl-Crypt-PasswdMD5 graphviz php-xml php-cli php-ldap php-devel php-pdo php-imap php-readline php-ncurses php-soap php-snmp php-common php-mcrypt php-odbc php-mbstring php-gd php-bcmath php php-xmlrpc php-pear php-mysql php-dba mod_perl-devel mod_auth_mysql mod_perl mod_authz_ldap gd gd-devel gd-progs gcc* --exclude=gcc-java* --exclude=gcc4-java phpmyadmin mod_fcgid perl-GD perl-GnuPG-Interface perl-GraphViz perl-YAML perl cpan httpd

 

9. Initiate CPAN Shell, Just Keep on pressing enter and leave default values :-

[root@requst-tracker ~]# perl -MCPAN -e shell

9.1 Set cpan to auto-follow dependencies :-

cpan[1]> o conf prerequisites_policy follow
cpan[2]> o conf commit
cpan[3]> quit

10. Setup required start services  and make sure below services are enabled on every boot.

[root@requst-tracker ~]# service mysqld start
[root@requst-tracker ~]# service httpd start
[root@requst-tracker ~]# chkconfig httpd on
[root@requst-tracker ~]# chkconfig mysqld on

11. Setup MySQL Password, as it will ask you during initializing database.

[root@requst-tracker ~]# mysqladmin -u root password 'YOUR-PASSWORD-HERE'

10. Let’s Now Download, Extract and Install Request Tracker from website :-

[root@requst-tracker ~]# useradd rt
[root@requst-tracker ~]# groupadd -g rt rt
For RHEL / CentOS 6.x
[root@requst-tracker ~]# wget http://download.bestpractical.com/pub/rt/release/rt-4.2.2.tar.gz
[root@requst-tracker ~]# tar zxvf rt-4.2.2.tar.gz
[root@requst-tracker ~]# cd rt-4.2.2
[root@requst-tracker rt-4.2.2]# ./configure --with-db-type=mysql --with-db-host=localhost --with-web-user=apache --with-web-group=apache --with-rt-group=rt --prefix=/opt/rt --enable-graphviz --enable-gd --enable-gpg
[root@requst-tracker rt-4.2.2]# make fixdeps
[root@requst-tracker rt-4.2.2]# make testdeps
[root@requst-tracker rt-4.2.2]# make install
=> In below step it will ask you to provide MySQL Password.
[root@requst-tracker rt-4.2.2]# make initialize-database

 

11. Configure request tracker to serve by Apache:-

[root@requst-tracker rt-4.2.2]# vi /etc/httpd/conf.d/requestracker.conf

###### STARTS FROM HERE #####
AddDefaultCharset UTF-8
Alias /rt/NoAuth/images /opt/rt/share/html/NoAuth/images/
ScriptAlias /rt /opt/rt/sbin/rt-server.fcgi/

DocumentRoot “/opt/rt/share/html”
<location /rt>
Order allow,deny
Allow from all
Options +ExecCGI
AddHandler fcgid-script fcgi
</Location>
###### ENDS HERE #####

12. Let’s fix permissions of some file so apache can access it.

[root@requst-tracker ~]# chown apache:apache /opt/rt/etc/RT_SiteConfig.pm
[root@requst-tracker ~]# chown apache:apache /opt/rt/etc/RT_Config.pm

13. Set Webpath for Request Tracker :-

[root@requst-tracker rt-4.2.2]#vi /opt/rt/etc/RT_SiteConfig.pm

Set($WebPath, “/rt”);

13.1 If you want Request Tracker to open on SSL Port Add below line to the same file

Set($WebPort, 443);

14. Restart Apache ( Web Server ) :-

[root@requst-tracker rt-4.2.2]# service httpd restart

15. Now You can open Request Tracker into your browser.
URL :- http://localhost/rt or http://<your-ip>/rt # If you are accessing from Network.
You can access through Default username and password :-
Username :- root

Password :- password

That’s it. Your Request Tracker is ready to use.

Hope this helps you all.

If you like this then Please Click Google +1 Button and Show Your Support. Your Support will encourage me to write more articles.

All Linux User’s Blog Mobile Applications :- http://www.tejasbarot.com/download-mobile-apps/

Please Keep in Touch with Social Networking :- 

Facebook Page :- https://www.facebook.com/AllLinuxUsersBlog

Enjoy Dropbox on Linux 🙂 Enjoy Ubuntu 🙂 Enjoy Linux 🙂 Enjoy Open Source 🙂

Install and Configure MRTG Graphs Linux / Network Graphs / Open Source

Hi All,

Article Submitted by Mr. Vishal Girish Joshi. I want to Thank him for his contribution for All Linux User’s Blog.

Ever wondered how you can easily graph your traffic load on network links through a simple grapher called MRTG.

Follow the below steps to configure mrtg to monitor your network usage and for misc troubleshooting in adverse times.

MRTG Graph
MRTG Graph

1) We just need a mrtg source / rpm file into our machine.

# yum install mrtg

2) Ensure snmp is enabled on the devices/servers we want to monitor

3) Create a directory of your wish in your www root folder (generally, /var/www/html)

In my scenario, i am monitoring my router/switches, so we need to enable snmp in that too. Also make sure that you have set the same community name (generally, `public`) on both sides.

After installing mrtg, we need to create configuration files using an in-built utility. So for that, go to your directory, created previously, and run the below commands.

# cfgmaker –global ’WorkDir: /var/www/html/Cisco-MRTG’ public@1.1.1.1 > mrtg.cfg ( You can give any name to the config file)

This will create the cfg file, have a look into it. this file will have the mrtg configuration pulled from the respective remote end (via snmp).

4) After this, we need to create the index files using the utility, indexmaker, this will display the output of mrtg.cfg file in the html format.

# indexmaker mrtg.cfg > index.html ( Be sure you are in your respective newly created directory )

5) Now, sometimes you can directly run the mrtg command to start the mrtg. But sometimes, it fails. So here is the workaround.

# env LANG=C /usr/bin/mrtg /var/www/html/Cisco-MRTG/mrtg.cfg (This will build up your first mrtg graphs and webpage)

If still errors, then run the above command for 2-3 times. Error will be gone automatically.

6) Also put the below code into your crontab

*/5 * * * * env LANG=C /usr/bin/mrtg /var/www/html/Cisco-MRTG/mrtg.cfg

7) Open the browser and type-in your url

For eg: 1.1.1.1/mrtg

If you are not able to access the url, go to /etc/httpd/conf.d/mrtg.conf. Here you can set different directives of apache, like,
Alias, Location, Authentication, etc according to your needs.

I generally prefer as setting Alias directive as ` Alias /mrtg /var/www/html/Cisco-MRTG ` and then allow the ip addresses you want to allow to view the mrtg graphs. You can also set the authentication parameters as per your requirement over htaccess, ldap, etc.

Hope this guide successfully helps you to set up mrtg for your organization.

Have a nice day and enjoy Linux.

Thanks to Mr. Vishal Joshi for the article.

You can also Submit Article by Visiting http://www.tejasbarot.com/submit-an-article/

Hope this will helps you all, If you face any issue regarding the same or its not working for you some how then please raise your questions / issues then comment down below.

If you like this then Please Click Google +1 Button and Show Your Support. Your Support will encourage me to write more articles.

All Linux User’s Blog Mobile Applications :- http://www.tejasbarot.com/download-mobile-apps/

Please Keep in Touch with Social Networking :- 

Facebook Page :- https://www.facebook.com/AllLinuxUsersBlog

Enjoy MRTG :) Enjoy Network Graphing 🙂 Enjoy Linux :) Enjoy Open Source :)

Send SMTP email from Command Line Linux / SSMTP / GMAIL

Dear All,

It is not possible that on every Single System there is mail server available.

There is no mail server configured on your System and You want to send e-mail using SMTP Authentication then you can send mail by ssmtp utility.

You can use the Same Method for RHEL / CentOS / Fedora / Ubuntu.

So In this Article, I will show you that How can can send e-mail using Gmail Authentication using SMTP.

SMTP Mail
SMTP Mail

In this Article, We will use utility called SSMTP.

SSMTP RPM / DEB / Package Must be installed to Use this utility.

To Perform this HowTo :-

Step 1. You have to be root to Install and Perform this Howto.

Step 2. Open the ssmtp.conf in /etc/ssmtp/ssmtp.conf and Add the Following lines as per your requirement.

[root@linux-support-tejas-barot-ahmedabad ~]# vim /etc/ssmtp/ssmtp.conf 

Add the Following Configurations to /etc/ssmtp/ssmtp.conf and SAVE and EXIT 

root=smtpauth@gmail.com
mailhub=smtp.gmail.com:587
AuthUser=smtpauth@gmail.com
AuthPass=P@ssw0rd
UseSTARTTLS=yes

Step 3. Now Let’s say Now You want to send a Particular message. Like :-

Subject will be “Check the Server Health” and Body will be your “Cannot Access Server“.

So For the same Create a File called /root/message.txt and Add Following content to file :-

[root@linux-support-tejas-barot-ahmedabad ~]# vim /root/message.txt
Subject: Check the Server Health
Cannot Access Server

Step 4. Now to Send an e-mail Execute Following command :-

Syntax is ssmtp -vvvv recipientmail@domain.com < <message-file>

[root@linux-support-tejas-barot-ahmedabad ~]# ssmtp -vvvv recipient@domain.com < message.txt

That’s IT

Hope this will helps you all, If you face any issue regarding the same or its not working for your some how then please raise your questions / issues then comment down below.

If you like this then Please Click Google +1 Button and Show Your Support. Your Support will encourage me to write more articles.

All Linux User’s Blog Mobile Applications :- http://www.tejasbarot.com/download-mobile-apps/

Please Keep in Touch with Social Networking :- 

Facebook Page :- https://www.facebook.com/AllLinuxUsersBlog

Enjoy SMTP 🙂 Enjoy SSMTP 🙂 Enjoy Open Source 🙂 

Howto: Configure Linux Warnquota for Fedora / Ubuntu / RHEL / CentOS

Hello,

In Linux, Most of the People Implement User Quota and Group Quota on Linux and The Might want to send e-mail warnings to the User by e-mail.

It Becomes very Important when the Mail Server is Running and You have implemented Disk Quota / User Quota / Group Quota for Users, So Its the First Basic requirement that We have to inform Users on Their Quota Usage at the Limit which we have configured.

So I am writing this article for Those Who have implemented a Quota and Do not know How to configure quota warning by e-mail.

quota

 

 

1. quota / quota-warnquota package must be Installed.

To Confirm :-

On RHEL / CentOS :- [root@tejas-barot-linux-support ~]# rpm -qa | grep quota # Output should not be empty

On Ubuntu :- root@tejas-barot-linux-support:~# dpkg –list | grep quota # Output should not be empty

2. Partition / Device must be mounted with usrquota

On RHEL / CentOS / Ubuntu :- [root@tejas-barot-linux-support ~]#mount | grep quota # Output should not be empty

3. Quota Must be Enabled on Partition.

4. If Above command is giving you proper output then you are good to go for Further Configuration.

5. Now Open /etc/warnquota.conf and Modify Following values as per your requirement.

Enjoy Disk Quotas :) Enjoy WarnQuota :) Enjoy Linux :) Enjoy Open Source :)

   MAIL_CMD        = "/usr/sbin/sendmail -t"
   FROM            = "linuxsupport@tejasbarot.com"
   SUBJECT         = NOTE: Your mailbox has exceeded allocatted disk space limits
   CC_TO           = "ahmedabad@tejasbarot.com"
   SUPPORT         = "linuxblog@tejasbarot.com"
   PHONE           = "000 111-2222"
   MESSAGE         = Your mailbox has exceeded the allotted limit\
    on this server|Please delete any unnecessary email in your mailbox on:|
   SIGNATURE       = This message is automatically generated by the mail system.

Once you are done with Configuring this Parameters Save and Exit from File

Description of above Configurations :-

MAIL_CMD = Command which used to send an e-mail.

FROM = Which E-Mail ID it will display to Recipient.

SUBJECT = Subject line which you want to Mention for Warning e-mail.

CC_TO = On Which ID it will Send Carbon Copy of the Mail.

SUPPORT =  Email ID which you have to mentioned as Support or anybody else where it should inform too.

PHONE = Of-course It will be a Number which you want to display as your Contact Number.

MESSAGE = Detailed Message OR Instructions Which you want to Send to the User. In Short, Body of the Mail.

SIGNATURE = Text which you have to set as your Signature.

6. Once It is configured properly, then To Send E-mail to all those users who exceeded quota then Execute Following command :-

Execute Command To Send E-Mail to All Those Users / Groups who exceeded quota or Grace Limit :-

[root@tejas-barot-linux-support ~]# warnquota

Execute Command To Send E-Mail to Particular User who exceeded quota or Grace Limit :-

[root@tejas-barot-linux-support ~]# warnquota -u <user-name>

Execute Command To Send E-Mail to Particular Group who exceeded quota or Grace Limit :-

[root@tejas-barot-linux-support ~]# warnquota -g <user-name>

7. That’s IT. Warning for Quota is configured.

Hope this will helps you all, If you face any issue regarding the same or its not working for your some how then please raise your questions / issues then comment down below.

If you like this then Please Click Google +1 Button and Show Your Support. Your Support will encourage me to write more articles.

All Linux User’s Blog Mobile Applications :- http://www.tejasbarot.com/download-mobile-apps/

Please Keep in Touch with Social Networking :- 

Facebook Page :- https://www.facebook.com/AllLinuxUsersBlog

Enjoy Disk Quotas :) Enjoy WarnQuota :) Enjoy Linux :) Enjoy Open Source :)

Howto: Install VirtualBox 4.2.10 on RHEL / CentOS 6.x / Linux

Dear All,

VirtualBox is an Open Source Cross Virtualization Software, By Installing VirtualBox You can Install Multiple Guest Operating Systems.

I am sharing this Howto to Install VirtualBox 4.2.10 on Linux ( RHEL  and CentOS 6.x ).

By Following Instructions You will able to Install and Run VirtualBox 4.2.10 on Linux.

Oracle VirtualBox
Oracle VirtualBox

Perform Following steps to Install VirtualBox on Linux | CentOs | RHEL 6.x

1. You need to be root to perform this Howto.

2.  Configure Repositories :-

# Download and Install EPEL Repository 

[root@linux-support-ahmedabad-tejas-barot ~]# wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

[root@linux-support-ahmedabad-tejas-barot ~]# rpm -Uvh epel-release-6-8.noarch.rpm

# Configure VirtualBox Repository

[root@linux-support-ahmedabad-tejas-barot ~]# cd /etc/yum.repos.d/ 

[root@linux-support-ahmedabad-tejas-barot yum.repos.d]# wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo

[root@linux-support-ahmedabad-tejas-barot yum.repos.d]# cd

3. Installing Dependencies for VirtualBox

[root@linux-support-ahmedabad-tejas-barot ~]# yum install binutils  gcc kernel-headers kernel-devel make libgomp glibc-headers glibc-devel patch  dkms qt

4. Finally Lets Start Installing VirtualBox 4.2.10

[root@linux-support-ahmedabad-tejas-barot ~]# yum install VirtualBox-4.2

5. That’s It.

hope this will helps you all, If you face any issue regarding the same or its not working for your some how then please raise your questions / issues then comment down below.

If you like this then Please Click Google +1 Button and Show Your Support. Your Support will encourage me to write more articles.

All Linux User’s Blog Mobile Applications :- http://www.tejasbarot.com/download-mobile-apps/

Please Keep in Touch with Social Networking :- 

Facebook Page :- https://www.facebook.com/AllLinuxUsersBlog

Enjoy VirtualBox :) Enjoy Guest OS  on Linux :) Enjoy Linux :) Enjoy Open Source :)

Howto: Installing WINE on RHEL / CentOS 5.x / 6.x | 32-bit | 64-bit | x86_64 | Linux

Hello All,

There are so many request from blog visitors to write Article on Wine Installation. Thanks for your request.

This article is for Install Wine on CentOS and RHEL 5.x and 6.x easily. Actually i have planned this article through script but due to shortage of time and now a days busy too, So Couldn’t implement complete script so Demonstrating manual how to over here.

I hope you guys will like the same.

Like VLC installation on Red Hat Enterprise Linux 5.x and 6.x and CentOS 5.x and 6.x its bit complicated and So much dependencies issues are there. So To make installation a bit easier and without too much headache i am writing this article.

This HOWTO performed on Blank RHEL / CentOS 5.x and 6.x if you are running with Latest or OLD RPMs you might face issue of Dependencies. Do it at your own risk wherever you are performing this howto.

To Install WINE on RHEL/CentOS 5.x and 6.x, Perform following Howto.

For RHEL / CentOS 6 32-Bit and 64-Bit (x86_64) :-

1. You need to be root to perform rest steps.

2. This step is must otherwise you might face dependencies issues. Now Lets take a backup of your Original Repository. By Executing Following Command :-
[root@wine-on-linux-ahmedabad-tejas-barot ~]# mkdir /repobackup
[root@wine-on-linux-ahmedabad-tejas-barot ~]#mv /etc/yum.repos.d/*.repo /repobackup/

3. Now Clean Previously Cached Repository by Executing Following command :-
[root@wine-on-linux-ahmedabad-tejas-barot ~]# yum clean all

4. Now Download and Install EPEL and Tejas Barot’s RPM for Wine to Install Wine on RHEL / CentOS 6.x.

To Download RPMs :-
[root@wine-on-linux-ahmedabad-tejas-barot ~]# cd /tmp
[root@wine-on-linux-ahmedabad-tejas-barot tmp]# wget http://www.tejasbarot.com/RPMs/epel-release-6-7.noarch.rpm
[root@wine-on-linux-ahmedabad-tejas-barot tmp]# wget http://www.tejasbarot.com/RPMs/wine-install-tejas-barot-2.0-2.noarch.rpm

To Install RPMs :-

[root@wine-on-linux-ahmedabad-tejas-barot tmp]# rpm -ivh –force epel-release-6-7.noarch.rpm
[root@wine-on-linux-ahmedabad-tejas-barot tmp]# rpm -ivh –force wine-install-tejas-barot-2.0-2.noarch.rpm
[root@wine-on-linux-ahmedabad-tejas-barot tmp]# cd

5. To install wine and its Packages execute following command :-

[root@wine-on-linux-ahmedabad-tejas-barot ~]# yum install –nogpgcheck wine*

When it ask for”YES”and”NO”Please go ahead with your choice.

6. That’s it, You are done now. Wine Installed Successfully.

7. Now Revert your previous repositories. by Following commands
[root@wine-on-linux-ahmedabad-tejas-barot ~]# rm -rf /etc/yum.repos.d/*.repo
[root@wine-on-linux-ahmedabad-tejas-barot ~]# mv /repobackup/*.repo /etc/yum.repos.d/

8. That’s It now. You have installed wine on RHEL / CentOS 6x Successfully and Your Previous Repositories also reverted back.

For RHEL / CentOS 5.x 32-Bit and 64-Bit (x86_64) :-

1. You need to be root to perform rest steps.

2. This step is must otherwise you might face dependencies issues. Now Lets take a backup of your Original Repository. By Executing Following Command :-
[root@wine-on-linux-ahmedabad-tejas-barot ~]# mkdir /repobackup
[root@wine-on-linux-ahmedabad-tejas-barot ~]#mv /etc/yum.repos.d/*.repo /repobackup/

3. Now Clean Previously Cached Repository by Executing Following command :-
[root@wine-on-linux-ahmedabad-tejas-barot ~]# yum clean all

4. Now Download and Install EPEL and Tejas Barot’s RPM for Wine to Install Wine on RHEL / CentOS 5.x.

To Download RPMs :-
[root@wine-on-linux-ahmedabad-tejas-barot ~]# cd /tmp
[root@wine-on-linux-ahmedabad-tejas-barot tmp]# wget http://www.tejasbarot.com/RPMs/epel-release-5-4.noarch.rpm
[root@wine-on-linux-ahmedabad-tejas-barot tmp]#wget http://www.tejasbarot.com/RPMs/wine-install-tejas-barot-1.0-1.noarch.rpm

To Install RPMs :-

[root@wine-on-linux-ahmedabad-tejas-barot tmp]# rpm -ivh –force epel-release-5-4.noarch.rpm
[root@wine-on-linux-ahmedabad-tejas-barot tmp]# rpm -ivh –force wine-install-tejas-barot-1.0-1.noarch.rpm
[root@wine-on-linux-ahmedabad-tejas-barot tmp]# cd

5. To install wine and its Packages execute following command :-

[root@wine-on-linux-ahmedabad-tejas-barot ~]# yum install –nogpgcheck wine*

When it ask for”YES”and”NO”Please go ahead with your choice.

6. That’s it, You are done now. Wine Installed Successfully.

7. Now Revert your previous repositories. by Following commands
[root@wine-on-linux-ahmedabad-tejas-barot ~]# rm -rf /etc/yum.repos.d/*.repo
[root@wine-on-linux-ahmedabad-tejas-barot ~]# mv /repobackup/*.repo /etc/yum.repos.d/

8. That’s It now. You have installed wine on RHEL / CentOS 5.x Successfully and Your Previous Repositories also reverted back.

Hope this will helps you, Waiting for your feedback.

If you like this then Please Click Google +1 Button and Show Your Support. Your Support will encourage me to write more articles.

All Linux User’s Blog Mobile Applications :- http://www.tejasbarot.com/download-mobile-apps/

Enjoy Wine on Red Hat Enterprise Linux and CentOS 5.x and 6.x 🙂 Enjoy Linux 🙂 Enjoy Open Source 🙂

Howto: Installing phpMyAdmin on RHEL/CentOS 6.x | 32-Bit | x86_64 | Linux | Red Hat Enterprise Linux

Hello,

This post will show you how to Install PHPMyAdmin on RHEL/CentOS 6.x and 32/64 architecture.

In Howto, i have included on more topics which helps you to install dependencies with phpMyAdmin.

In Most of the HowTos I have seen that so many peoples using unofficial repositories and It is not advisable, In This How to i have used EPEL repository which is managed by Fedora and Most Trusted against other repositories, Dependencies issues too.

To make this installation more easy I have created own RPM and Provided link here so it will helps you all to Install phpMyAdmin more easily.

I have performed this how to on BLANK RHEL/CentOS installation, It may conflict if you have other repository present or you have installed php using some other repository so kindly take a note of this.

In This Howto We need to Configure Two External YUM Repositories.

1) Tejas Barot’s Repository

2) EPEL Repository

=> Please Perform Following Steps to install phpMyAdmin on RHEL/CentOS 6.x

1. You need to be root to Install RPM.

[tejas-barot@tejas-barot-linux-ahmedabad ~]$ su – root

2. Configure Tejas Barot’s Repository RPM for YUM for RHEL/CentOS 6.x

## To Download Use Following Command

[root@tejas-barot-linux-ahmedabad ~]# wget http://www.tejasbarot.com/RPMs/phpmyadmin-install-tejas-barot-2.0-2.noarch.rpm

## To Install Use Following Command

[root@tejas-barot-linux-ahmedabad ~]# rpm -ivh phpmyadmin-install-tejas-barot-2.0-2.noarch.rpm

2. Configure EPEL Repository RPM for YUM for RHEL/CentOS 6.x

## To Download Use Following Command

[root@tejas-barot-linux-ahmedabad ~]# wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-7.noarch.rpm

## To Install Use Following Command

[root@tejas-barot-linux-ahmedabad ~]# rpm -ivh epel-release-6-7.noarch.rpm

3. Now Final Step to Install phpMyAdmin on RHEL/CentOS 6.x

Execute Following Command to Install phpMyAdmin

[root@tejas-barot-linux-ahmedabad ~]# yum install  phpmyadmin --nogpgcheck

4. That’s it Now Restart Following Services and you will able to access phpMyAdmin :-

[root@tejas-barot-linux-ahmedabad ~]# /etc/init.d/httpd restart

5. To Access phpMyAdmin, Type Following URL to your Favourite Browser :-

http://localhost/phpmyadmin

Hope this will helps you all. Please Comment any Issue/Feedback.

For RHEL/CentOS 5.x Users i will write a same howto very Shortly, So For Red Hat Enterprise Linux 5 and CentOS 5.x, Keep Visiting Blog.

If this works for your then Please Click Google +1 Button and Show Your Support. Your Support will encourage me to write more articles.

All Linux User’s Blog Mobile Applications :- http://www.tejasbarot.com/download-mobile-apps/

Enjoy phpMyAdmin 🙂 Enjoy CentOS/RHEL 6 🙂 Enjoy Linux 🙂 Enjoy Open Source 🙂