Search Engine

Loading

Sallar

Sallar
RedhatEnterpriseLinux Blog
Showing posts with label Installation. Show all posts
Showing posts with label Installation. Show all posts

The software Installation of (configure, make, make install)



This tutorial is for those who have just started using Linux. Generally when users from the Windows background enter the Linux world, they are totally stumped by the software installation method. They were used to the luxury of double clicking on a single file and getting their software installed. But now they have to type cryptic commands to do the same.
Though the installation instructions tell them what to do, they have no idea what those steps actually do. This article shall explain the basics of software installation. After reading this article you would feel more at home when installing your next software.

Installation of MySQL on Linux



MySQL

MySQL is a relational database management system (RDBMS) that runs as a server providing multi-user access to a number of databases. This is guide, howto install or upgrade MySQL Community Server latest and greatest version 5.5.28 on CentOS 6 and Red Hat (RHEL) 6.


Install MySQL Database 5.5.28 on CentOS 6/5, Red Hat (RHEL) 6/5

1. Change root user
su -

CentOS and Red Hat (RHEL)
Run the following command defined with your Operating system

Installing PostgreSQL9.2 on Redhat (RHEL5 & 6)



Installing PostgreSQL9.2 on Redhat (RHEL)
the same installation you can use for CentOS

1. Install PostgreSQL 9.2.1 Database Server on CentOS/Red Hat (RHEL)
1.1 Change root user or login as a root
su –
Example: su - root
1.2 Red Hat (RHEL)
Add exclude to /etc/yum/pluginconf.d/rhnplugin.conf file [main] section:
[main]
...
exclude=postgresql*

Single-User Mode


Single-user mode is equivalent to runlevel 1 on the system. If runlevel 1 is not configured properly, you will not be able to boot into single-user mode. Rescue mode requires a boot media, but single-user mode is specified as a kernel option using the installed boot loader and does not require additional boot media. However, it does require that the boot loader is working properly and that the filesystem be mounted. It does not provide the ability to start a network connection.

The rsync Utility


The rsync Utility
When developing backup scripts, consider using the rsync utility. The rsync utility allows you to copy from the local system to a remote system or copy between two local directories. If the files exist in the destination directory, rsync only transfers the differences in the files, which is ideal for backups. The rsync RPM package is required and should already be installed on your system.
After the rsync command-line arguments are listed, the first directory listed is the source, and the second directory listed is the destination. If either directory is preceded by a hostname and a colon (:), the directory is a remote directory. For example, to transfer all home directories to the backup/ directory on the remote server backup.example.com:

How to Verifying RPM/ Software Files


What if you want to verify that the files associated with a package haven’t been corrupted or compromised? For example, if you suspect your system has been accessed by a non-authorized user, you can verify that the files from a package have not been changed with the RPM verify feature. Of course, if the unauthorized user altered the RPM database, the results may not be accurate. It is always best to back up to a known secure state of the file system if you suspect foul play.

How to Removing Software /RPM


To remove a package, issue the following command:
rpm -e <packagename>
Notice that this time, only <packagename> is used, not the full name of the file used to install the software. When this command is issued, the RPM database is searched for the files associated with this package, and they are removed.
If multiple versions of a package are installed, such as the kernel, the package version can also be specified to make sure the correct version is removed:
rpm -e <packagename>-<version>-<release>

How to Updating Software/ RPM


If an RPM package is already installed, it can be updated to a newer version. With RPM, there isn’t the concept of using a different file or set of files to perform a software upgrade. The same RPM file or files used to install a program can be used to update the program as well.
To update to a newer version of a package already installed:
rpm -Uvh <packagename>-<version>-<release>.<arch>.rpm

How to Install a New Kernel RPM


There is a -i argument to RPM to install packages, but it is more convenient to use –U when installing and upgrading software because -U installs or upgrades the package depending on whether or not it is already installed. However, there is an exception: installing a new kernel. When installing a new kernel, you should keep the current kernel installed in case the new kernel does not work with the system’s hardware, does not perform as well as the current kernel, or causes other problems. When you use the –U argument to RPM, the older version of the software package is no longer available.

Installing RPM Package Software


Installing an RPM package can be done via the command line or a graphical program. Because some systems such as servers do not always have a graphical desktop installed, it is important to learn at least the basics of how to use the command-line version of RPM. The command is simple to remember: It is the rpm command.
Before installing any software, confirm that it was packaged by a trusted source and has not been altered since the trusted source built it. This process is done by checking the GPG signature of the package.

Understanding How RPM Works


How does RPM work? Each software program consists of files and directories, most of which must be located in a particular place on the filesystem. If the software program is distributed in RPM format, these files are compressed together into one RPM file along with instructions on where the files should be located on the filesystem and any additional scripts or executables that must be run before or after the files are installed. These RPM files are often referred to as packages.
A software program, such as the Firefox web browser, might consist of one RPM file. However, some programs are divided into multiple RPM files to allow the administrator to customize which parts are necessary for the system’s usage. For example, the GNOME graphical desktop is divided into many packages that contain parts of the overall desktop.

Installing Red Hat Enterprise Linux 5 Step by Step


1.    Power on your system. Press the appropriate key, typically ESC, F12, or DEL. If a boot menu isn’t available, you’ll need to adjust the boot sequence in the computer BIOS, which you can then use to boot directly from your selected media. Set your computer’s BIOS to boot from the first installation CD or USB drive. Details vary by PC. Make sure your BIOS saves your changes before you reboot.

Redhat Enterprise linux 5 GUI Installation-Part4


Redhat Enterprise linux 5 GUI Installation-Part3


Redhat Enterprise linux 5 GUI Installation-Part2


Redhat Enterprise linux 5 GUI Installation-Part1


Powered by Blogger.

Ads

 
Copyright © Redhat Enterprise linux. Original Concept and Design by My Blogger Themes
My name is Abdul Razaq but people call me Raziq. Here is my home page: www.redhatenterpriselinux.blogspot.com I live in Quetta, Pakistan and work as an IT-Engineer.