Archive for the tag 'Centos'

SBDavid

CentOS - Development Tools Install

CentOS - Development Tools Install

CentOS has some handy meta-packages that include a set of pre-defined programs needed for a single purpose. yum is an interactive, automated update program which can be used for maintaining systems using rpm

So instead of installing a dozen different package names, you can install just one meta-package. One such package is called ‘Development Tools’. Issue the command.

sudo yum groupinstall ‘Development Tools’

Notice the programs that are to be installed include gcc, make, patch and so on. All these are needed for many other programs to install properly. A neat system indeed.

Other Yum Options:

groupinstall group1 [group2] [...]
groupupdate group1 [group2] [...]
grouplist [hidden]
groupremove group1 [group2] [...]
groupinfo group1 [...]

Installation issues on CentOS for Ensim Pro Linux

Since a minimal OS installation for CentOS don’t install prerequisites packages for Ensim Pro X 10.0.0, it is mandatory to create CentOS repos on the local drive or provide an external repos while installing Ensim Pro X 10.0.0

e.g.

python ./ensim-installer.py –adminemail=admin@email.com –adminname=admin –adminpasswd=password –updater=yum –os-source=http://mirror.centos.org/centos/4/os/i386/ –updates-source=http://mirror.centos.org/centos/4/updates/i386/

OR

python ./ensim-installer.py –adminemail=admin@email.com –adminname=admin –adminpasswd=password –updater=yum –os-source=file:///path/to/repos/os –updates-source=file:///path/to/repos/updates
SBDavid

Creating Repos for RHEL / Centos

Creating Repos for RHEL / Centos

Please follow the given steps to setup a repos on the local server. Make sure that you have installed rpm createrepo, You can download the required rpm for your os from:

http://dag.wieers.com/packages/createrepo/

# mkdir -p /repos/os

Copy all the rpm from all redhat cd to this directory.

# mkdir /repos/updates

# createrepo /repos/os

# createrepo /repos/updates

After doing this you just need to run the ensim installer in the following way.

# sh ensim-installer.sh –email=you@youremail.com –cdrom=n -o file:///repos/os -u file:///repos/updates
SBDavid

How to Setup CentOS testing repo

How to Setup CentOS testing repo

Setting up repos

To install the CentOS testing repo, along with the yum-priorities plugin.

# cd /etc/yum.repos.d
# wget http://dev.centos.org/centos/5/CentOS-Testing.repo
# yum install yum-priorities

The priorities plugin can be used to enforce ordered protection of repositories, by associating priorities to repositories. Packages from repositories with a lower priority will never be used to upgrade packages that were installed from a repository with a higher priority.

SBDavid

Subversion on CentOS

The first thing to do is to install the packages. You need to ensure Apache is set up first.

Installation

# yum install mod_dav_svn subversion

When you install from yum, there’s a longer list than the two packages above that will automatically resolve themselves. Some other things will be installed automatically.

Subversions svn tool is the command line client that you will use to talk to the database. To see the use of the tool:

svn –help

References

Subversion: http://subversion.tigris.org/
Version Control with Subversion: http://svnbook.red-bean.com/

« Prev - Next »