Local Setup of Multisite on LAMP

I had some issues this month setting up locally several multisites on LAMP so I've decided to draft my complete flow for further use (and get other opinions on it as well). The sites were different in nature, some were running on Apache, others - on nginx, running on subdomain or subfolder-related structure. Placing the data and the database I place the WordPress folder in my server's DocumentRoot folder, such as /var/www or /opt/lampp/htdocs.  I'm also creating a database and importing the dump over there: [sql] CREATE DATABASE somedb DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci; [/sql] [bash] mysql -umydbuser -p --database=somedb… Continue Reading