0

I need help. I am trying to set up a social networking website at home just a small local website for right now. I am doing everything on my own. I turned my old 2009 HP desktop into a server, Ubuntu Server 14.04, with light weight GUI desktop, installed flashplugin and installed update, about to install OpenSSH to be sure it's on here. I think I choose samp also when I did the install CD today. I need to know how to create a remote access to this machine since I won't have anything connected to it besides power cord and ethernet cable. I would like remote access to the PC from another with my laptop so I don't have to stay in one spot all the time. I have a few questions below.

  1. How do I do remote access, and what should I use? - PUTTY? Webmin?
  2. Database to store names and accounts of the social network: Can I store database and web server together on the same computer?
  3. What step would be after all this?
  4. Last question what commands should I do to complete setup for a website on the my old desktop?

1 Answer 1

3

If you want to do it right, you should learn to use and love the terminal. Don't know how well you know it now, but the bash terminal is a great thing to know, and has lots of features (type man bash and see if you can figure it out, if you don't know it now. The learning curve is a bit steep, but once you learn, you can administer your server easily from anywhere).

There is good documentation on the Ubuntu site for setting up a server.

You should install the OpenSSH server (sshd), and the OpenSSH client on your desktop. That's all you need to log onto the server and do everything you need just like if it was local. You can run programs on the server, but display it on the client. You do not need Putty or any other software to do this.

Normally, you would install a database on the server, such as SQL server, which can be accesses by the Web Server, such as Apache. Users create accounts on the website, and they are stored in the database. You can install and administer all this using ssh.

As far as what to do after this, the Ubuntu guide will be good, but you don't need to install everything. Start with ssh, then the web server, database server, PHP, and possibly phpMyAdmin, but it depends on what you will be doing with the website.

The traditional LAMP server is Linux, Apache, MySQL, and PHP. This is what you usually get with a hosted website (non-windows one, at least).

You might want to go through a tutorial on creating websites, if you don't know what you are doing. There are some good hands-on tutorials, although I'd have to check on which ones are still around, since it's been a couple of years since I've done any websites. But I taught myself in a pretty short amount of time, and got jobs setting up and programming a bunch of sites for local companies.

EDIT: By the way, I personally would advise against installing LAMP as one installation. It's really not hard to set it up individually, and adding a level of indirection to me just complicates things. If something goes wrong, it's harder to figure out what it is. And when you need to modify something, it might be more complicated, or even not possible without learning how the stack works first.

2
  • 1
    I've found many Ubuntu urls are one-for-one replaceable with version numbers. So, https://help.ubuntu.com/14.04/serverguide/serverguide.pdf ; with ^12^14 . HTML version of your link might be preferable to some: https://help.ubuntu.com/14.04/serverguide/
    – belacqua
    May 30, 2014 at 21:24
  • @belacqua: Thanks,good idea; I changed it in my post. I thought I had done something like that a while back, but I guess not. For some reason, all my searches seem to show 12.04 still; but I'll bet they are pretty similar anyway. May 30, 2014 at 23:59

Not the answer you're looking for? Browse other questions tagged .