Last active
June 1, 2017 10:59
-
-
Save sustr4/eaebb18360765bc7fc4a5360b2160065 to your computer and use it in GitHub Desktop.
create_VOMSes.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#For SL6: | |
rpm -ivh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
yum -y install yum-priorities | |
rpm -ivh http://repository.egi.eu/sw/production/umd/3/sl6/x86_64/updates/umd-release-3.14.4-1.el6.noarch.rpm | |
yum install -y mysql-server voms-admin-server voms-admin-client emi-voms-mysql ca-policy-egi-core | |
/etc/init.d/mysqld start | |
mysql -e "SET PASSWORD FOR 'root'@'localhost' = PASSWORD('[Edited]');" | |
mysql --user=root --password=[Edited] -e "create database voms_training_egi_eu" | |
mysql --user=root --password=[Edited] -e "create database voms_highthroughputseq_egi_eu" | |
mysql --user=root --password=[Edited] -e "create database voms_vo_nbis_se" | |
mysql --user=root --password=[Edited] -e "create database voms_peachnote_com" | |
mysql --user=root --password=[Edited] -e "create database voms_physiome_lf1_cuni_cz" | |
mysql --user=root --password=[Edited] -e "create database voms_demo_fedcloud_egi_eu" | |
mysql --user=root --password=[Edited] -e "create database voms_mpi" | |
mysql --user=root --password=[Edited] -e "create database voms_vo_access_egi_eu" | |
mysql --user=root --password=[Edited] -e "create database voms_fedcloud_egi_eu" | |
mysql --user=root --password=[Edited] -e "create database voms_eiscat_se" | |
mysql --user=root --password=[Edited] -e "create database voms_eli_beams_eu" | |
mysql --user=root --password=[Edited] -e "create database voms_vo_elixir_europe_org" | |
mysql --user=root --password=[Edited] -e "create database voms_voce" | |
mysql --user=root --password=[Edited] -e "create database voms_auger" | |
voms-configure install --dbpassword [Edited] --dbusername root --dbname voms_training_egi_eu --mail-from [email protected] --vo=training.egi.eu --smtp-host smtp.cesnet.cz --core-port 15101 | |
voms-configure install --dbpassword [Edited] --dbusername root --dbname voms_highthroughputseq_egi_eu --mail-from [email protected] --vo=highthroughputseq.egi.eu --smtp-host smtp.cesnet.cz --core-port 15102 | |
voms-configure install --dbpassword [Edited] --dbusername root --dbname voms_vo_nbis_se --mail-from [email protected] --vo=vo.nbis.se --smtp-host smtp.cesnet.cz --core-port 15103 | |
voms-configure install --dbpassword [Edited] --dbusername root --dbname voms_peachnote_com --mail-from [email protected] --vo=peachnote.com --smtp-host smtp.cesnet.cz --core-port 15104 | |
voms-configure install --dbpassword [Edited] --dbusername root --dbname voms_physiome_lf1_cuni_cz --mail-from [email protected] --vo=physiome.lf1.cuni.cz --smtp-host smtp.cesnet.cz --core-port 15105 | |
voms-configure install --dbpassword [Edited] --dbusername root --dbname voms_demo_fedcloud_egi_eu --mail-from [email protected] --vo=demo.fedcloud.egi.eu --smtp-host smtp.cesnet.cz --core-port 15106 | |
voms-configure install --dbpassword [Edited] --dbusername root --dbname voms_mpi --mail-from [email protected] --vo=mpi --smtp-host smtp.cesnet.cz --core-port 15107 | |
voms-configure install --dbpassword [Edited] --dbusername root --dbname voms_vo_access_egi_eu --mail-from [email protected] --vo=vo.access.egi.eu --smtp-host smtp.cesnet.cz --core-port 15108 | |
voms-configure install --dbpassword [Edited] --dbusername root --dbname voms_fedcloud_egi_eu --mail-from [email protected] --vo=fedcloud.egi.eu --smtp-host smtp.cesnet.cz --core-port 15109 | |
voms-configure install --dbpassword [Edited] --dbusername root --dbname voms_eiscat_se --mail-from [email protected] --vo=eiscat.se --smtp-host smtp.cesnet.cz --core-port 15110 | |
voms-configure install --dbpassword [Edited] --dbusername root --dbname voms_eli_beams_eu --mail-from [email protected] --vo=eli-beams.eu --smtp-host smtp.cesnet.cz --core-port 15111 | |
voms-configure install --dbpassword [Edited] --dbusername root --dbname voms_vo_elixir_europe_org --mail-from [email protected] --vo=vo.elixir-europe.org --smtp-host smtp.cesnet.cz --core-port 15112 | |
voms-configure install --dbpassword [Edited] --dbusername root --dbname voms_voce --mail-from [email protected] --vo=voce --smtp-host smtp.cesnet.cz --core-port 15113 | |
voms-configure install --dbpassword [Edited] --dbusername root --dbname voms_auger --mail-from [email protected] --vo=auger --smtp-host smtp.cesnet.cz --core-port 15114 | |
service voms-admin start training.egi.eu | |
service voms-admin start highthroughputseq.egi.eu | |
service voms-admin start vo.nbis.se | |
service voms-admin start peachnote.com | |
service voms-admin start physiome.lf1.cuni.cz | |
service voms-admin start demo.fedcloud.egi.eu | |
service voms-admin start mpi | |
service voms-admin start vo.access.egi.eu | |
service voms-admin start fedcloud.egi.eu | |
service voms-admin start eiscat.se | |
service voms-admin start eli-beams.eu | |
service voms-admin start vo.elixir-europe.org | |
service voms-admin start voce | |
service voms-admin start auger | |
/etc/init.d/voms-admin restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment