LIS654lecture 3 omeka installation and system overview start Thomas Krichel 2011-09-29.

Slides:



Advertisements
Similar presentations
WordPress Installation for Beginners Sheila Bergman
Advertisements

LIS651 lecture 5 direct use of wotan Thomas Krichel
FIRST SESSION - XAMPP Jeongmin Lee.  Jeongmin Lee  CS  PHD  Machine Learning, AI  Web System Development.
1 Web Servers / Deployment Alastair Dawes Original by Bhupinder Reehal.
CPSC 203 Introduction to Computers Tutorial 59 & 64 By Jie (Jeff) Gao.
Layer 7- Application Layer
Web Servers How do our requests for resources on the Internet get handled? Can they be located anywhere? Global?
CIS101 Introduction to Computing Week 05. Agenda Your questions CIS101 Survey Introduction to the Internet & HTML Online HTML Resources Using the HTML.
CIS101 Introduction to Computing
Information Technologies Anselm Spoerri PhD (MIT)
Creating and Publishing Your own website
JOIN A COMMUNITY OF 80,000 E-COMMERCE SITES WORLDWIDE.
Dynamic Web site With PHP and MySQL. MySQL The combination of MySQL database and PHP scripting language is optimum for building dynamic websites. MySQL.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 1Winter Quarter Introduction to UNIX.
APACHE SERVER By Innovationframes.com »
SEEM4570: XAMPP, Eclipse, Summary of Html Kangfei Zhao Room 711,ERB
Christopher M. Pascucci Basic Structural Concepts of.NET Browser – Server Interaction.
A crash course in njit’s Afs
Linux Operations and Administration
Microsoft Windows 2003 Server. Client/Server Environment Many client computers connect to a server.
Eucalyptus Virtual Machines Running Maven, Tomcat, and Mysql.
Lecturer: Ghadah Aldehim
LIS654 lecture 1 Introduction to the course, the ssh protocol Thomas Krichel
1 HTML (Set Up Public Folder) Some material on these slides is taken directly from
1 John Magee 9 November 2012 CS120 Lecture 17a: Publishing Web pages.
Connecting to USF Network for Web Site SSH Secure Shell is the FTP program you will use to download your http files onto the USF server. To get the SSH.
1 Chapter 2 & Chapter 4 §Browsers. 2 Terms §Software §Program §Application.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
1 Session 1: Introduction to HTML Spring Today’s Agenda Cover useful terminology for today’s session HTML, browsers, servers, etc. HTML Tags Get.
HOW WEB SERVER WORKS? By- PUSHPENDU MONDAL RAJAT CHAUHAN RAHUL YADAV RANJIT MEENA RAHUL TYAGI.
CPSC 203 Introduction to Computers Lab 23 By Jie Gao.
HTML Hyper Text Markup Language A simple introduction.
FTP Server and FTP Commands By Nanda Ganesan, Ph.D. © Nanda Ganesan, All Rights Reserved.
Creating and Publishing Your own web site PC Version SEAS 001 Professor Ahmadi.
Patrick Bailey, MS IDIS110 Dreamweaver Setup. IDIS110 - RIT After you start Dreamweaver On the first time, if you are asked, select “Design Mode” Otherwise,
1 Welcome to CSC 301 Web Programming Charles Frank.
Publishing Your Web Pages Ann Emmanuel SIUE Web Administrator
1 UNIT 13 The World Wide Web Lecturer: Kholood Baselm.
WAMP Windows Apache MySQL and PHP i.e. “WAMP”. Why WAMP? WampServer is a Windows web development environment. It allows you to create and test web pages.
Linux Services Configuration
PHP “Personal Home Page Hypertext Pre-processor” (a recursive acronym) Allows you to create dynamic web pages and link web pages to a database.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
Remote Access Usages. Remote Desktop Remote desktop technology makes it possible to view another computer's desktop on your computer. This means you can.
Website Design:. Once you have created a website on your hard drive you need to get it up on to the Web. This is called "uploading“ or “publishing” or.
IS2803 Developing Multimedia Applications for Business (Part 2) Lecture 2: Introduction to IS2803 Rob Gleasure
Web programming Part 1: environment 由 NordriDesign 提供
Session 1: Introduction to HTML Fall Today’s Agenda Talk about the functions of the Internet Cover useful terminology for today’s session HTML,
COSC 2328 – Web Programming.  PHP is a server scripting language  It’s widely-used and free  It’s an alternative to Microsoft’s ASP and Ruby  PHP.
LIS654 lecture 4 more on omeka Thomas Krichel
Here are some things you can do while you wait 1.Open your omeka.net site in your browser (e.g. 2.Open.
1 UNIT 13 The World Wide Web. Introduction 2 Agenda The World Wide Web Search Engines Video Streaming 3.
1 UNIT 13 The World Wide Web. Introduction 2 The World Wide Web: ▫ Commonly referred to as WWW or the Web. ▫ Is a service on the Internet. It consists.
Installing a Moodle Test Site The painless and easy way.
How to use Drupal Awdhesh Kumar (Team Leader) Presentation Topic.
L.A.M.P. İlker Korkmaz & Kaya Oğuz CS 350. Why cover a lecture on LAMP? ● Job Opportunities – There are many hosting companies offering LAMP as a web.
2nd year Computer Science & Engineer
Tonga Institute of Higher Education IT 141: Information Systems
Warm Handshake with Websites, Servers and Web Servers:
Introduction to Programming the WWW I
FTP - File Transfer Protocol
Files, folders, directories, URLs, and IP addresses
Telnet/SSH Connecting to Hosts Internet Technology.
INSTALLING AND SETTING UP APACHE2 IN A LINUX ENVIRONMENT
Tonga Institute of Higher Education IT 141: Information Systems
Web Servers / Deployment
CGS 3175: Internet Applications Fall 2009
Tonga Institute of Higher Education IT 141: Information Systems
Web Servers (IIS and Apache)
File Transfer Protocol
Presentation transcript:

LIS654lecture 3 omeka installation and system overview start Thomas Krichel

this lecture Introduction to the Internet. Introduction to wotan. Introduction to omeka.

Internet application protocols Most of the time in digital libraries, we assume that Internet access works. What we need are protocols that make the Internet do something useful. Such protocols are called Internet application protocols. The most important one of them is the domain name system.

Domain Name System Domain Name System allows us to associate human- friendly names with IP addresses. These names are called domains names. Domain names can be leased from domain nate registrars. A machine with a domain name on the Internet is called a host. When we know the domain name of the host, we can communicate with the host.

protocols to communicate with hosts There are two protocol we use in this class. – We use http to work with the omeka web interface – We use ssh for some special operations. Both protocols are client/server protocols. You run as ssh or http client on your local machine. You communicate with a machine that runs ssh or http server software.

the ssh protocol ssh is protocol that uses public key cryptography to encrypt a stream of communication between client and server. This allows us to privately manipulate the server. Or “manipulations” are really just changes to files on the server that contain our web pages. The ssh client software we use on the PC is called WinSCP. It is a file transfer program.

the host key When an ssh client opens a connection with a host, it requests its key. If you have not connected to the host before, you get a warning that your ssh client does not know the host with that key. When you accept, your ssh client remembers the key. If you connect to the a host you have a key stored for and the key changes, your ssh client will warn you. This may be a host controlled by a mafioso.

our server Is the machine wotan.liu.edu We also say it is a “host” on the Internet. wotan is the head of the gods in the Germanic legend. The name has nothing to do with Chinese food. It is a humble PC. It runs the testing version of Debian/GNU Linux. It runs both http and ssh server software. It is maintained by Thomas Krichel.

user name & password To open a meaningful ssh session on wotan, you need a use name and a password. You can choose your user name as a short form of your own name. It should be all lowercases and can not have spaces. Please don't choose an insecure password.

the web site As part of the course, you are being provided with web space on the server wotan.liu.edu, at the URL where user is a user name that you have chosen. This shows a list of available fails as prepared by the web server at wotan. This is a page that Thomas has prepared for you.

omeka Omeka is an open-source software for image- based repositories. Each of you gets a complete installation of omeka installed in your home directory. Omeka uses PHP [2 slides]. Omeka uses mySQL [2 slides].

PHP Omeka is written in PHP. PHP is the PHP Hypertext Processor, a high level scripting language. PHP code is interpreted by the web server. On wotan we run the Apache web server. Apache on wotan is configured in such a way as to interpret PHP.

Apache interprets PHP When Apache on wotan finds a file that has the ending.php, it does not send it to the web client directly. Instead it scans the page for special processing instructions, and sends these processing instructions to a PHP interpreter. Then it sends the processed code (usually in HTML) to the client. This verry slow and inefficient.

mySQL Omeka uses the mySQL database system to store data. It keeps as set of databases. Your database has the same name as your user name. The database was created by Thomas before today’s class by running the mySQL commands CREATE DATABASE user; GRANT ALL ON user.* to IDENTIFIED BY 'secret' WITH GRANT OPTION; where user is your username and secret is your secret word.

the PHPmyadmin site At we have the PHPmyadmin installation. PHPmyadmin is a web interface, written for the administration of mySQL, written in PHP. Thus you don’t have to learn mySQL commands. You gain access to the interface by login with your user name and your secret word.

the omeka site As part of the course, you are being provided with web space on the server wotan.liu.edu, at the URL where user is a user name that you have chosen. This URL will initially redirect to an initialization screen. Fill it out.

omeka’s mySQL tables Each database has a set of tables inside. The tables that omeka creates, and then uses, all have a name starting with “omeka_”. You can create other tables in your mySQL database but choose names that don’t start with “omeka_”. You can see the tables created once you have filled out the installation form.

some generalities about Debian Debian is an open-source computer operating system developed and maintained by a large group of volunteer. Debian packages together a very large set of pieces of software into a coherent system. Wotan runs the testing version. It provides a version of the UNIX operating system using Linux.

files, directories and links Files are continuous chunks data on disks that are required for software applications. Directories are files that contain other files. Microsoft calls them folders. In UNIX, the directory separator is “/” The top directory is “/” on its own.

users and groups “root” is the user name of the superuser. The superuser has all privileges. There are other physical users, i.e. persons using the machine There are users that are virtual, usually created to run a daemon. For example, the web sever in run by a user www-data. Arbitrary users can be put together in groups.

permission model Permission of files are given –to the owner of the file –to the group of the file –and to the rest of the world A group is a grouping of users. Unix allows to define any number of groups and make users a member of it. The rest of the world are all other users who have access to the system. That includes www-data!

winscp In winscp, the client that we use here most of the time, we don't make advanced use of public keys, we simply give a password. Note that winscp does not establish a connection to wotan. It simply uses ssh as a means to transfer files. When winscp saves a file, it may require to open a new connection and will ask you the password again. This request may be in a window you can't immediately see.

ssh and mac os/x In the past I told Mac users to investigate investigate a software called fugu: A student made me aware of TextWrangler at – This is an editor, not an ssh client but – It has support for remote file storing via ssh. – I think it also has a HTML editing mode. – My student was pleased with it.

open a wotan session with winscp If you see a list of session, click on “new session”. – The host name is “wotan.liu.edu”. – Give your user name. – Click on “save”, this will save the session, after “ok”. You will be lead to the list of saved sessions, double- click to open a session. At initial connection, you will be shown a warning message that you can ignore. When saving or duplicating files, you may be asked to enter your password again. Watch out for that.

home directory When your connection with wotan, and you have authenticated as a certain user, you will be shown your home directory. On wotan this is /home/user where user is your user name. There you see a bunch of files starting with a dot. Leave them alone. And you see a bunch of directories.

initial files on wotan A directory called public_html. This is your web site. A directory called omeka-version where version is a version number. A symbolic link (aka symlink, aka shortcut) called omeka leading to omeka-version. This there for updating the installation later.

web home directory The web home directory is /var/www. There you see a directory home, with a series of links – they have a user name as file name – they go to your home/public_html directory There you see a directory omeka with a series of links – they have a user name as file name – they go to your omeka directory

web site address goes to the /var/www directory. There it shows the file index.html. goes to the /var/www/home directory, where it finds the link to the public_html directory of the user user. goes to the /var/www/omeka directory, where it finds the link to the omeka directory. There it shows index.php.

the admin interface The admin interface for your omeka site is at You simply add ‘admin’ to your omeka address. For trivial security, there is no link to this place. Bookmark it in your browser.

omeka/db.ini This contains the instructions that allow to connect to your database. Since PHP is executed by the web server as www-data, and that is not a member of a group with you, the file has to be readable by all. Security of omeka is not Fort Knox.

omeka/themes There we have themes. Each theme is in a directory. You can install a new theme by downloading a theme from the omeka theme web site upload it and then selected it from the admin interface. Let us try this out now.

Please shutdown the computers when you are done. Thank you for your attention!