If anybody can help translate this site into a Moodle Scholastic format I have a Moodle instance for you to help do it on. Contact me directly. ;)
In the pages that follow, you will find this isn't the simplest way to set up a website in your own home, office, or MAAS location, however it is a fairly secure way to set things up. I don't think it's DoD secure, but it's really good.
In today's world I don't see any reason for any entity—be they a individual with a paper plane building blog or a corporation—to have an unsecured server.
Composer is a software handler/installer/etc. that has become very popular and I use it in many of the following pages to install, modify & maintain them. Since I started making this "how--to" site the way I installed and used Composer has changed drastically, so I'm using this page as the place to display my composer how-to.
See the official Composer page for details, but I've seen a few other ways to go about it. One is with shell commands, another at "How do I install Composer programmatically?" is by doing a shell script file, and they hyperlink you to another method still. However, I think the APT way is best the official Composer page way is the best.
root, or with the sudo command. You want to be sure you are in your own /home/<your user name>/ directory.mkdir binphp -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"php -r "if (hash_file('SHA384', 'composer-setup.php') === '544e09ee996cdf60ece3804abc52599c22b1f40f4323403c44d44fdfdd586475ca9813a858088ffbc1f233e9b180f061') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"Installer verified" if things worked, and "Installer corrupt" if something's wrong with the key matching the software downloaded by copy. The "Installer corrupt" message indicates that the installer program gets un-linked so that it wont actually install.php composer-setup.php --install-dir=bin --filename=composer --version=1.5.2All settings correct for using ComposerDownloading...Composer (version 1.5.2) successfully installed to: /home/<your user name>/bin/composerUse it: php bin/composerphp -r "unlink('composer-setup.php');"php bin/composer command. Using composer in general though, from a folder where you see a composer.lock file you may execute, php ~/bin/composer install, or perhaps php /<full path to your home directory>/bin/composer update and so on and so forth.Next Page: Prep Apache for Websites | Next Section: MySQL & PostGRES interfaces