Installing NodeJS

Table of ContentsInstallation Installing NodeJS Removing a NodeJS version Removing NVMMageStack natively supports NodeJS and provides an installer for Node Version Manager (NVM) to enable you to easily install and switch between NodeJS versions. ! The following should be run … Continue reading

SSH warnings when working with multiple stacks

Table of ContentsOn Windows On Linux Disable host checking for your user Disable host checking for all users Scan hosts on connectIf you have multiple separate stacks with Sonassi, you will find that connecting to different stacks and accessing SSH … Continue reading

Image Optimiser

Table of ContentsExamples Running a lossless optimise on a single directory Running a lossy optimise on a single directory Running optimise on multiple directories Running optimise via cronThere is a native tool in MageStack to losslessly optimise images. This means … Continue reading

Optimal Static Content Subdomain Configuration

Table of ContentsConfigure DNS Records Create Subdomains/Vhosts Change Magento URLs Strip Cookies From FilesUsing subdomains for serving static content on your store will improve both performance and cacheability of static assets. Making this change is very straightforward and can be … Continue reading

Installing Composer

Table of ContentsWays of running composer Traditional Via security wrapper Installation Traditional Via security wrapperMageStack natively supports Composer and comes with a built in installer for the tool. Ways of running composer Traditional You can install and run composer in … Continue reading

Reset File Permissions

Table of ContentsBasic permissions Advanced permissions Enable advanced permissions Disable advanced permissions Using hooks Examples Basic: Reset permissions for example.com Advanced: Reset permissions for all domains-groups/vhosts Using a post-completion script for WordPress UploadsMageStack provides extremely consistent file permissions across all … Continue reading

Securing your Magento Store

Magento is a secure application out-of-the-box, but it should be supplemented by further measures to ensure it is as secure as possible. Below is a series of steps on securing/hardening your Magento store. Do not use the root account or … Continue reading

Audit Logging

Table of Contents/microcloud/logs_ro Mini report Daily email notificationMageStack performs a number of different automated audits for security purposes, this includes access, file changes and PHP code differentials. The data is stored in the logs directory for the respective host it … Continue reading

Securely running cron tasks

Table of ContentsRunning custom tasks Examples Re Index every X hoursThe isolation of web server and access server in MageStack provides excellent security for your SSH/FTP (access) environment from that of the web. The automated element that connects the web … Continue reading

Adding an SSH user

Table of ContentsExamples Full access Create user Remove user Restricted access Create user Remove userAdding a SSH user is performed via SSH. Log into your acc server and switch user to root su -l root /microcloud/scripts_ro/create_ssh_user.sh -h There are a … Continue reading