Configure Windows and Linux with Single Salt Module

If OS is Windows, the path is ‘C:\tero’. If OS is Linux, the path is ‘/tmp/tero’. You can use conditionals to create Salt modules that work in multiple operating systems.

Posted in Uncategorized | Tagged , , , , , , , , , , | Leave a comment

Aikataulu – Palvelinten hallinta ict4tn022 3004-ti ja 3002-to – loppukevät 2018 5p

Just write what you want (idempotency). Control almost everything with one system (single source of truth). In plain text (infrastructure as code, versionable). Control 10 computers. Or 100. Or 1000. Or control 2071 computers, like Jussi did on a previous … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , , , , , , | 118 Comments

Arvioitava laboratorioharjoitus – Linux palvelimet ict4tn021-3003 – to 8-14 – alkusyksy 2018p1 – 5 op

This is the evaluated lab exercise for Linux Server Administration course, 50% of grade. Student had a Live USB stick and an empty computer, and he could use the public Internet. No other tools were allowed. In Finnish. Feedback average … Continue reading

Posted in Uncategorized | Tagged , , , , , | 4 Comments

Kali as Salt Slave – install salt-minion from upstream

Salt is a configuration management system. With Salt, you can control thousands of computers. Kali Linux does not have salt-minion in the default repositories, so you have to install it from upstream.

Posted in Uncategorized | Tagged , , , , | Leave a comment

Aikataulu – Monialaprojekti Infra pro4tn004-3001 – syksy 2018 – 10 op

English: Complete a project with a company as a client. Work with students from different tracks and backgrounds. Course in Finnish. Starting projects: Collect and visualize logs with ERK. File server for film company. Identity Management. Video surveilance and system … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , | 24 Comments

Aikataulu – Linux palvelimet ict4tn021-3003 – to 8-14 – alkusyksy 2018p1 – 5 op

English: Learn to manage your own Linux server – in 8 weeks. Beginners welcome. Student feedback excellent 4.8 out of 5. Course is in Finnish. Aloita nollasta. Opiskele 8 viikkoa ja hallitset omaa Linux-palvelinta. Opintojakson suoritettuaan opiskelija: Osaa hallita Linuxia … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , | 41 Comments

Configure a Live USB in Two (2) Commands – terokarvinen/sirotin

You boot a computer form your USB stick and give two commands. It’s configured. Install your programs, your settings, your configuration – automatically. Start from Sirotin, fork it, make it your own. wget https://raw.githubusercontent.com/terokarvinen/sirotin/master/run.sh bash run.sh   Fork me on … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , | Leave a comment

Aikataulu – Linux palvelimet ict4tn021-3003 – alkusyksy 2018 – 5 op

Moved: current course page is Aikataulu – Linux palvelimet ict4tn021-3003 – to 8-14 – alkusyksy 2018p1 – 5 op Tero’s Linux Course is ict4tn021-3003. I will only give one beginner course on Linux in the Autumn, because penetration testing, configuration … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | Leave a comment

Apache User Homepages Automatically – Salt Package-File-Service Example

These are example daemon configuration files for salt. Package-file-service is the most common way to configure daemons. If you’re new, start with salt master-slave installation and a commented example of SSH Server install.

Posted in Uncategorized | Tagged , , , , , , , , , , , , , | Leave a comment

Pkg-File-Service – Control Daemons with Salt – Change SSH Server Port

You can control a huge number of daemons with a configuration management system. Package-file-service is the common pattern for this: install the software, replace a configuration file and finally restart the daemon to use the new configuration. This article shows … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , | Leave a comment