KaraOS is a highly modified fork of the awesome work of AaronOS by Aaron Adams. This project does not make any claims of ownership over the base aOS code, only the modifications which have since been made. You may see the AaronOS EULA here.
sudo chmod -R 777 /var/lib/jenkins/workspace/karameese.com
to grant access to PHP and Node
- Symlink
/var/www
to the directory of the repository.
sudo ln -s ~/Documents/karameese.com /var/www/karameese.com
- Allow access to the site root.
sudo chmod -R 777 /var/www/karameese.com
- Configure Apache2 to serve karameese.com
sudo cp ./apache.conf /etc/apache2/sites-available/karameese.com.conf
sudo cp ./alias.conf /etc/apache2/mods-available/alias.conf
- Removes the alias of our icons folder to a different, undesired location.
sudo a2dissite 000-default.conf
sudo a2ensite karameese.com.conf
sudo a2enmod rewrite
sudo service apache2 restart
- Confirm it worked with
a2query -s
- Visit the site by opening
http://localhost
Add [email protected]
to your email contacts, so the messages won't be filtered out as spam.
- Install Jenkins
curl -fsSL https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo tee \
/usr/share/keyrings/jenkins-keyring.asc > /dev/null
echo deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc] \
https://pkg.jenkins.io/debian-stable binary/ | sudo tee \
/etc/apt/sources.list.d/jenkins.list > /dev/null
sudo apt-get update
sudo apt-get install jenkins
- Enable Jenkins to run on startup with
sudo systemctl enable jenkins
- Allow Jenkins through your firewall with
sudo ufw allow 8083
or whatever port you're using - Refresh the firewall with
sudo ufw reload
- Change
/etc/sudoers
to includejenkins ALL=(ALL) NOPASSWD: ALL
beneath "User privilege specification". - Copy
config.xml
to/var/lib/jenkins/jobs/karameese.com
to automatically configure Jenkins.
sudo nano /etc/default/jenkins
- Scroll down until you find the following line:
HTTP_PORT=8080
- Change the variable value to your port of choice
- Restart Jenkins with
sudo systemctl restart jenkins