SETTING UP LINUX YUM REPOSITORY IN REDHAT/CENTOS

when we implement the REDHAT based servers, when we dont have the proper license we will be facing a lot of issues for installing the softwares. So to overcome the issue we need to setup the LOCAL REPOSITORY server. this  will eliminate the installation issues.Below i have explained how to setup the repo server step-by-step.

SETTING UP LOCAL REPOSITORY SERVER IN YOUR REDHAT/CENTOS:

PREREQUISITES:

1.HTTPD SERVER
2.CREATEREPO RPM

Continue reading “SETTING UP LINUX YUM REPOSITORY IN REDHAT/CENTOS”

Moving Files Between Linux Systems With SCP

This article is about how to move files between servers using the scp (secure copy) command. To show how it works, I will move files from my HDD to a virtual machine running on VirtualBox. There is Linux Mint 11 installed on both drives.
This tutorial comes without warranty of any kind. I do not guarantee that this will work for you.

1 Preliminary Note

Using scp you can not only move files to and between virtual machines like I will do, but move them to any server on the world as well. You only have to know that server’s IP adress and the passwords needed to access it.

Continue reading “Moving Files Between Linux Systems With SCP”

Installing Alfresco 3.4.d On Fedora

This document describes how to install and setup Alfresco Content Server Community Edition by “Alfresco Software inc.” on a Fedora  based webserver from a WAR package on a Tomcat webserver with postgreSQL database as backend. For other distributions there might be minor changes as to the software prerequisites installation procedures. I took my time to write this tutorial up, since I was unable to find any complete setup procedure on the Internet, mainly because there is a .bin executable, which install all in one easy step. Therefore this guide is intended to those who, like me, want to have as much control and understanding as possible and for those, who would want to install this server into already existing infrastructure and do not wish to dig wiki pages much. Moreover, by default, server from .bin installation runs as root and this is a potential threat to security. This guide will not only help install the product, but also understand why certain points are done the way they are done (this is most helpful for users with little or no knowledge who, like me some time ago, have only started using Linux).

What is Alfresco?

Should I say it in simple manner, this is the Sharepoint open source competitor, which is fully compliant with sharepoint protocol, yet powerful enough that it would take a book to cover everything in detail.
There are two versions of it, non-free Enterprise edition which includes classic commercial support from developer and a free Community edition, whereas the only support you get are posts across the Internet from others brave souls.
Links to several sections of developer:

Continue reading “Installing Alfresco 3.4.d On Fedora”

Urdu CBT Embracing Linux Fedora 001 Using Fedora 15 Live ISO Part 2/2

This CBT explains how you can use Fedora 15 Live CD to try the Fedora Linux environment.
You can use the same to install the OS
Author:Muhammad Kamran Azeem
Courtesy:http://wbitt.com

HTop – CPU, Memory & Process Monitoring Utility in Linux by Qasim Mehmood

Htop

Htop is a text-mode, interactive process viewer for Linux run via console/ssh, and to install htop on Linux is a pretty simple task. Among other things, htop allows you the following:

  • Quickly view key performance statistics such as CPU(multi-core layout), Memory and Swap usage Details.
  • Scroll the process list vertically and horizontally to see all processes and complete command lines.
  • Kill processes by selection rather than entering process number, use mouse to select list items.
  • PuTTY (the Telnet and SSH client) can be used for the interface at client.

How to install Htop

You can easily install htop on CentOS 6.x using yum, but first you need to install the rpmforge package repository applicable to your architecture 32bit or 64bit (if already not installed) by using the following commands:

Install RPM for CentOS 6.x

32-BIT

wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpm
rpm -Uhv rpmforge-release*.rf.i386.rpm

64BIT

wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm

rpm -Uhv rpmforge-release*.rf.x86_64.rpm

Once the repository is installed, all you need to do to install htop in CentOS is run the following:

yum install htop

Now run the following command at command prompt or in PuTTy to start htop processes viewer.

htop

After the installation of Htop, you can view the manual and other utilities of Htop, with the following commands.

[qasim@server ]# man htop                                           To view manual of htop, having complete details.

[qasim@server ]#htop -h                                                 To view different options/plug-ins.

[qasim@server ]#htop -u username                            To view the active user’s currently running processes information.

[qasim@server ]#htop -u qasim                                    To view the qasim’s currently running processes information.

[qasim@server ]#htop -u root                                       To view the root’s currently running processes information