Install server app practices

Posted on 2012-08-21
Last Modified: 2012-08-21

I recently bought/rent a new dedicated server (running on the latest CentOS and DirectAdmin). At first it was simply to host my clients websites. But I do get requests to install Teamspeak (non profit) and IRC network.

Installing shouldn't be a problem when checking all of the articles on the web. But what are the best practices to do so? I have full root access fyi.

Where do you put your source files? Do you create folders for each one of them?
Where do you install it?
If libraries should be installed, where are those placed?
Anything special I should take into account?

Question by:Mutsop
    LVL 40

    Assisted Solution

    Best practice is to install via an RPM built for your version of Centos. If that's not possible the next best choice is to target a local build to /usr/local/bin, usr/local/lib, etc.
    LVL 3

    Accepted Solution

    Ideally you would want to install software from the centos repository or third-party repository.  Should it not be in a repository the next easiest option is to install from an rpm built for centos/rhel.  

    Standard FHS compliance would have you put the source code files in /usr/src, but honestly you can stick them anywhere to create a make install.  During the configuration/compile, you would point the binary files to install to /usr/local/bin and library files to /usr/local/lib.  

    I looked and TeamSpeak 3 isn't in a repo.  It also doesn't even look like you need to compile it.  Here is a website with details of how to install TeamSpeak 3 on a CentOS 6 64bit install.
    LVL 3

    Author Closing Comment

    Thanks alot

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (…
    Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    This tutorial goes over how to archive and restore FreeBSD jails that are managed by ezjail.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now