___
# Tags
#apache2
#blog
#bludit
#ubuntu
# Helpful docs
- [Link to tutorial](https://www.linuxhelp.com/how-to-install-bludit-cms-on-ubuntu-19-04)
## Install the dependencies
```txt
sudo apt install php php-xml php-mysql php-mbstring php-zip php-soap php-curl php-gd php-ldap php-imap php-common php-dev libmcrypt-dev php-pear apache2
```
## Pull down the .zip of the latest release
```txt
wget https://www.bludit.com/releases/bludit-3-13-1.zip
```
## Unzip the archive and install unzip if you don't have it
```txt
sudo apt install zip
```
```txt
unzip bludit-[version]
```
## Create a folder in /var/wwww called bludit then move the contents into it
```txt
mv bludit-[version] /var/www/bludit
```
## Set owner permissions
```txt
sudo chown -R www-data.www-data /var/www/bludit
```
```txt
sudo chmod -R 755 /var/www/bludit
```
## Create the bludit.conf file to create the apache2 config to run
```txt
sudo nano /etc/apache2/sites-available/bludit.conf
<Virtualhost *:80>
Servername www.linuxhelp1.com
Documentroot /var/www/bludit
<directory /var/www/bludit>
allowoverride all
allow from all
</directory>
</Virtualhost>
```
## Disable default site access
```txt
sudo a2dissite 000-default.conf
```
## Enable access to the site
```txt
sudo a2ensite bludit.conf
```
## Enable the rewrite apache2 module
```txt
sudo a2enmod rewrite
```
## Restart the apache2 service
```txt
sudo systemctl restart apache2
```
## Browse to your new blog
![[Pasted image 20220401171317.png]]