H3 (Installing apache2 with php functionality)

Submitted by Joonas on Mon, 10/08/2018 - 12:19

This exercise was about installing apache2 and creating a php compatible website.

Installing Apache2

The first task was to install apache2 and have the user homepage work. The user home page can be found by navigating to your own ip-address and /~username e.g. 1.1.1.1/~xubuntu.

The current username can be found via the command 'whoami' and your ip-address with the command 'ip addr'. When you try to connect to the server it does not respond because apache2 is not installed

H1 (xubuntu 18.04 live usb)

Submitted by Joonas on Mon, 10/08/2018 - 08:20

H1

The first assginment wast to set up a live boot usb that boots in to xubuntu 18.04 LTS, learn some commands, install three different programs on xubuntu and use them, and then do a little research on licensing.

Creating a usb live boot.

I used a Kingston DataTraveller 16gb that I had for this exercise And I used my Acer Aspire V running on Windows 8.1 to create this live usb.

H4 (DigitalOcean server and namebased virtual hosting)

Submitted by Joonas on Sun, 10/07/2018 - 22:21

Renting a DigitalOcean server

In this assignment we were supposed to rent a virtual server and have a name assigned to it.

A) Renting the server and some adminwork

The first task was to rent a virtual server and do the first administrative necessities to it. I used DigitalOcean for this assignment due to the 50 free euros I recieved through the student-pack from github(GitHub).

I started the assignment by deleting my old server and clicking new project.

H5 (LAMP)

Submitted by Joonas on Sun, 10/07/2018 - 21:10

The exercise was done on my Acer Aspire V laptop running off a xubuntu 18.04 from a live usb on a Kingston DataTraveller 16GB.

speksit

A) Installing LAMP

Setting up Apache2 and PHP7.2

I started the assignment with the few usual commands 'setxkbmap fi' to set my keyboard to finnish and then 'sudo apt-get update' to update the available packages.

An old lab-exercise (h7).

Submitted by Joonas on Sun, 10/07/2018 - 14:32

Last homework assignment

Our last homework assignment was to select a old lab-exercise. The exercise consisted of creating some users with different authority levels for an imaginary company, creating some metapackages and some other lesser stuff. A link to said exercise can be found below.

I decided to not do this on my own computer and instead used my xubuntu 18.04 LTS live-usb. I made as the first homework assignment for the course.

"Hello World" in three different languages h6

Submitted by Joonas on Tue, 10/02/2018 - 12:29

Hello World

The goal of this excersize was to first write Hello World in three different programming languages and after that write a simple program that has some kind of functionality, for example user input = Hello + the name of the current user

Python3

So I Was quite the respectable beginner with python3 and decided to start with that, I already had the necessary tools for python3 on my laptop, but if needed heres how to install python 3