hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Listing installed software on a server
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Listing installed software on a server

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 08-23-2007, 11:18 PM
Ulysses Ulysses is offline
WHT Addict
 
Join Date: Feb 2004
Location: Australia
Posts: 118

Listing installed software on a server


Hi,

What is the best way to get a list of all the software installed on a Linux server? Are there specific shell commands for this?

Thanks

Reply With Quote


Sponsored Links
  #2  
Old 08-23-2007, 11:27 PM
jon-f jon-f is offline
Disabled
 
Join Date: May 2006
Posts: 1,398
not really for all the software, for hosting if you wanna show what software you got there is a few sysinfo scripts and for php related phpinfo.

if you are on redhat based distro you can list all rpms installed. But that isnt all software most of the time if you have things compiled in or installed some other way
rpm -qa

Reply With Quote
  #3  
Old 08-24-2007, 06:44 AM
derek.bodner derek.bodner is offline
Web Hosting Master
 
Join Date: Nov 2001
Location: Philadelphia, Pa
Posts: 949
What distribution?

rpm -qa on a redhat/centos server is a good start (although won't help you with compiled software).

Reply With Quote
Sponsored Links
  #4  
Old 08-24-2007, 07:31 AM
twhiting9275 twhiting9275 is offline
Who am I?
 
Join Date: Sep 2002
Location: Among the corn
Posts: 9,637
Quote:
What is the best way to get a list of all the software installed on a Linux server?
Impossible.

Yes, RPM can help, as can any "packaging utility", but most likely that's not going to give you what you're looking for specifically. You can START with RPM, but you're going to need to narrow that down quite a bit, because RPM usually (usually) won't cover things such as perl modules, outsourced stuff, web applications (billing client, etc) and other stuff.

__________________
Me v2: The new, slimmer, shinier model

Reply With Quote
  #5  
Old 08-24-2007, 07:32 AM
david510 david510 is offline
Web Hosting Master
 
Join Date: Oct 2004
Location: Kerala, India
Posts: 4,617
Ulysses,

What softwares you wish to see? User specific or system specific?

__________________
David | www.cliffsupport.com
Affordable Server Management Solutions sales AT cliffsupport DOT com
iWebManager | Access WHM from iPhone and Android

Reply With Quote
  #6  
Old 08-24-2007, 07:45 AM
Ulysses Ulysses is offline
WHT Addict
 
Join Date: Feb 2004
Location: Australia
Posts: 118
Quote:
Originally Posted by derek.bodner View Post
What distribution?

rpm -qa on a redhat/centos server is a good start (although won't help you with compiled software).
Good point. Actually it's a CentOS 4. I should have mentioned that.

Reply With Quote
  #7  
Old 08-24-2007, 07:52 AM
Ulysses Ulysses is offline
WHT Addict
 
Join Date: Feb 2004
Location: Australia
Posts: 118
Quote:
Originally Posted by david510 View Post
Ulysses,

What softwares you wish to see? User specific or system specific?
System specific, so we can have the client's new dedicated server setup just like the server we built the script. The idea is to ensure that the whole site can be migrated with as little trouble as possible.

Thanks

Reply With Quote
  #8  
Old 08-24-2007, 08:06 AM
david510 david510 is offline
Web Hosting Master
 
Join Date: Oct 2004
Location: Kerala, India
Posts: 4,617
If you have the OS installed on the new server with the same release and version all softwares should be there. Now, there may be addon like firewall installs, other security installs such as mod_sec etc. To find out those, you must go through the main configurations files on the old server. There is no single step procedure to find out these kind of installs.

__________________
David | www.cliffsupport.com
Affordable Server Management Solutions sales AT cliffsupport DOT com
iWebManager | Access WHM from iPhone and Android

Reply With Quote
  #9  
Old 08-24-2007, 01:17 PM
Woooo Woooo is offline
Death is Sex
 
Join Date: Jun 2006
Location: Ahh' UnderPants
Posts: 998
I can recommend you to install webmin for managing the box. It have an option which shows all modules available on a machine.

Reply With Quote
  #10  
Old 08-24-2007, 01:24 PM
alrhost alrhost is offline
New Member
 
Join Date: Aug 2007
Posts: 4
I think it's impossible to list all software installed on server

but if you installed a fresh copy of OS then why don't you read about that OS

Reply With Quote
  #11  
Old 08-24-2007, 02:27 PM
kgs_namboothiri kgs_namboothiri is offline
Newbie
 
Join Date: Aug 2007
Posts: 22
listing packages on a linux server

Hi,

You can use rpm -qa for this.If you want redirect this to a file then you can use as...
# rpm -qa >filename

Reply With Quote
  #12  
Old 08-24-2007, 05:26 PM
Ulysses Ulysses is offline
WHT Addict
 
Join Date: Feb 2004
Location: Australia
Posts: 118
Thanks for all the suggestions. I think we have managed to get enough information to set up the new server as closely as posible to the current one, so hopefully, the site/scripts will migrate without too much fuss.

Thanks again.

PS. Wouldn't it be nice of someone coded a script just for such a thing and added it to (say) WHM etc.

Reply With Quote
  #13  
Old 08-24-2007, 11:41 PM
david510 david510 is offline
Web Hosting Master
 
Join Date: Oct 2004
Location: Kerala, India
Posts: 4,617
Quote:
PS. Wouldn't it be nice of someone coded a script just for such a thing and added it to (say) WHM etc.
Well, it is really difficult. Different OS has different kind of softwares and installs. Also the addons on a live server varies with the performance tuning on the server. Some requires addons for apache, some need addons for mysql etc. So a generalized situation cannot be achieved.

__________________
David | www.cliffsupport.com
Affordable Server Management Solutions sales AT cliffsupport DOT com
iWebManager | Access WHM from iPhone and Android

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
50c607bb-e104-4e8a-9ad9-761945a79943 Listing 2013-03-05 18:23:15
Web Host SoftLayer Offering CloudLinux OS to Customers Web Hosting News 2012-03-06 14:22:46
InterNetX Launches Server Administration Software Web Hosting News 2011-12-22 22:06:48
Hosting Automation Software Provider 1H.com Adds Debian Support Web Hosting News 2011-11-15 21:53:57
DataCore Software Offers SAN Alternative for Windows Server Farms Web Hosting News 2011-11-01 18:23:56


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?