LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   what is the defualt installation directory for yum? (https://www.linuxquestions.org/questions/linux-newbie-8/what-is-the-defualt-installation-directory-for-yum-670799/)

harry2006 09-18-2008 07:02 AM

what is the defualt installation directory for yum?
 
Hi all. One silly question, what is the default installation directory for yum. Actually I installed apache using yum and I'm trying to install mediawiki fro our LAN, but as I dont know where is the web server directory located I'm stuck. Plaease help me out. Thaks.

linuxgurusa 09-18-2008 07:10 AM

Quote:

Originally Posted by harry2006 (Post 3284400)
Hi all. One silly question, what is the default installation directory for yum. Actually I installed apache using yum and I'm trying to install mediawiki fro our LAN, but as I dont know where is the web server directory located I'm stuck. Plaease help me out. Thaks.

/etc/httpd - config

/var/www/html - data

Depends on the program ;-) ... and distro ...


/usr/local/etc/httpd

harry2006 09-18-2008 07:27 AM

Quote:

Originally Posted by linuxgurusa (Post 3284406)
/etc/httpd - config

/var/www/html - data

Depends on the program ;-) ... and distro ...


/usr/local/etc/httpd

thanks for your quick response. can you do me a favor? can you have a look over here[i just copied this part from the installation guide for mediawiki] and tell me where is this "web directory" located. from your answer i feel it must be the /var/www, right? please correct me if i'm wrong. thank you.
Code:

Download MediaWiki from the official download page or from subversion.

Uncompress the files locally or on your server. This is usually done with software such as 7-Zip (free), WinZip, WinRAR or IZArc (free) on Windows. On Linux and Mac OS X, you can untar the file using this command:

tar xvzf mediawiki-*.tar.gz

If you have not already uploaded the files to your web server, do so now. Upload the files to your web server's web directory either by directly copying the unzipped folder or by using an FTP client such as FileZilla (Open Source Software, Windows) or Cyberduck (OSX). If you installed Apache, the correct directory is specified in your httpd.conf file (its typically <apache-folder>/htdocs). If you are using a Linux or Unix you can instead copy the files to any directory on your server and then make a symbolic link to that folder from your web server's web directory.


linuxgurusa 09-18-2008 07:34 AM

Howzit !

Yes, you are correct, should be /var/www/html directory !

harry2006 09-18-2008 07:58 AM

Quote:

Originally Posted by linuxgurusa (Post 3284432)
Howzit !

Yes, you are correct, should be /var/www/html directory !

thank you very much. its /var/www/html directory. thanks a lot..my mediawiki is up and running,yooo!!!

harry2006 10-10-2008 06:16 AM

can some one please answer the basic question that remains unanswered, though my problem has been solved long back, for the sake of anyone visiting this page. thank you very much for your time.


All times are GMT -5. The time now is 08:38 AM.