• Where to go started.
    8 replies, posted
Hey there, A little background. I have been working as a web developer for over 2 years now. I would say I'm pretty good with javascript and SQL, and can sufficiently use PHP. I can do plently of clientside javascript including ajax, workers, DOM manipulation, responsive HTML, I have created a sql php session management system, normalised database design and created 2 functioning web apps for my company, In short I can do the coding part. The problem is I have never configured or set up a server, or linked a server to a domain. I want to create a website for my friend, once it is set up and stuff it will be no problem but I have no idea where to get started (my work uses amazon ec2 instances which was set up by someone else) I don't want to use AWS for the website I plan to make so where would be the best place to start? What steps are roughly involved?
There are lots of options - if you plan to make a few sites for some friends, perhaps look into getting a Linux VPS and installing the Apache web server. A "standard" install of Linux, Apache, MySQL, and PHP (LAMP) will probably be good for a start, there's a simple guide here: [url]https://help.ubuntu.com/community/ApacheMySQLPHP[/url] The toughest part is probably configuring Apache - but once you've sussed out the config the rest is easy. Here's an example of the virtual host config, which is how you'd be defining where Apache serves files etc.: [url]http://httpd.apache.org/docs/2.2/vhosts/examples.html[/url] Many people would disagree with my recommendation of LAMP, and it's true that there are arguably better alternatives (perhaps avoiding PHP in favour of Ruby, avoiding MySQL in favour of MariaDB, and avoiding Apache in favour of nginx, for just a few examples). But, there's loads of support online for a typical LAMP server which is why I'd recommend starting there, but just being aware that there ARE alternatives and it's up to you to research them and discover the best practices I can recommend RamNode for a VPS - reliable and well-known: [url]http://ramnode.com/[/url]
LAMP suits me fine, PHP, for all its flaws, is my most comfortable server side language. Thank you very much for the quick reply.
using nginx is good for lowend servers. there are tutorials to get LNMP stack
[QUOTE=jung3o;45898152]using nginx is good for lowend servers. there are tutorials to get LNMP stack[/QUOTE] Probably have to Google for LEMP then, LNMP doesn't really give much. All it does is correct you to LEMP. (Same thing either way)
If you're going for a LAMP setup, I'd suggest taking a look at this guide: [url]https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-14-04[/url]
[QUOTE=Moofy;45908275]Probably have to Google for LEMP then, LNMP doesn't really give much. All it does is correct you to LEMP. (Same thing either way)[/QUOTE] oh yea, that's the right one. I just figured it was LNMP because it starts with N :v: DO has a ton of great guides. here's another one for LEMP stack. I use it on my vps [url]https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-12-04[/url]
[QUOTE=jung3o;45910580]oh yea, that's the right one. I just figured it was LNMP because it starts with N :v: DO has a ton of great guides. here's another one for LEMP stack. I use it on my vps [url]https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-12-04[/url][/QUOTE] I used that guide along with [URL="http://www.dotdeb.org/"]dotdeb[/URL], it's perfect
You could get [URL="http://www.zpanelcp.com/"]zPanel[/URL]. It's really awesome.
Sorry, you need to Log In to post a reply to this thread.