Hands-on: install & config

Slides:



Advertisements
Similar presentations
RSDB Installation & Configuration
Advertisements

Pakiti.
Hands-on: install Mobile
Getting Set-up with Hosting and WordPress Gregory Young Alternative Hosting
1 Configuring Internet- related services (April 22, 2015) © Abdou Illia, Spring 2015.
WebGoat & WebScarab “What is computer security for $1000 Alex?”
ADVANCED FUNCTIONALITY & TROUBLESHOOTING. Page 2 Agenda Main topics Advanced Policy Manager Server configuration Resolving Apache Web Server security.
Z39 Server DigiTool Version 3.0. Z39 Server 2 z39 SERVER Main Topics z39 server architecture z39 server services z39 server configuration Defining a new.
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
Bangkok, Thailand Smokeping & Cacti intERLab at AIT Workshop March – Bangkok, Thailand Hervey Allen.
Setting up in Outlook Express. Select “Tools” from the toolbar menu.
APACHE SERVER By Innovationframes.com »
Securing LAMP: Linux, Apache, MySQL and PHP Track 2 Workshop PacNOG 7 July 1, 2010 Pago Pago, American Samoa.
Sharepoint Portal Server Basics. Introduction Sharepoint server belongs to Microsoft family of servers Integrated suite of server capabilities Hosted.
A walkthrough of the SageQuest Mobile Control Online & ESC integration.
E-Commerce LAB#1 Samia alblwi1E-Commerce ( IS412) 2011.
Using Opal to deploy a real scientific application as a Web service Sriram Krishnan
Microsoft Windows 2003 Server. Client/Server Environment Many client computers connect to a server.
Hands-on session 2 Monitoring Jose Gonzalez Universidad Politecnica Madrid Attilio Broglio Create-Net
One to One instructions Installing and configuring samba on Ubuntu Linux to enable Linux to share files and documents with Windows XP.
V Avon High School Tech Crew Agenda Old Business –Delete Files New Business –Week 10 Topics: Coming up: –Yearbook Picture: Feb 7 12:20PM.
Module 8: Managing Client Configuration and Connectivity.
Back to content Final Presentation Mr. Phay Sok Thea, class “2B”, group 3, Networking Topic: Mail Client “Outlook Express” *At the end of the presentation.
Actilab Pharma Online Services User Manual June 2004.
Copyright ®xSpring Pte Ltd, All rights reserved Versions DateVersionDescriptionAuthor May First version. Modified from Enterprise edition.NBL.
Cobian Backup 7 Tutorial Welcome to Cobian Backup 7. This tutorial will show you how to install the program, configure it and create your first scheduled.
Finish configuration cloudclinica root jdbc:postgresql:5432//localhost/cc_db JDBC Url: JDBC Driver: User name: Password: ******** org.postgresql.Driver.
Launch ClinCapture root jdbc:postgresql:5432//localhost/cc_db JDBC Url: JDBC Driver: User name: Password: ******** org.postgresql.Driver When CC starts.
SUSE Linux Enterprise Desktop Administration Chapter 12 Administer Printing.
Course ILT Internet/intranet support Unit objectives Use the Internet Information Services snap-in to manage IIS, Web sites, virtual directories, and WebDAV.
Taipei, Taiwan Smokeping & Cacti APRICOT 2008 Workshop February – Taipei, Taiwan Hervey Allen.
1 Apache and Virtual Sites and SSL Dorcas Muthoni.
How to configure, build and install Trilinos November 2, :30-9:30 a.m. Jim Willenbring Mike Phenow.
Internet Information Server Name : Yao Gu Date : 10-June-2000 COSC : 573.
EXperimental Infrastructures for the Future Internet Training Session “Service Integration” Álvaro Alonso Joaquín Salvachúa UPM-DIT.
Django 101 By: Jason Sumner. Django Overview Django was started in 2003, released under BSD in 2005, and the Django Software Foundation was established.
LinuxChix Apache. Serving Webpages The layer 7 protocol (HTTP) is what our browsers talk to get us the websites we can't seem to live without. HTTP is.
Install Appaserver ©Tim Riley. Apache Group ©Tim Riley Add yourself to the apache group. Both the apache user and group are called “www-data”. This step.
Web Access. Overview  Purpose  Prerequisites  Install Components  Enable Virtual Directories  IIS Configuration & Security  Troubleshooting.
Multi-Domain Hosting Hosting multiple domains on one server using Apache John Beckett 1/16/2013.
First Indico Workshop Hands-on: DB exploration José Benito González López May 2013 CERN.
Configuring and Troubleshooting Identity and Access Solutions with Windows Server® 2008 Active Directory®
Presented by Lonnye Bower Fardin Khan Chris Orona APACHE WEB SERVER.
ASSIGNMENT 2 Salim Malakouti. Ticketing Website  User submits tickets  Admins answer tickets or take appropriate actions.
How to configure, build and install Trilinos November 2, :30-9:30 a.m. Jim Willenbring.
Qmail Installation. Build Qmail tar zxvf qmailrocks.tar.gz tar zxvf qmailrocks.tar.gz Edit and Run : Edit and Run : /test/qmailrocks/scripts/install/qmr_install_linux-s1.script.
Tomcat Setup BCIS 3680 Enterprise Programming. One-Click Tomcat Setup 2  This semester we’ll try to set up Tomcat with a PowerShell script.  Preparation.
9/21/04 James Gallagher Server-Side: The Basics This part of the workshop contains an overview of the two servers which OPeNDAP has developed. One uses.
Multi-Domain Hosting CPTE 212 “Missing Slides” for 1/22/2015 John Beckett.
Galaxy in Production Nate Coraor Galaxy Team Penn State University.
Building Your Own Website Using:. Install & configure LAMP. Download WordPress and run it as a local website on your Raspberry Pi. Configure WordPress.
Installing git In Linux: sudo apt-get install git In Windows: download it from run the setuphttp://git-scm.com/download/win.
Apache Web Server v. 2.2 Reference Manual Chapter 2 Starting Apache.
9/21/04 James Gallagher Server Installation and Testing: Hands-on ● Install the CGI server with the HDF and FreeForm handlers ● Link data so the server.
Linux, Apache, MySQL, PHP/Python/PERL ● a.k.a. LAMP ● Standard set of tools for configuring a Linux-based web server with database & interfacing capabilities.
WampServer 2 Installation WAMP is a solution stack of open source programs used together to run dynamic Web sites or servers Most common expansion:  Windows,
Presented by [Harshit Agrawal] 04/03/2017
UC Pro Troubleshooting Guide
Hadoop Architecture Mr. Sriram
COP 4343 Unix System Administration
NTP, Syslog & Secure Shell
Chapter 9 Router Configuration (Ospf, Rip) Webmin, usermin Team viewer
CONTENT MANAGEMENT SYSTEM CSIR-NISCAIR, New Delhi
LINUX ADMINISTRATION 1
Active Directory Administration
Lab 1 introduction, debrief
Configuring Internet-related services
Administering Your Network
CPAN 260 Relational Database Design and SQL
First Level Incident Handling FAQ (For EAL)
Presentation transcript:

Hands-on: install & config First Indico Workshop 27-29 May 2013 CERN Hands-on: install & config José Benito González López

4 ThINGS The Indico Hacker Toolkit A shell Python (>=2.6) Virtualenv

Before we start… Note: will mention only apt-get and brew for the sake of simplicity $ sudo apt-get install python-dev libxml2-dev libxslt-dev $ brew install libxml2 libxslt

Creating the Virtualenv $ sudo apt-get install python-virtualenv $ sudo brew install python $ sudo pip install virtualenv $ virtualenv indico-prod Installing distribute.............done. Installing pip...............done.

Activate virtualenv $ cd indico-prod $ mkdir data $ source ./bin/activate (indico-prod)$ Before starting, 2 libs must be installed manually: (indico-prod)$ pip install reportlab PIL

Install – 1st step (indico-prod)$ easy_install indico ... Finished processing dependencies for indico

Install – 2nd step (indico-prod)$ indico_initial_setup ... [/opt/indico]: /home/myuser/indico-prod/data/ You now need to configure Indico, by editing indico.conf or letting us do it for you. At this point you can: [c]opy the default values in etc/indico.conf.sample to a new etc/indico.conf and continue the installation [A]bort the installation in order to inspect etc/indico.conf.sample and/or to make your own etc/indico.conf What do you want to do [c/a]? c

Install – 2nd step ... What do you want to do [c/a]? C We cannot find a configured database at /Users/jbenito/Work/projects/indico/development/tmp/workshop/indico-prod/data/db. Do you want to create a new database now [Y/n]? Y Where do you want to install the database [/home/myuser/indico-prod/data/db]? (hit enter)

Install – 2nd step ... If you are running ZODB on this host: - Review /home/myuser/indico-prod/data/etc/zodb.conf and /home/myuser/indico-prod/data/etc/zdctl.conf to make sure everything is ok. - To start the database run: zdaemon -C /home/myuser/indico-prod/data/etc/zdctl.conf start (indico-prod)$

Install – 3rd step – run dB (indico-prod)$ vim data/etc/zdctl.conf <runner> program runzeo -C /home/myuser/indico-prod/data/etc/zodb.conf user myuser daemon true directory /home/myuser/indico-prod/data/db socket-name /home/myuser/indico-prod/data/db/zdsock </runner> <environment> PYTHON_EGG_CACHE /home/myuser/indico-prod/data/tmp/egg-cache </environment> :x

Install – 3rd step – run dB (indico-prod)$ zdaemon -C /home/myuser/indico-prod/data/etc/zdctl.conf start ... daemon process started, pid=9999

https Note: use https in production! Only for this example let’s disable https $ vim data/etc/indico.conf AuthenticatedEnforceSecure = “no” BaseSecureURL = “” #empty string :x

Starting the Web Server Note: This is a development server. Don’t use it in production! Try it! http://localhost/indico $ sudo indico_shell --web-server --port=80 * Using BaseURL http://localhost:80/indico * Running on http://localhost:80/

Troubleshooting indico-shell keeps hanging? (indico-prod)$ zdaemon -C /home/myuser/indico-prod/data/etc/zdctl.conf stop $ vim /opt/indico/etc/zodb.conf <zeo> address 127.0.0.1:9675 monitor-address localhost:8091 </zeo> $ vim /opt/indico/etc/indico.conf #----------------------------------------------------------------- # ZODB DBConnectionParams = ('127.0.0.1', 9675)

Create 1st user Note: Activate and add yourself as admin ASAP

Troubleshooting You have created an account, but Indico didn’t send email! 2 solutions: or Do not forget to add yourself as admin from: http://localhost/indico/adminList.py $ indico_shell >>> av=AvatarHolder().getById('0') >>> av.activateAccount() >>> dbi.commit() >>> exit() $ indico_admin grant 0

production

Init & migration (indico-prod)$ indico_initial_setup --existing-config=/opt/indico/etc/indico.conf (indico-prod)$ python data/bin/migration/migrate.py --prev-version=<version>

Choose a good Web Server Apache? Nginx? We use Apache + mod_wsgi <VirtualHost *:80> ErrorLog /var/log/apache2/error.log LogLevel warn Alias /indico/images "/opt/indico/htdocs/images" Alias /indico/css "/opt/indico/htdocs/css" Alias /indico/js "/opt/indico/htdocs/js" Alias /indico/ihelp "/opt/indico/htdocs/ihelp" WSGIDaemonProcess WSGIDAEMON processes=32 threads=1 inactivity-timeout=3600 maximum-requests=10000 python-eggs=/opt/indico/tmp/egg-cache WSGIScriptAlias /indico "/opt/indico/htdocs/index.wsgi" <Directory "/opt/indico"> WSGIProcessGroup WSGIDAEMON WSGIApplicationGroup %{GLOBAL} AllowOverride None Options None Order deny,allow Allow from all </Directory> </VirtualHost>

configuration Main configuration files you must check! indico.conf configure depending on your needs logging.conf log reports (info, error, etc) zodb.conf db configuration (path, log) zdctl.conf zdaemon config (keeps db up)

Database security Pay attention to security zeopassword Update a user's authentication tokens for a ZEO server zeopasswd –C data/etc/zodb.conf _USER_ _PASSW_

$ vim /opt/indico/etc/zodb.conf <zeo> address localhost:9675 monitor-address localhost:8091 transaction-timeout 30 authentication-protocol digest authentication-database /opt/indico/etc/zeopassdb authentication-realm yourindicodb.domain.ch </zeo> <filestorage 1> path /opt/indico/db/data.fs </filestorage> <eventlog> <logfile> path /opt/indico/log/zeo.log format %(asctime)s %(message)s </logfile> </eventlog>

$ vim /opt/indico/etc/indico.conf #----------------------------------------------------------------- # ZODB DBConnectionParams = ('localhost', 9675) DBUserName = "_USER_" DBPassword = "_PASSW_" DBRealm = "yourindicodb.domain.ch"

Questions? Jose Benito Gonzalez http://github.com/jbenito3 @jotabe jbenito@cern.ch http://indico-software.org/wiki/Admin/Installation0.98