Labels

Showing posts with label Software Management. Show all posts
Showing posts with label Software Management. Show all posts

Joomla Installation using XAMPP

Joomla is a free and Open Source content management system used to create websites. Joomla allows web designers to construct sites by combining modules, and requires basic knowledge of programming to use ( Almost not required ! ). It’s framework is written in PHP, as are the modules used to customize websites. So many modules are freely available on internet for Joomla.
Following steps will guide you to install Joomla in RHEL using XAMPP!
STEP 1: Download XAMPP. XAMPP is a “*AMMP” bundle that includes the Apache server, Perl, PHP and MySQL database. You can download it from: http://www.apachefriends.org/en/xampp-linux.html
STEP 2: Open a terminal as a root and run to extract the xampp to opt directory.
# tar xvfz xampp-linux-1.6.6.tar.gz -C /opt

Installing rar/unrar On CentOS 5

Login as root

for 32bit:
#wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.i386.rpm

For 64 bit
#http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm

Install DAG’s GPG key
#rpm –import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt

Install the package

For 32 bit
#rpm -i rpmforge-release-0.5.1-1.el5.rf.i386.rpm

For 64 bit
#rpm -i rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm

Install Rar and Unrar
#yum install rar unrar

Reboot server

source : latestarticles.org

Convert DEB to RPM or RPM to DEB Package

You can convert DEB file to RPM package and RPM to DEB package using alien command, if you have a *.rpm file that you want to install on a Debian or Ubuntu.

Convert RPM to DEB

Install alien command on Ubuntu as mentioned here:
# sudo apt-get install alien

Now, use alien command to convert rpm to deb file,
# alien clamav-0.92.1-1.el5.rf.i386.rpm
clamav-0.92.1-1.el5.rf.i386.deb generated

Finally, Install deb packages using the dpkg command,
# dpkg -i clamav-0.92.1-1.el5.rf.i386.deb

Where,
-i = install a package

Media playback in CentOS5 and RHEL5

Media (DVD, web content, video & audio) playback in CentOS5 and RHEL5

01. Download RPMFORGE repo configuration RPM.

32bit
http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

64bit
http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm

Go to the downloaded location, Install it.

32bit
[root@daddylinux~]# rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm

64bit
[root@daddylinux~]#rpm -ivh rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm

Accessing Windows partitions from Linux

By default any Linux system will fully support FAT partitions, But when it comes to NTFS some are still NOT supporting by default.

Desktop Editions such as Ubuntu 7.10 and Fedora 8 now fully supporting NTFS (with write support), and the partitions are automatically mounted.

Server Editions such as CentOS 5 and RHEL 5 you have to do the following to access NTFS partitions.

01. Configure RPMFroge 3rd party repository, please read my tutorial about CentOS Repositories.

02. Install the following packages
[root@daddylinux~]# yum install dkms-fuse fuse-ntfs-3g

yum command: Update / Install Packages

yum command: Update / Install Packages under /RHEL / CentOS Linux Version 5.x

Q. How do I use yum command to update and patch my Red hat Enterprise Linux / CentOS Linux version 5.x server via RHN / Internet? Can I use up2date command under RHEL 5?

A. up2date command was part of RHEL v4.x or older version. You need to use yum command to update and patch the system using RHN or Internet. Use yum command to install critical and non-critical security updates as well as binary packages. Login as the root user to install and update the system.

Task: Register my system with RHN
To register your system with RHN type the following command and just follow on screen instructions (CentOS user skip to next step):
[root@daddylinux~]# rhn_register

Task: Display list of updated software (security fix)
Type the following command at shell prompt:
[root@daddylinux~]# yum list updates

Configuring rpmforge third party repository

01. Download the repository configuration file
[root@daddylinux~]# wget http://tr.im/elsrf32
[root@daddylinux~]# ls -l

02. Go to download location and double click on rpmforge-release-0.3.6-1.el5.rf.i386.rpm to install it.

03. Check
[root@daddylinux~]# yum repolist

Optionally we can enable centos Plus and Contrib repositories

01. Locate the system file
[root@daddylinux~]# cd /etc/yum.repos.d
[root@daddylinux~]# ls –l

02. Open the file
[root@daddylinux~]#nano CentOS.Base.repo

03. Go to end of file
[centos plus]
---------------------
---------------------
---------------------
enable=0 change to enable=1

[contrib]
---------------------
---------------------
---------------------
enable=0 change to enable=1

04. Save this file
Ctrl + O

05. Exit the file
Ctrl + X

06. Check
[root@daddylinux~]# yum repolist

CentOS 5 Repositories

What is a Repository?

A software repository (sometimes abbreviated as a repo) is a storage location from which software packages may be retrieved and installed on a computer. Many software publishers and other organizations maintain servers on the Internet for this purpose, either free of charge or for a subscription fee.

CentOS Software Repositories (Official)

These repositories are already configured by default in CentOS.

Base repo - The packages that comes with the release media. (CDs or the DVD)
Packages in the Base repo - http://mirror.centos.org/centos-5/5/os

Addons repo - The packages used/produced in the build but not released with the release media.
Packages in the Addons repo - http://mirror.centos.org/centos-5/5/addons

Extras repo - The additional packages that may be useful. (Non Essential)
Packages in Extras repo - http://mirror.centos.org/centos-5/5/extras