- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- default directories
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 07:03 AM
12-04-2003 07:03 AM
What is the default directory in Redhat 9.0 that apache is in?
I do a "openssl version" and get OpenSSL 0.9.7a ... But I'd like to update it to 0.9.7c .. So where is this old 7a version located by default? It tells me the version but not sure where it is. Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 07:20 AM
12-04-2003 07:20 AM
Re: default directories
conf for configuration
logs for logs
htdocs for docs
This may be what you want.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 07:25 AM
12-04-2003 07:25 AM
Re: default directories
I want to install more updated versions of both in the directory /usr/src .... How do I remove the old versions the (httpd-2.0.43 and openssl 0.9.7a) ? Or do they automatically get overlooked if there's a higher version on the system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 07:47 AM
12-04-2003 07:47 AM
Re: default directories
Red Hat is not nearly as good about this as HP-UX is with Software Distributor. Get a good backup in case I'm wrong(It happens quite often). Its those roots drilling into mhy brain.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 07:48 AM
12-04-2003 07:48 AM
Re: default directories
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 08:15 AM
12-04-2003 08:15 AM
Solutionthe command
#rpm -ql openssl
will show you all that has been installed when you used normal redhat install
The command
#locate openssl
is also handy to find out where think are, or just cross check
If you are installing using tar, you could do
a
# tar -tzvf opensslXXXtar.gz > list_openssl_files
just so you are able to trouble shoot if need be after install
I would also follow SEP advise and backup before install...
and last but not least read the README and install , because often you have to taylor after install (like maybe correct path to openssl in httpd.conf etc).
If you can find it try install the openssl 9.0.7.c using the rpm version instead of tar.gz as this normaly more ease.
whatever you do enjoy.
J-P
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 08:30 AM
12-04-2003 08:30 AM
Re: default directories
You'll have to read the readme file.
Some tar distributions will overwrite. Some will make a new directory that includes the version number. Thats why the backup, especially of configuration files is critical.
I'm sure thats not a satisfactory answer, but I've had it go both ways with tar file distributions. Which is why I use depots in HP-UX and rpms in Linux.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 08:32 AM
12-04-2003 08:32 AM
Re: default directories
to find out where the files for a specific package are, use
rpm -qi --filesbypkg rpmname.
to remove, rpm -e rpmname.
and since you are going to install your stuff in a new directory say, /usr/local, it doesnt matter if the old ones exist there.
i am not sure if you will be able to remove openssl so easily since there are a hell lot of dependencies on it.
-balaji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 03:24 PM
12-04-2003 03:24 PM
Re: default directories
configure
make
make test
make install
Where to install can be set as a parameter to configure.
Also check out the type command, which will tell you where in your path a particular program lives
E.g.
zinser@bibo:/public/www/vms/fun> openssl
OpenSSL> exit
zinser@bibo:/public/www/vms/fun> type openssl
openssl is hashed (/usr/bin/openssl)
zinser@bibo:/public/www/vms/fun> ls -l /usr/bin/openssl
-rwxr-xr-x 1 root root 1128280 2003-03-25 09:29 /usr/bin/openssl
YDMV (your directories might vary ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 11:44 PM
12-04-2003 11:44 PM
Re: default directories
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 11:56 PM
12-04-2003 11:56 PM
Re: default directories
But is you try to install rpm afterward it will probably overwrite the file distributed by tar.gz ... , and rpm may also complain that this is already installed ( I am not sure of this because I think rpm only does a check on its own "database" to find out if something is already installed).
If it work I would leave it at that!
Does it work ?
J-P
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2003 12:02 AM
12-05-2003 12:02 AM
Re: default directories
I wanted to upgrade the OpenSSL to the 0.9.7c instead of 0.9.7a to fix a bug. It game no errors when i did the make, make test, and make install.
Yet, then I did the command "openssl version" and it listed the old version of ssl (openssl-0.9.7a), so apparently it didn't work or wasnt recognized.
PS. I know what RPM is, what is SRPM?
Thanks,
Kyle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2003 12:54 AM
12-05-2003 12:54 AM
Re: default directories
what is SRPM? --> source rpm
rpm --> binary
in the directory where you untar the tar.gz there usualy have some "readme or text file" that explains the step you need to perform to do the set up .. ?
I would first check there like
# cd to where you untar
# file *
read file that come out as text file
try and correct if you find any thing
and if all this fails try the rmp, as last resources.
keep us inform, and if you need more reply now because I will be avaiable only for an other 1/2 hour
J-P
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2003 01:33 AM
12-05-2003 01:33 AM
Re: default directories
How do you weed out and remove or overwrite all these tar.gz files that are causing the conflict with the New rpm i want installed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2003 08:04 AM
12-05-2003 08:04 AM
Re: default directories
'make install'
to move the stuff to the final destination.
But, the *default* install directory for openssl is
"/usr/local/ssl"
.
The install locations from RPMs are probably something like
"/usr/lib/ssl"
and
"/usr/bin/openssl"
.
So, your new openssl is probably in something like
'/usr/local/ssl/bin/openssl'
.
This can be a little gritty to work thru, sometimes, especially when you start building an app that uses SSL, like SSH.
bv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2003 08:53 AM
12-05-2003 08:53 AM
Re: default directories
I have just return and picking up from here
to install a binary rpm do
#rpm -Uvh 'name_of_soft'.rpm
if this does not work because it still find old openssl file you can use the -f switch in the rpm command but ! Please Beware ! this is very brutal and does just that.."force install", and so you may end up with some messy files and link.
I would consider the following senario (Please note and beware this will erase openssl from you system)
# rpm -e openssl
after that install your 0.9.7.c.rpm
#cd to the directory where you have copied your 0.9.7.c.rpm then
# rpm -Uvh openssl.0.9.7.c.rpm
hopefully the above should get rid of "old and tar mix" and install all new.
In the time between the erase and the new version install application using openssl will or may behave strangely it would be best
to stop theses if this is critical for you
This can be done by doing the following
ex; (for stopping apache)
#service httpd stop
and to start then after install of new openssl do
#service http start
after that test.
I will be busy quite late so tell us how this when !
J-P