how to make a Cent OS package.


 
Thread Tools Search this Thread
Operating Systems Linux how to make a Cent OS package.
# 1  
Old 08-18-2008
how to make a Cent OS package.

I am using Cent OS 5.1. It has a command "yum" to install or update new packeges from a mirror or repository.

i am doing installation and configuration of Sun directory server and opensso. i have made a shell script to install and configure both. but now the need is to create a Cent OS packege, and if i give
yum -install DirServSSO
it installs everything on a fresh new machine.

"/opt/DirServSSO" is the directory on my "ws3456.rock.com" server where my opensso.tar and sunDirectoryserver.tar are present. i will make it my repository, from where i will install my stuff to all 8 production servers.

you think if i have a script ready i can packege it with some configuration. please help.

are u clear with my requirement?
# 2  
Old 08-19-2008
Sort of, sounds like you need an RPM package that you will install onto your CentOS server ? If yes, go to rpm.org site and check the docs on how to create RPMs.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Linux

Add persistent route in cent os 6.5

Hi , I have cent os 6.5 and am trying to make few routes permanent for bond: i have added two routes using below two commands : /sbin/route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.59.160.128 /sbin/route add -net 0.0.0.0 netmask 0.0.0.0 gw 49.44.52.90 post which route command output is... (5 Replies)
Discussion started by: omkar.jadhav
5 Replies

2. UNIX for Advanced & Expert Users

Disable rm -rf * or rm -rf / in Cent OS

Can some one suggest me the way to disable " rm -rf * " or " rm -rf / " command execution permanently from the server. Any suggestion will be very much helpful . (18 Replies)
Discussion started by: shiek.kaleem
18 Replies

3. Red Hat

How to Find all the SSL certs on a give host Cent OS

Hi I am trying to find all the ssl certs installed/located on cent os Host , Please help . (1 Reply)
Discussion started by: smartguyz2012
1 Replies

4. Red Hat

AD Intergration with Cent OS 6

Hello, I am integration AD authentication to Cent OS 6 servers. I am running to this error when I tried to join with AD server. error message : # net ads join -U 504783 Host is not configured as a member server. Invalid configuration. Exiting.... Failed to join domain: This... (0 Replies)
Discussion started by: bobby320
0 Replies

5. UNIX for Advanced & Expert Users

Make giving error after configuring a package

Hi, I have installed gmake 3.82 in my aix 5.3 system. but while installing a package,after doing./configure ,i give gmake and its throwing below error. # gmake "build/Makefile.rules", line 13: make: 1254-055 Dependency line needs colon or double colon operator. also the command is not... (1 Reply)
Discussion started by: sonal kumar
1 Replies

6. Linux

UVFS in Cent OS

Hi, Trying to install Interwoven Teamsite in CentOs 5.4. Found issue in the first step while installing the uvfs . # gmake /usr/bin/gcc -g -O3 -Wall -I. -c -o uvfs_signal.o uvfs_signal.cc gcc: error trying to exec 'cc1plus': execvp: No such file or directory gmake: *** Error 1 # ... (2 Replies)
Discussion started by: rajarshiroy77
2 Replies

7. UNIX for Advanced & Expert Users

how to port a package to huge source code having its own make and compilers

In general for intalling a package like we do ./configure, make , make install But if we want to integrate the package with a huge source base what are the things to be taken care could some one have a light on purpose of ./configure , make and make install along with above question. I... (1 Reply)
Discussion started by: Gopi Krishna P
1 Replies

8. Red Hat

Installation of Web Logic9.2 on Cent OS5

Hi, Trying to install web logic 9.2 on Cent OS in the Graphical mode. After accepting the license agreement the "Complete" installation is selected.The path for installing the components is mentioned and when clicked on "Next" it hangs and is not proceeding further. Any suggestion or... (0 Replies)
Discussion started by: rajp_8007
0 Replies

9. Shell Programming and Scripting

Chek if a file exists in Ubuntu and Cent OS using shell script

I have tried few examples in the internet but all of them are different and none worked. I need to check if a file exists in a directory if it does not then exit . here is what I have for now $filename ="/usr/local/net/var/lib/directoryservice/sync.disable" if ; then echo "The file exists"... (2 Replies)
Discussion started by: m_kk
2 Replies
Login or Register to Ask a Question