06-17-2014
Quote:
Originally Posted by
Palak Sharma
It means that I can install apache using yum can change the directory root to some other directory??
If you use "yum" you can change the installation directory as described above. BUT:
Quote:
Originally Posted by
Palak Sharma
But by default apache is installed in /var/www
I do not think so. "installed" means, the binaries of which the web server consists of are located in this directory. Most certainly this will not be "/var/www", but either "/usr/somewhere" or "/opt/somewhere". In "/var" only the docments the web server serves - html file - are. The directory where theweb server binary looks for its documents can be changed in the config file as described above.
I hope this helps.
bakunin
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all!
I've got big problems while installing Apache 2.0 on my HPUX 11 machine.
I have configured the installation script with "./configure --prefix=/opt/apache" and run "make". All things looking good. But when i execute "make install" i have two errors, first:
and second
and the... (1 Reply)
Discussion started by: coredump2003
1 Replies
2. Solaris
I have installed sunsolaris 10 in sparc machine.In that how to run apache
bydefault apache is installed on /etc file.
I have logged in as a root
changed the directory to cd /etc/apache2/
from there i have copied httpd.conf-example to httpd.conf
#cp httpd.conf-example httpd.conf
after... (6 Replies)
Discussion started by: ambavaram
6 Replies
3. Solaris
Hello everybody,
I intended to use Apache 2 first time on my S10 U7 box. But the package (V2) is not ok for the developpers and they need 2.2.12 somehow. I removed Apache 1.3 and installed 2.2.12 with the stream package which I downloaded from Sunfreeware.com
It's running perfectly if I start... (2 Replies)
Discussion started by: shadowfaxxxx
2 Replies
4. AIX
HI Guys,
I got the below error while trying to install the apache2.2.15. from the error I can interpret that some of the .h files are missing. I guess those are C library header files.. Can you help me with it.
bash-3.00# make
Making all in srclib
Making all in apr
/bin/sh... (3 Replies)
Discussion started by: kkeng808
3 Replies
5. Solaris
hi
i need to install apache and php on my solaris server ..
can u tell me the procedure...
tell me as soon as possible.. (4 Replies)
Discussion started by: senkerth
4 Replies
6. Ubuntu
on ubuntu lamp server how to install mysql and apache? any instructions? (1 Reply)
Discussion started by: srinathk
1 Replies
7. Solaris
Hi,
I'm getting the below error when trying to run configure from apache 2.0.64.
configure: error: C preprocessor "/lib/cpp" fails sanity check
I navigated through the forum and found some users experiencing this problem and the solution was to install kernel-headers. But i'm not able to... (1 Reply)
Discussion started by: prithvirao17
1 Replies
8. Solaris
Hi ,
I am new to the unix environment.
I need to install apache 2.2.21 on my machine.
I have tried configuring apache from /etc/apache2 directory.
But now I want to install it under a separate user.
Can anybody tell me the step by step procedure to install it under separate user,please ?... (1 Reply)
Discussion started by: bikas89
1 Replies
9. Solaris
Hi,
can we install two diferent versions of apache on same server for different applications? (1 Reply)
Discussion started by: madhudeva
1 Replies
10. HP-UX
Hi Guys!
I have a very odd problem while installing Apache in an HPUX 11.31, What I did was downloaded the latest webserver suite from hp software, installed using swinstall, everything was extracted properly.
The apache version was 2.2.15
Now the issue comes when I run it, it starts... (3 Replies)
Discussion started by: feliper
3 Replies
LEARN ABOUT CENTOS
yum-utils
yum-utils(1) yum-utils(1)
NAME
yum-utils - tools for manipulating repositories and extended package management
SYNOPSIS
debuginfo-install - install debuginfo packages and their dependencies
find-repos-of-install - report which repository the package was installed from
needs-restarting - report process ids that started running before they or some component they use were updated
package-cleanup - manage package cleanup, duplicates, orphaned packages and outstanding dependency problems
repo-graph - outputs a full package dependency list in dot format
repo-rss - generates an RSS feed from one or more repositories
repoclosure - reads metadata of repositories, checks dependencies and displays list of unresolved dependencies
repodiff - takes two or more repositories, returns a list of added, removed or changed packages
repomanage - manages a directory of rpm packages, returns a list of newest or oldest packages in a directory
repoquery - query yum repositories and get additional information on the them
reposync - synchronize a remote yum repository to a local directory using yum to retrieve packages
repotrack - track packages and its dependencies and downloads them
show-changed-rco - list of changes to a package Requires, Conflicts and Obsoletes data from installed to a specified rpm file
show-installed - gives a compact description of packages installed and makes use of comps groups in repositories
verifytree - verify that a local yum repository is consistent
yum-builddep - installs missing dependencies to build a specified package
yum-complete-transaction - finds incomplete or aborted yum transactions and attempts to complete them
yum-config-manager - toggle yum repositories, add new repositories and set main yum configuration options
yum-debug-dump - creates gzipped file containing information for debugging problems
yum-debug-restore - replays any transactions captured in gzipped file in yum shell
yum-groups-manager - create and edit yum's group metadata
yum-installed - print a compact package list making use of comps groups
yumdb - query or alter the yum database
yumdownloader - downloads packages from yum repositories including source RPMs
DESCRIPTION
yum-utils is a collection of tools and programs for managing yum repositories, installing debug packages, source packages, extended infor-
mation from repositories and administration.
NOTES
See respective tools for additional help for commands without a manual page
SEE ALSO
debuginfo-install(1), package-cleanup(1), repodiff(1), repoquery(1), reposync(1), repo-rss(1), show-changed-rco(1), show-installed(1), yum-
downloader(1), yum-builddep(1), yum-debug-dump(1), yum-groups-manager(1), yumdb(8), yum-complete-transaction(8)
AUTHOR
Shawn Starr <shawn.starr@rogers.com>
yum-utils August 2011 yum-utils(1)