Petteri Soininen Juhana Kraemer Jussi Vähämäki ”Group PJJ” 23.11.2010.

15
LINUX NETWORK SERVERS Petteri Soininen Juhana Kraemer Jussi Vähämäki ”Group PJJ” 23.11.20 10

Transcript of Petteri Soininen Juhana Kraemer Jussi Vähämäki ”Group PJJ” 23.11.2010.

Page 1: Petteri Soininen Juhana Kraemer Jussi Vähämäki ”Group PJJ” 23.11.2010.

LINUX NETWORK SERVERS

Petteri SoininenJuhana KraemerJussi Vähämäki

”Group PJJ”

23.11.2010

Page 2: Petteri Soininen Juhana Kraemer Jussi Vähämäki ”Group PJJ” 23.11.2010.

Goals

Get to know Linux server basics Two thirds of the group had basically no

experience on them prior to this course To create some basic server

Nothing too fancy

Page 3: Petteri Soininen Juhana Kraemer Jussi Vähämäki ”Group PJJ” 23.11.2010.

Debian

Debian distro was chosen because of Jussi’s earlier experience with Debian

Installing went without incident, only thing we had to do was download the newest image from the web

Installation was done by Vmware vSphere client software

Page 4: Petteri Soininen Juhana Kraemer Jussi Vähämäki ”Group PJJ” 23.11.2010.

Debian

We did the basic server configurations Creating users Updating packages etc. Vmware tools Other course related tasks

Page 5: Petteri Soininen Juhana Kraemer Jussi Vähämäki ”Group PJJ” 23.11.2010.

Remote access

SSH was installed to enable remote access through Putty VPN required to login (this was provided by

the teacher) After this we basically did the course

assignments remotely through the Putty terminal

Page 6: Petteri Soininen Juhana Kraemer Jussi Vähämäki ”Group PJJ” 23.11.2010.

What was actually done?

We had some trouble coming up with a server idea We decided to go for something pretty simple,

since Juhana & Petteri didnt really know much in advance and we didn’t want Jussi to do all the work alone

Page 7: Petteri Soininen Juhana Kraemer Jussi Vähämäki ”Group PJJ” 23.11.2010.

Apache

The Apache web server application was installed on the server by the following command:

# apt-get install apache2

Page 8: Petteri Soininen Juhana Kraemer Jussi Vähämäki ”Group PJJ” 23.11.2010.

Apache

Web server System information through a phpsysinfo-

package

Page 9: Petteri Soininen Juhana Kraemer Jussi Vähämäki ”Group PJJ” 23.11.2010.

SSH (Secure Shell)

SSH was installed in order to be able to remotely connect to the server with Putty This was done by the command:

# aptitude install openssh-server Also a VPN connection was required,

because the server is in a closed ciscolab network This was done by using the OpenVPN client

and the config file provided by the teacher

Page 10: Petteri Soininen Juhana Kraemer Jussi Vähämäki ”Group PJJ” 23.11.2010.

SSH connection through VPN

OpenVPN interface

Remote connection by Putty

Page 11: Petteri Soininen Juhana Kraemer Jussi Vähämäki ”Group PJJ” 23.11.2010.

UT 2004 Dedicated game server

We downloaded the server software straight to the server with wget

The server software was a zip package, which was extracted with unzip

The server has a web administration interface, which can be accessed by a browser at the port 8080

Page 12: Petteri Soininen Juhana Kraemer Jussi Vähämäki ”Group PJJ” 23.11.2010.

UT 2004 Dedicated game server

Screenshot from the web administration interface

Page 13: Petteri Soininen Juhana Kraemer Jussi Vähämäki ”Group PJJ” 23.11.2010.

FTP server

We also installed an FTP server software with the following command:

# apt–get install proftpd Our FTP server automatically uses the

user login information of the server We configured the FTP server so that the

users can only view their own home folder and upload items there

Page 14: Petteri Soininen Juhana Kraemer Jussi Vähämäki ”Group PJJ” 23.11.2010.

Result

PJJ-server Apache webserver UT 2004 dedicated game server FTP-server SSH connection to enable remote access

through Putty (and VPN)

Page 15: Petteri Soininen Juhana Kraemer Jussi Vähämäki ”Group PJJ” 23.11.2010.

Thank you for your time

Anything to add or ask?