Skip to content

Instantly share code, notes, and snippets.

@rahman541
Last active April 5, 2016 16:42
Show Gist options
  • Save rahman541/7eeef3f99cbd2ff4d11214eaf4e88db5 to your computer and use it in GitHub Desktop.
Save rahman541/7eeef3f99cbd2ff4d11214eaf4e88db5 to your computer and use it in GitHub Desktop.
The process to install ePrints 3.2.x on CentOS 6 64bit

The process to install ePrints 3.2.x on CentOS 6 64bit

issue command to get centos version rpm --query centos-release

output centos-release-6-6.el6.centos.12.2.x86_64

all command require root permission: su -

Install & Configure mysql if not installed

yum install mysql-server
# start mysql on startup
chkconfig mysqld on
# start mysql database
service mysqld start
# give root password
/usr/bin/mysqladmin -u root password 'toor'
# test mysql login
mysql -uroot -ptoor

configure firewall to allow port 80

iptables -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
service iptables save
service iptables restart

check apache is running.

#####note some os named it as httpd (RHEL), in ubuntu apache2

# in ubuntu
service apache2 status
service apache2 start
# in rhel
service httpd status
service httpd start

Install ePrints 3.2.x

rpm -ivh http://rpm.eprints.org/rpm-eprints-org-key-1-1.noarch.rpm
rpm -ivh http://rpm.eprints.org/eprints/noarch/rpm-eprints-org-1-1.noarch.rpm

rpm -ivh http://rpm.eprints.org/RHEL/5/x86_64/antiword-0.37-1.x86_64.rpm

yum upgrade libxml2 libxslt perl-XML-LibXML perl-XML-LibXSLT

# yum install eprints # 3.3.x and later ## Tested on centOS 6 not working.
yum install eprints3 # 3.2.x

cd /opt/eprints3
su eprints
bin/epadmin create

##Follow the step through it (QA Style).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment