This is a bit overdue but I'd like to introduce...

The StackScript is simple. It is a tweaked and customised deployment script for Linode (http://linode.com).
The script deploys a basic LEMP stack - i.e. Linux (CentOS 6.5 x64), Nginx (compiled from source), MariaDB, PHP-FPM.
You set this up as a script within Linode's control panel and then when you deploy servers it will automatically configure and optimise them, making them ready to go.
Included is a bunch of documentation to help you get started. While this script streamlines things, it is no substitute for someone who knows what they are doing in the context of more advanced configuration, we will not provide 1-on-1 server tech support for people who break an automated process (though in the 6 Week AMC, we do), and we cannot guarantee the security or performance of your server - the onus is on your for this, though the server rolled out is reasonably robust.
To start you can check out our documentation here - https://www.dropbox.com/sh/8m7oiut9d...gwFd-0KJa?dl=0 (password = stmrocks)
Note that there are parts where you need to copy/paste large bits of text. For this please use the included text files as copying from a PDF can lead to unwanted errors. Similarly for console work, please manually type things that are simple if you are concerned - an incorrect single quote for example can break things, as do unwanted line-breaks in PDF formatting.
Please ask support questions here.
P.S. it goes without saying, but this documentation and StackScript is for STM Members Only. We created this for you and AMC participants to save time and streamline VPS deployment. Please do not go sharing this and the documentation outside the forum or we may be forced to withdraw the script from Linode and keep it private to the 6 Week AMC participants.
Phenomenal share! Thanks Zeno, this is incredibly helpful. <3
why mariadb ? does anyone use it here ?
First of all thank you for making this available to the rest of us 
I know we created an ftp user in the guide but it's not really clear on how to actually upload files, etc. Is an FTP program like Filezilla the standard way to work with files on your server? I've read the Linode guide and from what i understand i have to first create a limited user (useradd example_user && passwd example_user) and then i can use that user, password along with my server ip address for connecting with Filezilla via SFPT. Am i on the right track? 
Also, the guide mentions FunnelFlux, which i presume is the recommended tracker on 6AMC, but doesn't include the guide on installing it. I'm also using FF and not really sure how to install it. Would i unzip the folder on my hard drive, connect to my server using Filezilla, navigate to my vhost (ff.mytracker.com) upload the files, then visit ff.mytracker.com/install.php?
Thanks!
The FTP user you have to create using the instructions above is a virtual one. There is no such system user which means no limited user is required. You should use FTP over TLS/SSL as this is the default way pure-ftp is configured and you may use filezilla yes. FileZilla is an FTP client is has nothing to do with the FTP service running on your server. If you have followed the instructions exactly you should be able to connect using your server IP as FTP host and the username you created.
With the StackScript setup you will not have SFTP ( You will but only with the root username as no additional users will be available for SFTP connection ). It is of course possible to setup SFTP users if you need any but better use ProFTP as FTP service in this case. Unfortunately the proftp service setup is not covered in the documentation we have yet. Using system users is also possible but with that you will have to set proper ownership of the files you upload. When using PureFTP/ProFTP with virtual users you can specify who will be the owner of the files after those are uploaded and this way you do not have to manually go and fix file ownerships after each upload.
After you have followed all the instructions available with the stackscript you should have a working domain/subdomain, FTP account and database. With that information you may just follow FunnelFlux installation instructions available on your Dashboard which is also the FunnelFlux download page.
Thanks Goshev, appreciate the reply on both my server threads! The Funnel Flux instructions are based off a cpanel dashboard like you get in wordpress, the only linux instructions it gives are for Vultr. I eventually just hired a Linux Administrator to set everything up for me and it only cost me $40
(Would of cost more though without the STM LEMP stack already installed) I don't know what i was thinking trying to save a few bucks for something as crucial as this 
Is there a version for digital ocean?
Many thanks for this. Had FunnelFlux up and running smoothly in an hour and I have no knowledge of linux, servers or anything of that ilk.
@zeno
Does this script include eaccelerator / some sort of PHP opcode cache? How about page caching like varnish?
Here's a good read for tech inclined. 40 m hits per day on a $10 VPS.
@taewoo
There is zendopcache built but it is disabled. If you want I can PM you a few commands to enable it.
Varnish is good but makes the whole setup more complex, also nginx is pretty good in handling large number of requests on its own. Keep in mind that using php caching with a tracker installed on the same server may not be a really good idea. As for any php landers php cache is ok.
The stackscript was created for people who have basic linux understanding or no linux knowledge to setup a server with FunnelFlux on it. If we add caching this will add tasks that should be completed to maintain the environment properly and basic linux knowledge may not be sufficient.
@affgurl
There is no DO version. There were using using DO which are kinda unexplainable as installation should run identically on any VPS with CentOS 6. However Linode works perfect but DO the setup fails randomly. Same issue with Vultr. That is the reason we kept the script only for Linode. It is possible to make it work on any CentOS 6 VPS but some advanced linux knowledge may be required.
"Keep in mind that using php caching with a tracker installed on the same server may not be a really good idea. "
Why is that? For my own curiosity
Tracking systems need to receive a user with some pieces of data, then go through a sequence of logics based on that info + conditionals that you may have set.
There are lots of ways to improve performance with "caching" which can be as simple as using Memcache and caching an IP database in the RAM.
But you don't want to cache PHP output and potential decision-making functions with a broad brush - in this sense its best if the tracker developers actually plan for what can and can't be accelerated with various caching/acceleration technologies.
So I think the nuance here is that it is dangerous for a user/customer to try and layer caching tech that affects PHP over a tracker when it is not designed to use that specifically -- not that these tools are inappropriate for tracking systems entirely.
@taewoo - "Some people, when confronted with a problem, use caching. Now they has one problems." 
I have to run csf-x disable firewall command to run FunnelFlux dashboard. It wont load the main nginx server also when I load the domain
But in your useful command txt, you're recommending to enable firewall. thoughts?
@triangle
Sent you PM , check it when you have a moment.
haha... i am not good at the self host technical setup i guess.
>> Following the STack Script setup, the service setup will take 30-60mins. But mine only took 6 seconds after clicking the "Boot" button, and I do not see any reboot as well after that. something wrong? thanks.
After you click boot the server itself will boot in a few seconds that is correct. However there will be a process initiated which will run all the installations to get you LEMP + a few more things installed. This process may take up to 60 minutes depending on the VPS you purchase and the connectivity to the repositories required for all the packages to be downloaded and installed.
You can login on the VPS immediately after the first boot but there will be nothing installed on it only CentOS 6 minimal. I have just ran through the same process and it works fine. If it is not working for you I will need more details on how to recreate the problem in order to give you details. PM me any errors or any steps I can follow to see the error you get.
hey goshev ! waited for like 2 hours followed the instructions and after logging in getting this :
Last login: Mon Mar 14 14:38:59 on ttys001
Users-MBP:~ MacBookPro$ ssh root@ipaddress
root@ipaddress's password:
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Mar 14 13:39:47 2016 from ...
root@localhost:~# cd /usr/local/src/centminmod-master/
-bash: cd: /usr/local/src/centminmod-master/: No such file or directory
root@localhost:~#
what am I doing wrong here ?
heres the screen shot of the current set up https://www.dropbox.com/s/m3if6iszq3...20809.png?dl=0
Thanks
Hello toneko,
You have installed Debian on that VPS:
--- Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
It also shows on your screenshot you have used debian profile to build the VPS which is the reason the stackscript will not work.
The stackscript works only with CentOS 6 64bits at this point. Rebuild the VPS using the stackscript and it will work
. If you follow the stackscript instructions there is a portion where you select the OS and it has to be CentOS 6 not debian based distribution.
If you'd like a video walkthrough of this, Anthonyle just created one:
http://stmforum.com/forum/showthread...eo-Walkthrough
The stackscript installs memcached - it's used automatically by FF when it's available. I'd recommend asking @goshev how to enable Zend opCache too as it helps quite a bit.
If you use several installs of FF, right now you'll have to log into all of them separately. However I'll have a very good news soon - can't tell more for the moment 
@vitavee looking forward and don't want to put any pressure by asking but would one instance be enough for your soon to come update ?
@goshev would you be so kind and share the Zend opCache activation script @vitavee is talking about ?
Thanks 
Sending you a PM 
anyone having issues with creating database for the linode.. i keep receiving this message "ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'jinju' at line 1
You have new mail in /var/spool/mail/root
any suggestions? thanks i n advance
@frshprince
The command you are executing is not correct. You have missed/modified something you should have not while modifying the base command provided in the documentation. Copy the command from the pdf in a text file. Make sure you only edit the database name/username/pass portions without removing anything else or modifying it and it will work. Just tested the command from the document on DropBox it works fine.
i followed this methode and i created a database using the script mentioned above but i always have a problem :
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ...
@seosar -- this means you have not executed the correct command or while copy/paste it some of the characters there were replaced.
Make sure you copy the command exactly as it is in notepad, sublime or similar plane text editor that will not add any formatting.
Are there any updates planned for CentOS 7? Thanks.
@toneko -- Sent you PM as I will need some additional info to get you the right commands to enable opcache.