User Tools

Site Tools


playground:playground

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

playground:playground [2015/01/24 10:00]
d.roepert [HOWTO setup Jacq on your system]
playground:playground [2015/01/24 14:38] (current)
d.roepert [HOWTO setup JACQ on your system]
Line 1: Line 1:
 ====== PlayGround ====== ====== PlayGround ======
  
-====== Install ​Jacq system ======+====== Install ​JACQ system ======
  
-==== HOWTO setup Jacq on your system ====+==== HOWTO setup JACQ on your system ====
 This setup uses the Debian Wheezy (64-bit) Linux OS.\\ This setup uses the Debian Wheezy (64-bit) Linux OS.\\
-Start with a clean OS install (e.g. [[http://​cdimage.debian.org/​debian-cd/​7.8.0/​amd64/​iso-cd/​debian-7.8.0-amd64-netinst.iso|Debian 7.8 64-bit]])\\ +Start with a clean OS install (e.g. [[http://​cdimage.debian.org/​debian-cd/​7.8.0/​amd64/​iso-cd/​debian-7.8.0-amd64-netinst.iso|Debian 7.8 64-bit]])\\ ​\\
-<WRAP left round box 60%>+
 # automatically download and install important security updates # automatically download and install important security updates
-sudo apt-get update +<WRAP left round box 95%> 
-sudo apt-get upgrade +sudo apt-get update\\ 
-sudo apt-get install unattended-upgrades+sudo apt-get upgrade\\ 
 +sudo apt-get install unattended-upgrades\\
 sudo dpkg-reconfigure -plow unattended-upgrades sudo dpkg-reconfigure -plow unattended-upgrades
 +</​WRAP>​\\
  
-</WRAP> +# download and install needed packages 
-sudo apt-get install apache2 php5 libapache2-mod-php5 mysql-server mysql-client php5-mysql phpmyadmin +<​WRAP ​left round box 95%
-sudo apt-get install ​git curl +sudo apt-get install apache2 php5 libapache2-mod-php5 mysql-server mysql-client php5-mysql phpmyadmin git curl 
-cd /var/www/ +</​WRAP>​\\ 
-git clone git://​git.code.sf.net/​p/​jacq/​legacy jacq +# download Jacq source code from sourceforge 
-git clone git://​git.code.sf.net/​p/​jacq/​code jacq-yii +<WRAP left round box 95%> 
-cd /var/tmp/ +cd /var/www/\\ 
-curl -O http://​ww2.bgbm.org/​temp/​jacq_to_go.tar +git clone %%git://​git.code.sf.net/​p/​jacq/​legacy jacq%%\\ 
-tar -xvf jacq_to_go.tar +git clone %%git://​git.code.sf.net/​p/​jacq/​code jacq-yii%% 
-mv install.php /​var/​www/​jacq/​input/​install.php +</​WRAP>​\\ 
-mv in_variables.php /​var/​www/​jacq/​input/​inc/​variables.php +# download some Jacq configuration files 
-mv out_variables.php /​var/​www/​jacq/​output/​inc/​variables.php +<WRAP left round box 95%> 
-cat herbarinput.sql | mysql -uroot -pPassw0rd +cd /var/tmp/\\ 
-cat herbarinput_log.sql | mysql -uroot -pPassw0rd ​ +curl -O http://​ww2.bgbm.org/​temp/​jacq_to_go.tar\\ 
-cat jacq-yii/​docs/​database/​jacq_input.sql ​ | mysql -uroot -pPassw0rd +tar -xvf jacq_to_go.tar\\ 
-cat jacq-yii/​docs/​database/​jacq_input_organisation.sql| mysql -uroot -pPassword ​jacq_input+mv install.php /​var/​www/​jacq/​input/​install.php\\ 
 +mv in_variables.php /​var/​www/​jacq/​input/​inc/​variables.php\\ 
 +mv out_variables.php /​var/​www/​jacq/​output/​inc/​variables.php\\ 
 +cat herbarinput.sql | mysql -uroot -p (# use password from mysql setup)\\ 
 +cat herbarinput_log.sql | mysql -uroot -p (# use password from mysql setup)\\ 
 +cat /var/www/jacq-yii/​docs/​database/​jacq_input.sql ​ | mysql -uroot -p (# use password from mysql setup)\\ 
 +cat /var/www/jacq-yii/​docs/​database/​jacq_input_organisation.sql| mysql -uroot -jacq_input ​(# use password from mysql setup)\\ 
 +</​WRAP>​\\ 
 +Please edit and change the mysql settings to your mysql user password  
 +  * /​var/​www/​jacq/​input/​inc/​variables.php 
 +  * /​var/​www/​jacq/​output/​inc/​variables.php\\ 
 +Open the URL http://​YourIPAddress/​jacq/​input/​install.php to create the first user.\\ \\ 
 +You should now be able to access the Jacq system via 
 +  * http://​IPAddress/​jacq/​input for datainput (Login: user and password added in the last step) 
 +  * http://​IPAddress/​jacq/​output for search interface
  
-==== Donwload Jacq as a VM ====+You can find more information about working with the JACQ system here [[:​export_documentation|Data Input and Manipulation in the JACQ System]] 
 + 
  
-You can download the system as an Open Virtualization Format (OVF) appliance here [[http://​ww2.bgbm.org/​temp/​Jac_to_go.ova|get Jacq]].\\ \\+==== Donwload JACQ as a VM ==== 
 + 
 +You can download the system as an Open Virtualization Format (OVF) appliance here
 +  * [[http://​ww2.bgbm.org/​temp/​Jacq_to_go_64bit.zip|get Jacq 64 bit Debian (~ 590 MB)]]
 +  * [[http://​ww2.bgbm.org/​temp/​Jacq_to_go_32bit.zip|get Jacq 32 bit Debian (~ 560 MB)]]. 
 +Please unpack the file.\\ \\
 Import the ova file for example in VMWarePlayer,​ Virtualbox [[http://​en.wikipedia.org/​wiki/​Open_Virtualization_Format|more infos about ova]].\\ Import the ova file for example in VMWarePlayer,​ Virtualbox [[http://​en.wikipedia.org/​wiki/​Open_Virtualization_Format|more infos about ova]].\\
-After importing the appliance and starting the virtual maschine you sholud be able to start working with the system. For "​root"​ the password is "​Passw0rd"​.+After importing the appliance and starting the virtual maschine you sholud be able to start working with the system. ​\\ 
 +If you receive the following error\\ \\ 
 +{{:​playground:​vm_error.png?​nolink&​300|}}\\ 
 +click on <<​Change Network Settings>>​ and in the next window\\ \\ 
 +{{:​playground:​vm_network_config.png?​nolink&​300|}}\\ 
 +click on <<​OK>>​\\ 
 + 
 +For "​root"​ the password is "​Passw0rd"​.
 The systems tries to get an IP via DHCP. So please check the IP with ifconfig within the running sytem.\\ The systems tries to get an IP via DHCP. So please check the IP with ifconfig within the running sytem.\\
 You should now be able to access the Jacq system via You should now be able to access the Jacq system via
Line 40: Line 68:
   * http://​IPAddress/​jacq/​output for search interface   * http://​IPAddress/​jacq/​output for search interface
  
-You can find more information about workin ​with the Jacq system here [[:​export_documentation|Data Input and Manipulation in the JACQ System]]+You can find more information about working ​with the JACQ system here [[:​export_documentation|Data Input and Manipulation in the JACQ System]]
  
  
  
playground/playground.1422093616.txt.gz · Last modified: 2015/01/24 10:00 by d.roepert