Category Archives: Linux palvelimena ICT4TN003-4

Homework and things related to the course Linux palvelimena ICT4TN003-4

add database like phpmyadmin does

create user and database erkkiwp CREATE USER ‘erkkiwp’@’localhost’ IDENTIFIED BY ‘***’; GRANT USAGE ON * . * TO ‘erkkiwp’@’localhost’ IDENTIFIED BY ‘***’ WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ; CREATE DATABASE IF NOT EXISTS `erkkiwp` ; GRANT … Continue reading

Posted in Linux palvelimena ICT4TN003-4 | Leave a comment

Linux palvelimena – Homework 7 – Server optimization

Week 7 – Server optimization The seventh and final week had us install and test Varnish, a reverse proxy. Course homepage: http://terokarvinen.com/2012/aikataulu-%E2%80%93-linux-palvelimena-ict4tn003-3-ja-ict4tn003-5-kevaalla-2012 Assignment Install Varnish Try Firebug for Firefox Environment I’m using Ubuntu 12.04 @ Virtualbox. Username is ‘antero’. Virtualbox … Continue reading

Posted in Linux palvelimena ICT4TN003-4 | Leave a comment

Linux palvelimena – Homework 6 – WordPress

Week 6 – WordPress The sixth week had us install and configure WordPress Course homepage: http://terokarvinen.com/2012/aikataulu-%E2%80%93-linux-palvelimena-ict4tn003-3-ja-ict4tn003-5-kevaalla-2012 Sources used: http://codex.wordpress.org/Using_Themes http://wordpress.org/support/topic/solved-permalinks-working-in-apache2-ubuntu-1010 Assignment Use a live CD for a fresh experience Install WordPress Enable PermaLinks Install a theme of your choosing Install … Continue reading

Posted in Linux palvelimena ICT4TN003-4 | Leave a comment

Linux palvelimena – Homework 5 – Apache

Week 5 – Apache The fifth week had us install and configure the apache2 web server. Course homepage: http://terokarvinen.com/2012/aikataulu-%E2%80%93-linux-palvelimena-ict4tn003-3-ja-ict4tn003-5-kevaalla-2012 Sources used: http://www.linuxquestions.org/questions/linux-networking-3/turn-off-disable-php-for-some-virtual-hosts-in-apache-412577 http://httpstatus500.com http://en.wikipedia.org/wiki/List_of_HTTP_status_codes Assignment Create a name based virtual host. Create three of them: – One with PHP enabled … Continue reading

Posted in Linux palvelimena ICT4TN003-4 | 1 Comment

Linux palvelimena – Homework 4 – Package handling

Week 4 – Metapackages and repositories The fourth week had us dabble with packages. Sources used, if not explicitly stated otherwise, are: http://terokarvinen.com/2011/create-deb-metapackage-in-5-minutes http://terokarvinen.com/2011/update-all-your-computers-with-a-deb-repository Course homepage is: http://terokarvinen.com/2012/aikataulu-%E2%80%93-linux-palvelimena-ict4tn003-3-ja-ict4tn003-5-kevaalla-2012 Assignment Release your own metapackage in your own repository. Voluntary exercises – … Continue reading

Posted in Linux palvelimena ICT4TN003-4 | Leave a comment

Linux palvelimena – Homework 3 – Villains and decent folk

This is the third piece of homework for the course ICT4TN003-4 Linux palvelimena (Linux as a server): http://terokarvinen.com/2012/aikataulu-%E2%80%93-linux-palvelimena-ict4tn003-3-ja-ict4tn003-5-kevaalla-2012 It will most likely not be finished by the deadline, which is something I’m not happy about, and realize this will likely … Continue reading

Posted in Linux palvelimena ICT4TN003-4 | Leave a comment

Linux palvelimena – Homework 2 – Running processes and system status

Assignment The second batch of homework consisted of four main assignments: 1) Install munin. 2) Examine a process of your choice with tools taught in class: top, iotop, netstat, lsof, ps. Finish by killing the process. 3) Stress the system … Continue reading

Posted in Linux palvelimena ICT4TN003-4 | Leave a comment