The Module on Github The point of this module is to install all the software a graphic designer might need in their job and also install a theme for Gimp, so the users will have options to make it more user friendly. Basically the users can then choose their theme and change their Gimp from […]Read more "Module: Install graphic design software and new theme for Gimp using Salt"
These assignments are done with a virtual machine environment. I’m running Xubuntu 16.04 on all three virtual machines. One virtual machine acts as the master, the rest are slaves. 1. Each slave gets a unique variable from the salt pillar. First I made a new folder into the /srv directory called ‘pillar’. In this folder […]Read more "Managing servers: 4th Assignment"
Using jinja template to make a state which adds a variable into a file. I started by creating a new folder in the /srv/salt directory, simply called ‘jinjatest’. Into this new folder I created a text file called monkey.txt Then I created an .sls file called ‘monkeycall’. I ran the state and it worked. SLS […]Read more "Managing servers: 3rd assignment"
Making users’ homepages work with Apache I have previously made a folder under Salt’s srv directory called ‘salt’. Now I created a folder called ‘apache’ and inside it a file called ‘init.sls’. sudo mkdir apache already in the /srv/salt directory: cd apache sudoedit init.sls I created a default homepage: sudoedit default-index.html Then I applied the […]Read more "Managing servers: 2nd assignment"
Installing Salt First I installed Xubuntu in a virtual environment to serve as my testing ground. Then I proceeded to update the system and install Salt using the following commands: sudo apt-get update sudo apt-get install -y salt-master salt-minion After this I edited the minion-file at /etc/salt/minion and added the ip-address for the master and […]Read more "Managing Servers: Getting started with Salt"
1. First I downloaded pwgen to help generate passwords. sudo apt-get update && sudo apt-get install pwgen 2. Then I installed the LAMP stack sudo apt-get install apache2 mysql-server I input a password for the root user of the MySQL database, as per recommendation. I checked if my version of Ubuntu (16.04) had php, because […]Read more "Training for the Exam!"
So this week on the agenda, was to try out at least three programming languages and make “Hello World” -programs with them. I chose Python, Ruby and C because they are the programming languages I’m most interested in learning more about, and they can be used for a variety of different things. They’re simple and […]Read more "Trying out python, ruby and c"