I just created a droplet (collab-cards), requested the Ubuntu LAMP stack, am trying to install Concrete5. The online help says “So let’s navigate to the Apache web server root directory first: cd /var/www”
Except there is no ‘www’ inside /var.
Someone tells me this means the LAMP stack didn’t get set up. But I can’t see what is or isn’t there, how to add a LAMP stack if it’s not there, can’t tell what I didn’t wrong along the way, and can’t see how to proceed.
No tutorial I can find online tells me what to do here, it’s been 2 hours I’ve been hunting.
Some tips would be really appreciated at this point, thank you – Alistair
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hey @totheralistair -
At first I was worried that you were having issues because the tutorial was outdated, but I just tried it myself and it worked, let me walk you through my process:
cd /var/www
wget --trust-server-names https://www.concrete5.org/download_file/-/view/90125/ -O concrete5.zip
apt-get install unzip
and then
unzip concrete5.zip
mv concrete5.7.5.9 concrete5
cd concrete5
mod_rewrite - An Apache module that helps with URL rewriting rulesa2enmod rewrite
000-default.conf
Open the file by typing…nano /etc/apache2/sites-available/000-default.conf
Important: Change the line that says DocumentRoot /var/www/html to DocumentRoot /var/www/concrete5. Then, paste this entire block of code before the </virtualserver> closing tag.
<Directory /var/www/concrete5>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
sudo service apache2 restart
mysql -u root -p
you will be prompted for a password, use the one that was printed out when you first logged in to the droplet. Then create the db with:
create database concrete5;
chown -R root:www-data application/files/
chown -R root:www-data application/config/
chown -R root:www-data packages/
chmod -R 775 application/files/
chmod -R 775 application/config/
chmod -R 775 packages/
Now, go to your droplet’s IP Address in a browser, (or if you setup DNS use the domain name) it should be running and walking you through the CMS startup process!!!
🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.