• Skip to main content
  • assistive.skiplink.to.breadcrumbs
  • assistive.skiplink.to.header.menu
  • assistive.skiplink.to.action.menu
  • assistive.skiplink.to.quick.search
  • Metropolia.fi
  • Curricula
  • Wiki
  • Moodle
Metropolia
Menu
    • Attachments (0)
    • Page History
    • Page Information
    • Resolved comments
    • View in Hierarchy
    • View Source
    • Export to PDF
    • Export to Word
  • Browse
    • Pages
    • Blog
    • Labels
    • Space Operations
  • Login
    • Metropolia Login
    • Haka Login
    • Visitor Login

IT Services

  1. Dashboard
  2. IT Services
  3. …
  4. Front page
  5. Gadgets
  6. Computers and Workstations
  7. Network Services
Print
Main navigation

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/.

Kotisivu-, Shell- ja MySql -palvelut

  • Created by Petri Silmälä, last modified by Perttu Paakkunainen on 9.11.2024
#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • homepage
  • mysql
  • www-pages
  • homedirectories
  • edunix
  • shell
  • php
  • rev
  • updated2016

3 Comments

  1. User icon: Anonymous

    Anonymous

    How do you connect to the irc-server?

    • Permalink
    • 4.4.2011
  2. User icon: Anonymous

    Anonymous

    FYI: PDO-SQLite support is only for sqlite2

    • Permalink
    • 4.2.2012
  3. User icon: Anonymous

    Anonymous

    FYI: PDO-SQLite (version 3?) doesn't work. It just loads and loads.

    • Permalink
    • 20.12.2012
Overview
Content Tools
Apps
Pages
Blog
Labels
Space Operations
  • Powered by Atlassian Confluence 8.5.21
  • Printed by Atlassian Confluence 8.5.21
  • Report a bug
  • Atlassian News
Atlassian