Skip to content

Instantly share code, notes, and snippets.

@rahman541
Last active April 5, 2016 16:46
Show Gist options
  • Save rahman541/5ed0f504728529a8b95aaceba9d1c517 to your computer and use it in GitHub Desktop.
Save rahman541/5ed0f504728529a8b95aaceba9d1c517 to your computer and use it in GitHub Desktop.
Install eprints 3.3 on centos 6

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


version (centos-release-6-6.el6.centos.12.2.x86_64)

check yum process if get lock

ps aux | grep -i yum

Req:

su -

Install & Configure mysql if not installed.

Note: to skip yes append -y ie yum -y install mysql-server

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
# control + D if can view mysql prompt (mysql>)

installing perl-Apache-DBI from EPEL repo

#####in respond of Error: Package: eprints-3.3.15-1.el6.noarch (rpm-eprints-org)

yum install epel-release
yum install perl-Apache-DBI perl-XML-Entities perl-Apache2-SOAP

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.

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

service apache2 start/status
service httpd start/status

Install ePrints 3.3.x & configure

# Add repo
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.

# configure
cd /usr/share/eprints
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