+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Creating a dedicated server and installing more stuff

  1. #1
    taha116's Avatar
    taha116 is offline x10 Lieutenant taha116 is an unknown quantity at this point
    Join Date
    Nov 2007
    Posts
    497

    Creating a dedicated server and installing more stuff

    So i found a very intriguing tutorial on installing Apache php and mysql . Now before i check it out more I want to know how to install a control panel out of one of the 3 ones i know of.

    I just read about the panels here
    http://webhostinggeeks.com/blog/2009...r-your-server/

    Now It seems to me (correct me if im wrong) webmin is the only one compatible with windows and since im using windows it looks like thats what ill need to use right? so how will the instilation go? by this i mean what directory paths would i enter? and what paths will it ask for? If anyone knows please tell me.

    Besides that i want to ask about security are thier any common mistakes that people make that result in secuirty holes? how can i check for them? And what i should i do to prevent malicious users from damagin my computer.

    Ill probably post more questions here if i find people here to be helpful on the topic. Thank you in advance for taking the time out to help me out.


    Need help with starting up your website? No problemo PM if you need help, if you want help with scripts like WordPress, SMF and so on dont be afraid to PM for that too.


  2. #2
    qjqqyy is offline x10Hosting Member qjqqyy is an unknown quantity at this point
    Join Date
    May 2009
    Posts
    6

    Re: Creating a dedicated server and installing more stuff

    dont do that
    i did that
    you know what happened???
    ALL php scripts cant detect that MySQL is installed
    i cant solve it

  3. #3
    Livewire's Avatar
    Livewire is offline Abuse Compliance Officer Livewire is a glorious beacon of lightLivewire is a glorious beacon of light
    Join Date
    Jun 2005
    Location
    Behind a keyboard.
    Posts
    8,998

    Re: Creating a dedicated server and installing more stuff

    Quote Originally Posted by qjqqyy View Post
    dont do that
    i did that
    you know what happened???
    ALL php scripts cant detect that MySQL is installed
    i cant solve it
    Not to be blunt at all, but given the sheer number of hosts that -do- have apache, mysql, and a ton of other addons installed, I don't think the problem is php.

    The issue is likely directly related to a port conflict (mysql trying to bind to a port that's already been bound) or a firewall issue.



    Back on the original subject, first and foremost, GET A GOOD FIREWALL AND ANTIVIRUS. That'll be good enough for starters; as for preventing bugs and hacks, keep up-to-date with the latest software (but stick away from "RC" Release Candidates, which may not be stable enough to use), hit up google and get in touch with other forums related to the software you're using (so you can see what others are reporting for bugs), etc.

    The only major security hole I'm really aware of is allowing someone to run Exec obviously, but also allowing an SQL Injection. Best example of that is this: mysql_query("SELECT * From {$_GET['sql']}"); Works fine if sql is just a table. But what happens if instead of Table_Name it is this:
    Code:
    Table_name;Drop Table_name;
    Drops the table as the second part of the query and page goes away. That's essentially what an SQL Injection is, so find a few tutorials on "Sanitizing" user input - it basically boils down to protecting the query by either commenting most of it out, or even better, just clipping any excess on the query that you -dont- need.




    Wish I knew more on the control panel side, my own opinion is just DIY everything, but that's probably not the best of options if you're just getting started either


    TOS breakers will be suspended regardless of race, creed, national origin, hair color, or favorite food. Thanks for your understanding!

  4. #4
    taha116's Avatar
    taha116 is offline x10 Lieutenant taha116 is an unknown quantity at this point
    Join Date
    Nov 2007
    Posts
    497

    Re: Creating a dedicated server and installing more stuff

    Ok so i have norton360 so the firewall and antivirus is not an issue. What about disabling Exec ? how do i do that properly also I know nothing when it compes to sql injection, except that i dont want people doing it to my database and its bad.


    Need help with starting up your website? No problemo PM if you need help, if you want help with scripts like WordPress, SMF and so on dont be afraid to PM for that too.


  5. #5
    leafypiggy's Avatar
    leafypiggy is offline Community Advocate leafypiggy is on a distinguished road
    Join Date
    Aug 2007
    Location
    Massachusetts
    Posts
    2,228

    Re: Creating a dedicated server and installing more stuff

    edit the PHP configuration. It should be in %path_to_php%/php.ini
    Neil Hanlon | x10Hosting Support Representative
    Neil[at]x10hosting.com
    █ I'm always happy to help. Just ask a question in Free Hosting
    Terms of Service IRC

  6. #6
    taha116's Avatar
    taha116 is offline x10 Lieutenant taha116 is an unknown quantity at this point
    Join Date
    Nov 2007
    Posts
    497

    Re: Creating a dedicated server and installing more stuff

    Ok can you give me a instruction like

    Find
    :line of code:

    Replace with
    :line of code:


    Need help with starting up your website? No problemo PM if you need help, if you want help with scripts like WordPress, SMF and so on dont be afraid to PM for that too.


  7. #7
    leafypiggy's Avatar
    leafypiggy is offline Community Advocate leafypiggy is on a distinguished road
    Join Date
    Aug 2007
    Location
    Massachusetts
    Posts
    2,228

    Re: Creating a dedicated server and installing more stuff

    Google is your friend, first result shows you the answer.

    Find:
    Code:
    ; This directive allows you to disable certain functions for security reasons.
    ; It receives a comma-delimited list of function names. This directive is
    ; *NOT* affected by whether Safe Mode is turned On or Off.
    disable_functions =
    Replace with:
    Code:
    ; This directive allows you to disable certain functions for security reasons.
    ; It receives a comma-delimited list of function names. This directive is
    ; *NOT* affected by whether Safe Mode is turned On or Off.
    disable_functions = exec
    Everything isn't going to just be given to you.
    Neil Hanlon | x10Hosting Support Representative
    Neil[at]x10hosting.com
    █ I'm always happy to help. Just ask a question in Free Hosting
    Terms of Service IRC

  8. #8
    taha116's Avatar
    taha116 is offline x10 Lieutenant taha116 is an unknown quantity at this point
    Join Date
    Nov 2007
    Posts
    497

    Re: Creating a dedicated server and installing more stuff

    yah i undertsnd that, Didnt think alot of people ask that kind of question but i guess they do.

    BTW the thing im gona use to install apache and everything is XAMPP if i dint mention that yet.
    just so people who are wondering know


    Need help with starting up your website? No problemo PM if you need help, if you want help with scripts like WordPress, SMF and so on dont be afraid to PM for that too.


  9. #9
    TheMan177 is offline x10 Sophmore TheMan177 is an unknown quantity at this point
    Join Date
    Jan 2008
    Posts
    179

    Re: Creating a dedicated server and installing more stuff

    Quote Originally Posted by taha116 View Post
    BTW the thing im gona use to install apache and everything is XAMPP if i dint mention that yet.
    just so people who are wondering know
    A word of warning: XAMPP is designed to be a development distribution of those technologies, to make development easier the services are configured to be very accessible and as a result are very insecure. The configuration XAMPP ships with by default is not suitable for production environments.

    I highly suggest against exposing XAMPP to the public, though if you insist you need to lock it down and configure it to be suitable for production.

  10. #10
    taha116's Avatar
    taha116 is offline x10 Lieutenant taha116 is an unknown quantity at this point
    Join Date
    Nov 2007
    Posts
    497

    Re: Creating a dedicated server and installing more stuff

    Yeah, i know but good point for other people to take note of, XAMPP however does offer instructions on how to secure your server so its suitable for public use as well

    THe main issues are no passwords are setup for anything, but they give you fairly simple instructions on how to fix that
    Last edited by taha116; 06-30-2009 at 05:35 PM.


    Need help with starting up your website? No problemo PM if you need help, if you want help with scripts like WordPress, SMF and so on dont be afraid to PM for that too.


+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Installing ShoutCast Server
    By Scott in forum VPS Tutorials
    Replies: 15
    Last Post: 06-05-2011, 09:37 AM
  2. Installing things onto the server.
    By Genius_boy001 in forum Free Hosting
    Replies: 1
    Last Post: 08-17-2008, 11:23 PM
  3. Help installing a server
    By callumacrae in forum Computers & Technology
    Replies: 8
    Last Post: 06-14-2008, 12:20 PM
  4. installing Apache in Localhost.
    By naim4u in forum Tutorials
    Replies: 5
    Last Post: 01-20-2008, 04:46 AM
  5. Error 500 Internal Server Error Installing Wordpress
    By othrayte in forum Free Hosting
    Replies: 3
    Last Post: 08-31-2007, 04:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers