Other Useful? Computer

Discussion in 'Software' started by MarkW7, 22 May 2009.

  1. MarkW7

    MarkW7 Total Noob

    Joined:
    30 Nov 2008
    Posts:
    1,795
    Likes Received:
    32
    Problem solved.
     
    Last edited: 20 Nov 2010
  2. thehippoz

    thehippoz What's a Dremel?

    Joined:
    19 Dec 2008
    Posts:
    5,780
    Likes Received:
    174
    easy to do... setup your own webserver with php.. use a high port number to connect to like 30000 and password protect your pages.. you can even setup your own sql server- bounce through the webserver as a proxy using something like this http://sourceforge.net/projects/poxy/ and write a webpage to view your webcams
     
  3. MarkW7

    MarkW7 Total Noob

    Joined:
    30 Nov 2008
    Posts:
    1,795
    Likes Received:
    32
    .
     
    Last edited: 20 Nov 2010
  4. gnutonian

    gnutonian What's a Dremel?

    Joined:
    6 Jan 2009
    Posts:
    340
    Likes Received:
    13
    In theory, yes. Through the school's proxy you will connect to your own webserver (this computer), which is most likely not blocked by your school. Any webpages you visit through your webserver will be requested by your server, not the school's proxy.
    If you make an SSH tunnel between your laptop and your webserver, it'll be encrypted too and no one will know. Unless the school's proxy blocks SSH.

    I haven't been up for long, so I hope I'm making some sense.
     
  5. MarkW7

    MarkW7 Total Noob

    Joined:
    30 Nov 2008
    Posts:
    1,795
    Likes Received:
    32
    Thanks - Yeah this is what i am after; i will be connecting from my laptop though wich has wireless but will it need to be wired?
     
  6. gnutonian

    gnutonian What's a Dremel?

    Joined:
    6 Jan 2009
    Posts:
    340
    Likes Received:
    13
    Wired or wireless shouldn't make a difference. (Assuming there's wireless access points, of course.)
     
  7. MarkW7

    MarkW7 Total Noob

    Joined:
    30 Nov 2008
    Posts:
    1,795
    Likes Received:
    32
    so i need to be on someones network to then connect to my own/
     
  8. gnutonian

    gnutonian What's a Dremel?

    Joined:
    6 Jan 2009
    Posts:
    340
    Likes Received:
    13
    Well, you need some sort of connection when you're out and about in order to connect to your own webserver. In the same way you need some connection to connect to anything when you're out and about.
    It doesn't matter if it's an open access point in a coffee shop or your school's network. As long as you can connect to the internet, you'll be able to connect to your webserver.
    If the connection you use at that time uses a blacklist (like most schools), your webserver's address won't be on there so you'll have no problem connecting to your own webserver, and from there to whatever website on the internet.
     
  9. MarkW7

    MarkW7 Total Noob

    Joined:
    30 Nov 2008
    Posts:
    1,795
    Likes Received:
    32
    Sounds good :)

    What does this intale? Do i need a website or do i just enter the machines IP?
     
  10. gnutonian

    gnutonian What's a Dremel?

    Joined:
    6 Jan 2009
    Posts:
    340
    Likes Received:
    13
    You'd normally connect to the machine's IP. If you SSH to the machine you can basically use it as if you were at the computer itself.

    I've never set up a webserver or proxy so I can't give any hands-on advice. However, as usual, Google has all the answers: http://net.tutsplus.com/tutorials/php/how-to-setup-a-dedicated-web-server-for-free/ (and there's plenty more if you google it).

    If you log into the server remotely, you can take control of it and see your webcams, browse the internet through the server, etc.
     
  11. MarkW7

    MarkW7 Total Noob

    Joined:
    30 Nov 2008
    Posts:
    1,795
    Likes Received:
    32
    I don't want to host a web site as such,
     
  12. gnutonian

    gnutonian What's a Dremel?

    Joined:
    6 Jan 2009
    Posts:
    340
    Likes Received:
    13
    You don't have to. That tutorial is valid even if you skip the "add your website" part.

    The only web interface I'd recommend is if you want to view your webcams. It might be an easy solution to have a protected webpage stored locally on the server which shows you the webcams. I've seen it done (webcam output on a webpage), but I have no idea how. I'm not exactly a big fan of webcams (I'm too ugly).

    For anything else just use SSH. Or just route the traffic through the server.
    The best thing would be to go on Google and read up on all the possibilities.
     
  13. MarkW7

    MarkW7 Total Noob

    Joined:
    30 Nov 2008
    Posts:
    1,795
    Likes Received:
    32
    .
     
    Last edited: 20 Nov 2010
  14. MarkW7

    MarkW7 Total Noob

    Joined:
    30 Nov 2008
    Posts:
    1,795
    Likes Received:
    32
    Ok, i have debian installed but this is tricky..
     
  15. MarkW7

    MarkW7 Total Noob

    Joined:
    30 Nov 2008
    Posts:
    1,795
    Likes Received:
    32
    .
     
    Last edited: 20 Nov 2010
  16. gnutonian

    gnutonian What's a Dremel?

    Joined:
    6 Jan 2009
    Posts:
    340
    Likes Received:
    13
    "It works!" is the standard Apache page saying that, well, your Apache server works.

    You can replace the default website (the "It works!" file) with your own; either use the Apache default folder or change the folder to wherever you are going to keep your files. http://apache.org for all your Apache needs ;)
    A quick google turned up this Ubuntu wiki: https://help.ubuntu.com/community/ApacheMySQLPHP . If you skip to the section titled "Virtual Hosts" you'll see a step-by-step on how to do the above. As Ubuntu's based on Debian, I think the commands will work as they are presented there (provided you have gedit or nano installed, but you should do. And which distribution doesn't do "sudo" nowadays).
     
  17. MarkW7

    MarkW7 Total Noob

    Joined:
    30 Nov 2008
    Posts:
    1,795
    Likes Received:
    32
    I've now got 192.168.2.x on all machines including windows 7 :D and it's now .php not .html

    I can edit index.php but how do i host files on there?
     
  18. gnutonian

    gnutonian What's a Dremel?

    Joined:
    6 Jan 2009
    Posts:
    340
    Likes Received:
    13
    You just put the files in the folder where index.php is? :p
     
  19. MarkW7

    MarkW7 Total Noob

    Joined:
    30 Nov 2008
    Posts:
    1,795
    Likes Received:
    32
    How would i go about putting files from my usb stick onto the computer then onto the site :eek:
     
  20. gnutonian

    gnutonian What's a Dremel?

    Joined:
    6 Jan 2009
    Posts:
    340
    Likes Received:
    13
    Ehh... You plug in the USB stick. It'll probably automount. If it doesn't... Google how to manually mount a USB stick (or hard drive, should be the same).

    Once they're on the computer, put them in the folder where index.php is.


    Failing all of the above, mount the USB stick on another computer, create a shared folder on the server and transfer it that way.
     

Share This Page