[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Re: Installing Eprints 3.3.14 on CentOS7 uses wrong directory



Hi Kahena

	That's perfectly normal behaviour for a package install.  Why do you want it in /opt/eprints3?  If you want the path to resolve, just create a symlink in the /opt directory, but I that might confuse people.

--
Adam Field
Business Relationship Manager and Community Lead
EPrints Services



On 18 Nov 2015, at 14:00, Morrissey, Kahena <K.Morrissey at bolton.ac.uk> wrote:

> Hi Everyone,
> 
> I am trying to install a test EPrints 3.3.14 to a VirtualBox guest CentOS 7 (CentOS Linux release 7.1.1503 (Core)) but I am having an issue. 
> 
> When I use yum to install EPrints it installs it to /usr/share/eprints rather than /opt/eprints3/.
> 
> Can anyone say what I may be doing wrong please?
> 
> I have used the following link as the primary guide:
> http://wiki.eprints.org/w/Installing_EPrints_3_on_RedHat_Enterprise_5
> 
> 
> My steps up to this point, from a minimal installation of CentOS7, are outlined below:
> 
> ###################################################################################
> 
> # The following requires an enabled network connection and all proxy settings (http and ftp) set, if required
> 
> ###################################################################################
> #Apache Installation
> # Run ALL as root or sudo user
> 
> systemctl enable httpd.service		#[root@ ~] or sudo
> systemctl start httpd.service		#[root@ ~] or sudo
> 
> ###################################################################################
> #MySQL Installation
> # Run ALL as root or sudo user
> 
> #No MySQL server available so add a repository that has it available.
> #Go to: http://dev.mysql.com/downloads/repo/yum/
> 
> #Choose the desired distribution (Red Hat Enterprise Linux 7 / Oracle Linux 7 for this tutorial) and click Download.
> #The download link can be retrieved without registering for an Oracle account. Locate the No thanks, just start my download link and pass the link URL as a parameter to rpm.
> #mysql57-community-release-el7-7.noarch (1).rpm
> 
> rpm -Uvh http://dev.mysql.com/get/mysql57-community-release-el7-7.noarch.rpm	
> yum info mysql-community-server
> yum -y install mysql-community-server	
> systemctl enable mysqld	
> 
> ###################################################################################
> # Dependencies
> # Run ALL as root or sudo user
> 							
> yum -y install wget							
> yum install lynx							
> yum -y install gcc							
> yum -y install poppler poppler-utils		
> yum -y install glib2-devel
> yum -y install tetex-latex
> yum -y install ImageMagick
> yum -y install perl	
> yum install -y epel-release	
> yum install -y mod_perl	
> yum -y install perl-DBI
> yum -y install perl-DBD-MySQL
> yum -y install perl-XML-Parser
> yum -y install perl-XML-LibXML
> yum -y install perl-XML-LibXML-Common
> yum info perl-XML-SAX
> rpm -q perl-XML-SAX
> yum -y install perl-XML-SAX
> 
> 
> # Ensure that proxy is set if proxy is in use
> perl -MCPAN -e shell
> cpan[1]> install Data::ShowTable
> cpan[2]> install MIME::Base64
> cpan[3]> install Unicode::String
> cpan[4]> install Term::ReadKey
> cpan[5]> install MIME::Lite
> cpan[6]> install CGI
> 
> ###################################################################################
> # Start MySQL server
> # Run ALL as root or sudo user
> 
> systemctl start mysqld
> 
> #You will need the following info to do secure the MySQL DB root password:
> #MySQL v 5.7 or higher generates a temporary random password after installation 
> #and stored that in mysql error log file, located at /var/log/mysqld.log 
> #for an installation by the MySQL Yum repository on CentOS 7.
> #use below command to see the password: 
> 
> grep 'temporary password' /var/log/mysqld.log		#[root@ ~] or sudo
> 
> # Harden MySQL installation							#[root@ ~] or sudo
> /usr/bin/mysql_secure_installation
> 
> ###################################################################################
> # EPrints installation
> # Run ALL as root or sudo user
> 
> #Prep
> # Add eprints user in preparation of installation
> useradd -d /opt/eprints3 -s /sbin/nologin eprints
> usermod -a -G eprints apache						
> 
> 
> 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	
> yum upgrade libxml2 libxslt perl-XML-LibXML perl-XML-LibXSLT					
> 
> # Install EPrints
> yum install eprints # 3.3.x and later
> 
> 
> ###################################################################################
> 
> 
> Any help/direction would be appreciated.
> 
> Thank you in advance.
> 
> 
> 
> Best regards,
> Kahena
> 
> MIS Officer | Information Systems & Technology
> University of Bolton | Deane Road | Bolton | BL3 5AB
> Email: k.morrissey at bolton.ac.uk | Tel: +44 (0)1204 903 207
> 
> 
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
> *** EPrints developers Forum: http://forum.eprints.org/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20151118/9f291fb5/attachment.html