running an ubuntu server (LAMP) behind SL

Discussion in 'HyperWRT Firmware' started by zerosc, May 19, 2007.

  1. zerosc

    zerosc LI Guru Member

    i'm thinking of installing Ubuntu Server edition on my desktop that's just sitting collecting dust (only 3 years old but i rarely use it, still pretty powerful too). should I just DMZ it or should i manually forward the ports that I need to run a web/ftp server (php, MySQL, etc.).

    I'm actually paying a webhost to serve my personal website, but i'm thinking of just canceling the hosting and serve the site myself using my desktop.

    anyway, suggestion would be greatly appreciated...thanks.

    oh, i got WRTSL54GS with Thibor 17rc3.
  2. ifican

    ifican Network Guru Member

    Well the biggest issue is going to be if your isp allows port 80 traffic and if not do you mind hosting your own site on a different port? As far as to dmz or not to dmz that is up to you. Personally i think i would just port forward as you will only have a few ports, however ubuntu by its very nature has no open ports to begin with unless you tell it too. Also what i pay for webhosting is far less then my ISP would charge me to change services to buisness class so i can have inbound port 80 opened.
  3. zerosc

    zerosc LI Guru Member

    cool, good to know, thanks.

    i think i'll just forward the ports needed then.
  4. stangri

    stangri LI Guru Member

    it's cool to have a gadget running feisty OS :), but for practical reasons you might want to keep your web-site hosted on a better or more reliable channel. There are some restrictions, but I would advise you to check Google Pages or Google Apps for your domain (if you own a domain name) for the free web-site hosting.
  5. twomk

    twomk LI Guru Member

    I am planning to run a ubuntu server 7.04 as well. Can anyone give me detailed information how to do this?

    I already have my Ubuntu webserver installed in a desktop computer. The next hurldle I have is how do i connect this to the Linksys router and how do I configure it so that I can host my own web sites but still keep the other computers connected to the same router secure. Do i connect this to the DMZ port?

    Is this even possible?

    I am a complete Newbee to all of this.
  6. zerosc

    zerosc LI Guru Member

    I ended up installing the Desktop edition instead of the Server edition, mainly because of the GNOME desktop environment.

    I had to install the "packages" needed to run a web/ftp server using "sudo apt-get install [name-of-package]", from the terminal (Applications->Accessories->Terminal).

    Here are the stuffs i installed,

    You'll find the instructions from the following sites,

    I'm still "customizing" everything but the basics are working, I can access webpages stored on my desktop from the internet.

    Of course, if the computer is behind the router, like in my case, I had to forward certain ports, mainly 80 (http) and 21 (ftp), both of which can be changed via configuration files for the respective server.
  7. zerosc

    zerosc LI Guru Member

    Yea, I'm using google apps for email for my domain. Thought the main reason I'd like to have my own server running is because of all the "stuffs" i have on my computer that I'd like to be able to access when I'm traveling. Plus, I'm considering setting the system up at my friend's pad who got a FIOS connection. The speed on it is ridiculous, both up and down-stream.
  8. eric_stewart

    eric_stewart Super Moderator Staff Member Member

    I've got a lot of information about Ubuntu and integration of server applications on my website,

    There's also a fair amount of information (and help!) at

    Good luck!

  9. zerosc

    zerosc LI Guru Member

    thanks for the heads up, nice site by the way, i'm also trying to get the hang of drupal...too many things going on right now...maybe once i have some free time, i'll ask you some things about it...if you don't mind of course.
  10. phinn

    phinn Network Guru Member

    I have the same setup with you actually. A Linux LAMP server running on an SL with Thibor. It works great. I wouldn't set it up as the DMZ though. I just forward the ports that it needs.
  11. twomk

    twomk LI Guru Member

    can u provide me with instructions how to configure your linksys wrtg54 to work with ubuntu 7.04. I understand that i have to get a static IP from my dsl provider. other than that, how do you configure your dns settings to have you registered domain name to point to your static ip address? Does the dsl provider have to be involved in this process or does it only involved telling the domain registrar to point it to the dsl isp' dns's?

    hlep is greatly appreciated.
  12. rich

    rich Network Guru Member

    How expensive is your hosting? calculate 0.200 kw * 24 hours*30 daze/month*($/kw-hr)
    I used 200 watts....put your number in is pretty cheap these days.

    You may find it cheaper to have it hosted.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice