红联首页 凝聚Linux人的力量
菜鸟过关 | 精华文档 | 同城人(交友) | 我与Linux的故事 | Linux新闻 | Linux视频 | Linux人才 | 软件下载 | 大学校园 | English
发新话题
打印

Globus toolkit installation & security config

Globus toolkit installation & security config

# Sentences begun with symbol # are the comments,just ignore them
#It is strongly recommended to install globus toolkit with pacman, i.e., package# manager in Linux
# The following are the steps:
# Create a directory for Globus
mkdir /globus
cd /globus

# Get pacman
wget http://physics.bu.edu/pacman/sam ... /pacman-3.20.tar.gz

# Install pacman
tar xzf pacman-3.20.tar.gz
cd pacman-3.20
source setup.sh
cd ..

# Install any one or more of the Globus packages with pacman
pacman -get http://vdt.cs.wisc.edu/vdt_181_cache:Globus

#Notice: #################
# If your platform is Fedora Core 5, it is necessary to pretend it to FC 4
#so, the above command will be
pacman -pretend-platform Fedora-4 -get http://vdt.cs.wisc.edu/vdt_181_cache:Globus
# Setup the environment (use setup.sh / setup.csh depending on your shell)
source setup.sh

############ to setup gsi-openssh
##############################################
cd /globus
pacman -get http://vdt.cs.wisc.edu/vdt_181_cache:GSIOpenSSH
## or, for the higher version of linux
pacman -pretend-platform Fedora-4 -get http://vdt.cs.wisc.edu/vdt_181_cache:GSIOpenSSH

### then ssh.d will be installed to /globus/globus/bin and
### SXXsshd will be installed to /globus/globus/sbin
### which will be used when specifying the security

#######################
# now its time to make some soft link
cd /globus/globus/bin
ln -s ssh.d/scp scp
ln -s ssh.d/ssh ssh
ln -s ssh.d/sftp sftp

###################################
# At last,let's replace the sshd
/sbin/chkconfig --del sshd
cp /etc/init.d/sshd /etc/init.d/sshd.bak
cp /globus/globus/sbin/SXXsshd /etc/init.d/sshd
/sbin/chkconfig --add sshd

###kill the root owned sshd process!!!!!!!
## for example
ps -ef | grep sshd
### perhaps you will find that
root sshd 2200 /usr/sbin/sshd
## then
kill -9 2200
# to kill the sshd owned by root!!!
### It is indispensable!!!!!!!!!!!!!!
/etc/init.d/sshd start

##############################################
## make some specification for the server
yum install xinetd

###### to start gatekeeper and gsiftp
source /globus/setup.sh
vdt-control --on
######sometime we need to
vdt-control --on -force

## For more information, please visit http://vdt.cs.wisc.edu and
#http://www.lsc-group.phys.uwm.ed ... /installserver.html
###################################################

TOP

发新话题