Results 1 to 10 of 10

Thread: linux help

  1. #1

    linux help

    hi there,

    could someone type out the exact commands on how to do this step by step? Im new to linux and I dont really know what Im doing on this but the server provider wont help me on it says the server is unmanaged and I do not have any! money at all to pay someone to do this, so If there is someone out there who is very kind who can post the steps of the commands to me that woul dbe great!

    Setting the correct php open_basedir settings!
    As of R9-2 the open_basedir setting is checked in several key locations of CP.
    If this setting is not correct CP will display an error asking you to set it correctly.
    This setting is required so CP can access files outside of its normal directory.

    DO NOT SET THIS IN PHP.INI

    How-to set open_basedir:

    Cpanel:
    Login as root and navigate to Tweak Security.
    Enable php open_basedir Protection.
    Exclude Protection on the domain the panel is installed to.
    Save your changes.


    Plesk:
    Edit: /home/httpd/vhost/domain/conf/httpd.include
    Replacing domain with your sites domain.
    You will see something similar to:
    php_admin_value open_basedir "/home/httpd/vhosts/domain/httpsdocs:/tmp"
    Make it read:
    php_admin_value open_basedir "/home/httpd/vhosts/domain/httpsdocs:/tmp:/usr/local/gcp"
    Apply the changes and restart apache
    Apache:
    Edit: /etc/httpd/conf/httpd.conf or your apache config.
    Locate your Virtual Domain.

    Like above for Plesk add:
    php_admin_value open_basedir "/home/httpd/vhosts/domain/httpsdocs:/tmp:/usr/local/gcp"
    Apply the changes and restart apache


    The install will be updated shortly (by 1/31/2005).

    10 Easy Steps On How to Install CP [R9]:

    Download and extract the latest version of CP to a web-based directory.

    CP will extract to your current working directory. Be carefull!

    Using your Internet Browser browse to the install.php script located in your CP directory.

    Step 1 will check to make sure your system passes its requirements.
    Fix any errors it may report.

    Step 2 asks for your MySql user information.
    CP requires its own MySql user and database in order for it to run. The default setup uses 'cp' for both.

    If you are using a web-based control panel or phpMyAdmin please create a new user and database to use in Step 2.

    We have created a small script to add the mysql user for you.
    Please download it here. Execute it by:
    sh addsqluser.sh

    Step 3 asks for basic 'profile information'.
    The default path and url should be ok. Please note if you are using a https server that the information in the fields is correct.

    Team Speak 2 URL is the url location to the Team Speak 2 Admin Panel.


    Step 4 asks for your Admin password.
    You will be able to login to CP with the user admin and the password you set here.


    Step 5 is an overview of all settings made, please verify the selections and click Install CP.


    You have now finished the install of the CP Master Web Interface.

    Now you will need to install the CP Backend Interface.

    Step 1 navigate to the web-based install directory and execute install.sh:
    sh install.sh

    Step 2 you will need to type out INSTALL and hit enter to continue.
    This application will download and extract the CP Master Server Backend files. It will also create the require Crontabs and set directory permissions.

    Step 3 would you like to setup a server now?
    You will want to setup your Master Server now.
    Follow the instructions below.



    Adding A New Server:

    Step 1 Enter the servers ip [ENTER]:
    Enter the IP address of the server your installing.

    It will then attempt to create the keys used to login.
    If it asks would you like to overwrite (y/n) it does not matter what choice you pick.

    Enter your root password.
    The program will install the keys to your root user for future logins.

    Step 2 Add machine to Admin Panel?
    You will want to add this machine to the admin panel.
    You can login to CP to add ip addresses to this machine.
    remember im a linux noob
    StanSQL

  2. #2
    Join Date
    Nov 2004
    Location
    UK
    Posts
    191
    just follow the tutorial.... it seems pretty simple, if your server is unmanaged and your don't know how to do a simple install I would consider switching provider / upgrading to a managed server solution. ESPECIALLY if you have customers being hosted on this machine.

  3. #3
    Join Date
    Jan 2003
    Posts
    1,715
    The instructions posted seem reasonably detailed. I agree with Jonay -- if you literally don't know what you're doing (you ask for help on 'this' but don't state what it is), you should move to a managed server or an admin service. Just adding and enabling stuff without understanding the security implications will most certainly get you rooted.
    Game Servers are the next hot market!
    Slim margins, heavy support, fickle customers, and moronic suppliers!
    Start your own today!

  4. #4
    Join Date
    Feb 2003
    Location
    San Francisco, CA
    Posts
    190
    If you're a linux noob, I strongly not recommend you to try to install cPanel by yourself. You *may* succeed, but in case something goes wrong - you'll be totally helpless.

    Buying an unmanaged server without any experience in Linux administration wasn't a very good idea, really.
    First Amendment of a webhost: if you fail to prepare, prepare to fail.

  5. #5
    Join Date
    Nov 2004
    Location
    UK
    Posts
    191
    I don't think that's cpanel he's trying to install it looks more like some form of gaming control panel.

  6. #6
    Join Date
    Feb 2003
    Location
    San Francisco, CA
    Posts
    190
    Well, my advice pretty much refers to anything installable, except Half-Life under Windows Don't mess with the system if you're unsure what you're doing, IMHO.
    First Amendment of a webhost: if you fail to prepare, prepare to fail.

  7. #7
    can anyone help me? I may consider switching within my months when the month is over, but there cheap so not much i can say about that

  8. #8
    Join Date
    Feb 2003
    Location
    San Francisco, CA
    Posts
    190
    Dude, please start with doing two things.

    1. Read your own post. You have a detailed step-by-step instruction there, which really can't be more newbie-friendly.

    2. In case you still can't handle it - please start by at least explaining us what are you trying to do.
    First Amendment of a webhost: if you fail to prepare, prepare to fail.

  9. #9
    Another option: offer someone here $20 or so to do it for you.

    Just a thought. And no, I'm not interested.

  10. #10
    For the webbased dic. is it var/www/html? So when you visit the ip then you go to install.php?

    Setting the correct php open_basedir settings!
    As of R9-2 the open_basedir setting is checked in several key locations of CP.
    If this setting is not correct CP will display an error asking you to set it correctly.
    This setting is required so CP can access files outside of its normal directory.

    DO NOT SET THIS IN PHP.INI

    How-to set open_basedir:

    Cpanel:
    Login as root and navigate to Tweak Security.
    Enable php open_basedir Protection.
    Exclude Protection on the domain the panel is installed to.
    Save your changes.


    Plesk:
    Edit: /home/httpd/vhost/domain/conf/httpd.include
    Replacing domain with your sites domain.
    You will see something similar to:
    php_admin_value open_basedir "/home/httpd/vhosts/domain/httpsdocs:/tmp"
    Make it read:
    php_admin_value open_basedir "/home/httpd/vhosts/domain/httpsdocs:/tmp:/usr/local/gcp"
    Apply the changes and restart apache
    Apache:
    Edit: /etc/httpd/conf/httpd.conf or your apache config.
    Locate your Virtual Domain.

    Like above for Plesk add:
    php_admin_value open_basedir "/home/httpd/vhosts/domain/httpsdocs:/tmp:/usr/local/gcp"
    Apply the changes and restart apache
    I only have webmin does anyone know how I can do this, by entering it in puTTy?

    Dude, please start with doing two things.

    1. Read your own post. You have a detailed step-by-step instruction there, which really can't be more newbie-friendly.

    2. In case you still can't handle it - please start by at least explaining us what are you trying to do.
    Chill man, give me a slack! Im learning, and yes what do you think? Though I just looked at it and said I couldent do it? I did try just dont know some of the commands!

    Thanks guys for the post!
    StanSQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •