gLite Web Pages


The new version of the gLite webpages is dynamic and provides a solution to the problems of the previous static pages. It's written in Django with all the release information stored into a database. And there is also an admin interface to introduce or modify the release information.

The web application itīs integrated with the new release scripts to feed the database at the same time the repository itīs created. Therefore, itīs not needed to perform an installation to retrieve the information as it was done before.

The node used for creating the repositories and for hosting the web pages is lxbrf2713.

You can find the release scripts and the web application source code in

Application Structure

Feed the database from the release scripts

Modify and publish a release

Install the web pages

  • An SL5 machine it's needed
  • Enable the EPEL repo (needed for mod_wsgi) modifying /etc/yum.repos.d/epel.repo
  • Install apache2 and mysql
    • Install mysql: yum install mysql-server
    • Install apache2: yum install httpd mod_ssl mod_wsgi
  • Download the source code from
  • Link grelscripts/glite_web from /srv and make sure apache can read it.
    • ln -s grelscripts/glite_web/ && chown -R apache:apache glite_web
    • chown -R apache:apache grelscripts/glite_web
    • mkdir /var/www/forbiden && chown -R apache:apache /var/www/forbiden
  • Copy the apache configuration and configure it
    • cp -b glite_web/httpd.conf /etc/httpd/conf/
    • Change the domain name to the new one (if that's the case) in /etc/httpd/conf/httpd.conf
    • Uncoment the last line in /etc/httpd/conf.d/wsgi.conf to enable the module
    • Comment all the lines in the Virtualhost at the end of the file /etc/httpd/conf.d/ssl.conf
  • Install djando 1.1
  • Install python mysql module (version 1.2.1_p2)
  • Install South database migration tool:
  • Start apache and mysql
    • /etc/init.d/mysqld start
    • /etc/init.d/httpd start
  • Migrate the database
    • Enter in mysql and execute: mysql
    • Create the database: "create database glite_web char set utf8;"
    • Give permissions to a user in the database: "grant all on glite_web.* to glite@localhost identified by 'thepassword';"
    • Exit form mysql: exit
    • Load a backup: mysql glite_web < /afs/
    • Change username and password in glite_web/
    • Update the schema: glite_web/ migrate
  • Change the secret key in grelscripts/glite_web/ ( you can use )
  • Restart the web server: /etc/init.d/httpd restart
  • Configure autostart of afs, apache and mysql so that it will start again after a reboot (it's what you want):
    • chkconfig --levels 345 afs on
    • chkconfig --levels 345 mysqld on
    • chkconfig --levels 345 httpd on
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 2011-01-14 - unknown
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LCG All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &Đ 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback