Home Page, Shell and MySQL Services
Linux-servers of Metropolia
shell.metropolia.fi
Linux-shell environment. You can't run your own programs here. File transfer to home directory with scp or sftp. Irc allowed.
How to connect to shell.metropolia.fi server:
Creating an SSH Key Pair and Logging in on a Linux Server (shell.metropolia.fi)
edunix.metropolia.fi
Linux-shell-environment. You can compile and run your own programs here and practise your shell-skills.
users.metropolia.fi
Users' home pages. You can't login to this server.
Home directories on Linux-servers
You have same home directories on all Linux servers as you have on Windows workstations. Everyone has only one home directory.
WWW-pages
Users can create and publish their own web pages in the public_html folder of their home directory. Pages can be viewed at http://users.metropolia.fi/~username. In addition to html-pages the server supports also php- and cgi-programs (file extensions .php and .cgi).
The PHP version used is of the 7.0 -series and the following extensions are supported:
--with-zlib \
--with-jpeg-dir=/usr/lib \
--with-png-dir=/usr/lib \
--with-gd \
--with-ldap \
--enable-mbstring \
--with-mysql \
--with-mysqli \
--with-libxml-dir \
--with-xsl \
--enable-soap \
--enable-pdo \
--with-pdo-mysql \
--with-pdo-sqlite \
--with-sqlite \
--with-openssl \
--with-curl \
--enable-calendar
Cgi-programs are run with the suEXEC-feature with the user's user account's permissions.
Users-server's php-module file_uploads-option is Off. You can use php as cgi when you upload files to server so that your account is owner of the files. You can use php as cgi as follows:
- php -files must end <filename>.php
- filerights must be 755 (= rwxr-xr-x)
- you must create and edit .htaccess-file with text: "AddHandler cgi-script .php" and set .htaccess -file to right directory.
.htaccess -file is valid in the directory where the .htaccess-file was created and all it's subdirectories.
With Wordpress it is enough if you set .htaccess -file in the wp-admin -direcotory. After this you can download themes and plugins so that you are the owner of the files.
MySQL-service
All Metropolia users can use the MySQL-database located at mysql.metropolia.fi. The name of the database and the username to access the database server are same as your username at Metropolia. The password, however, is different and it can be set at https://amme.metropolia.fi/mysql/.
You can administer your database with the phpMyAdmin-program which is installed at https://users.metropolia.fi/phpMyAdmin/.
- Created by Petri Silmälä, last modified by Perttu Paakkunainen on 9.11.2024