Install Summary
From UGP-Wiki
[edit] IV. Summary of Grid Portal Install of UGP
This quick guide lists the commands required to do a install of UGP on the Grid Portal. For a complete explanation see the discussion above. In each case the userid of the user executing the commands is shown. You might want to have two windows, one for user root and the other for user globus.
root:
groupadd globus
useradd -d /home/globus -g globus globus
passwd globus
chmod 755 /home/globus
yum install mysql mysql-server
mv -f /var/lib/mysql /var/lib/mysql.old
/etc/init.d/mysqld start
/usr/bin/mysqladmin -u root password 'new-password'
globus:
mysqladmin -u root -p create gridsphere
mysql -u root -p
mysql>grant all privileges on gridsphere.* to username@localhost
identified by 'userpass';
mysql>grant all privileges on gridsphere.* to
username@localhost.localdomain identified by 'userpass';
mysql>quit
root:
edit /etc/my.cnf
/etc/init.d/mysqld restart
/sbin/chkconfig mysqld on
edit /etc/hosts (add: 127.0.0.1 localhost)
globus:
tar xvfz UCLAGridPortal.tar.gz
root:
mkdir -p /usr/share/ant/lib
cp 3rdParty/ant.jar /usr/share/ant/lib
cp 3rdParty/ant-contrib-0.3.jar /usr/share/ant/lib
globus:
edit build.properties and portal.properties for command line install;
edit portal.properties for GUI install
./install.sh gui for GUI install;
./install.sh portal for command line install
root:
cd 3rdParty
./postinstall.sh portal
email /etc/grid-security/hostcert_request.pem to your CA Administrator
Copy hostcert.pem, sent to you by the CA Administrator to the /etc/
grid-security directory
globus:
source ~/.bash_profile
grid-ca-sign -in hostcert_request.pem -out hostcert.pem
root:
cd /etc/grid-security
cp hostcert.pem containercert.pem
cp hostkey.pem containerkey.pem
chown globus:globus container*.pem
/etc/init.d/mysqld restart
globus:
cd $GLOBUS_LOCATION
./globus-start.sh
globus:
cd $GLOBUS_LOCATION
./globus-start.sh
cd $CATALINA_HOME/bin
./startup.sh
Then follow the instructions to configure UGP, create the administrative user, and modify the Grid Portal home page.

