Sponsored Content
Special Forums IP Networking Proxy Server Building up apache httpd on AIX - acquiring RPMs etc. Post 302923947 by ibmtech on Wednesday 5th of November 2014 11:30:25 AM
Old 11-05-2014
I ran into the same issue few months ago. But the below is very helpful
Easy way out.

I am taking your example of HTTP, but you can apply this to almost all the RPMs that you think exist on the face of the planet.

I used my NIM server to download all rpms. My OS was AIX71 (same as yours)

Go to AIX Open Source Packages | Main / AIX Open Source Packages (select your OS version) and download wget, why 'wget' because you will use that to download all the rpms.

Install the wget rpm on your NIM machine or your local machine.

Get dependencies list
From your browser
Go to "http://www.oss4aix.org/download/rpmdb/deplists/aix71" and make sure you are looking for right package and version you want to get the dependencies for, in your case it should be httpd-2.4.10-1.aix5.1.ppc.deps.
Now you know, what you are looking for, you can proceed with next step.

FROM NIM Server or your actual server where you are installing the Apache web server, do the below (The server should have wget rpm installed prior to doing this).

Downloaded the dependent RPMs list for HTTP
# wget http://www.oss4aix.org/download/rpmdb/deplists/aix71/httpd-2.4.10-1.aix5.1.ppc.deps --> this will download the list of all dependent RPMs to your local server (I used NIM).

Since you got all the dependent rpm names
You now run
wget -B Index of /download/everything/RPMS -i httpd-2.4.10-1.aix5.1.ppc.depsNote: It will download all the dependent RPMS with compatible versions to httpd-2.4.10-1

After this just run
rpm -ivh <rpm(s)> or write a loop to read and install all rpms from httpd-2.4.10-1.aix5.1.ppc.deps file. However you want to do it.

Its very simple way to download RPM and its dependencies.

I hope this helps.
This User Gave Thanks to ibmtech For This Post:
 

9 More Discussions You Might Find Interesting

1. Ubuntu

Apache 2 httpd.conf empty

Hi everybody, I have installed Apache 2 + Tomcat 5.5. on Ubuntu 7.04 and the default httpd.conf is empty (0 lines), however there is a file called apache2.conf that looks like a default httpd.conf. I didn't use Apache in ages, since 1.3.x release, but I remember that the httpd.conf by default... (2 Replies)
Discussion started by: sspirito
2 Replies

2. UNIX for Advanced & Expert Users

Building Apache httpd 2.2.15

Hi, What options should I use with ./configure to include mod_dav into the build? I use --enable-dav and I didn't see mod_dav.so anywhere in the build directory. I need to load mod_dav.so as a module during httpd startup. Thanks. (1 Reply)
Discussion started by: Parker_
1 Replies

3. UNIX for Dummies Questions & Answers

Building single rpm from 2 different rpms?

Hi all, I have to automate server installation. For this its needed to install 2 - 3 different RPMs. Is there any way of creating a single rpm from these two rpms? How the spec file will look like? thanks... (0 Replies)
Discussion started by: zing_foru
0 Replies

4. Web Development

servername in apache httpd.conf

I'd like to know if servername in apache httpd.conf is the machine name or domain name. If it is domain name like example.com, should it be registered before in use? (1 Reply)
Discussion started by: yzhang738
1 Replies

5. Red Hat

apache 2.2 httpd.conf

Hi, I was wondering if someone could help me out here. I am super-paranoid, so am trying to limit what PHP files can be executed on this server. I have a small list of files that I want to allow. The rest, deny. So I have base rule that denies all php files server-wide: order allow,deny ... (0 Replies)
Discussion started by: Lobster
0 Replies

6. Red Hat

apache 2.2 httpd.conf

Hi, I was wondering if someone could help me out here. I am super-paranoid, so am trying to limit what PHP files can be executed on this server. I have a small list of files that I want to allow. The rest, deny: <Files ~ "\.(php|php3)$"> order allow,deny deny from all </Files> I... (0 Replies)
Discussion started by: Lobster
0 Replies

7. AIX

Apache httpd appear too many times on processes

Dear all experts, I have a environment with 2 web, 2 apps and 2 db servers. Recently after I have patch the AIX O/S from 5300-11-02 to 5300-12-02, we found that the number of httpd processes increase largely. From originally 4 fix httpd processes become more than 600 processes. And it already... (1 Reply)
Discussion started by: kwliew999
1 Replies

8. UNIX for Dummies Questions & Answers

Locate which httpd.conf is used by Apache

What is the command to see what httpd.conf file is apache using. Apache is started. (1 Reply)
Discussion started by: galford
1 Replies

9. Linux

Apache httpd configuration - Issues with APR

Hi I have tried setting up of Apache http server - httpd-2.4.25. During configuration, I understand it needs APR to be setup. Hence I have downloaded APR & APR-Util. Performed, tar xvfC apr-1.5.2.tar /root/httpd-2.4.25/srclib/apr What is happening is there is another directory... (1 Reply)
Discussion started by: videsh77
1 Replies
RPMSPEC(8)						      System Manager's Manual							RPMSPEC(8)

NAME
rpmspec - RPM Spec Tool SYNOPSIS
QUERYING SPEC FILES: rpmspec {-q|--query} [select-options] [query-options] SPEC_FILE ... select-options [--rpms] [--srpms] query-options [--qf,--queryformat QUERYFMT] [--target TARGET_PLATFORM] QUERY OPTIONS The general form of an rpm spec query command is rpm {-q|--query} [select-options] [query-options] You may specify the format that the information should be printed in. To do this, you use the --qf|--queryformat QUERYFMT option, followed by the QUERYFMT format string. See rpm(8) for details. SELECT OPTIONS --rpms Operate on the binary package header(s). --srpm Operate on the source package header(s). SEE ALSO
popt(3), rpm(8), rpmdb(8), rpmkeys(8), rpmsign(8), rpm2cpio(8), rpmbuild(8), rpmspec --help - as rpm supports customizing the options via popt aliases it's impossible to guarantee that what's described in the manual matches what's available. http://www.rpm.org/ <URL:http://www.rpm.org/> AUTHORS
Marc Ewing <marc@redhat.com> Jeff Johnson <jbj@redhat.com> Erik Troan <ewt@redhat.com> Panu Matilainen <pmatilai@redhat.com> Red Hat, Inc 29 October 2010 RPMSPEC(8)
All times are GMT -4. The time now is 08:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy