About Features Downloads Getting Started Documentation Events Support GitHub

Site Tools


installation:ubuntu

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
installation:ubuntu [2019/09/12 15:31]
demiankatz [ILS-Specific Issues]
installation:ubuntu [2019/11/06 13:55] (current)
demiankatz [Version Requirements]
Line 5: Line 5:
 ====== Version Requirements ====== ====== Version Requirements ======
  
-These instructions were most recently tested on Ubuntu 19.04 but should also work with other recent versions with little or no modification. If you are using an older Ubuntu distribution,​ make sure it meets the [[installation:​requirements|requirements]] (such as minimum PHP version) of the VuFind release you are installing.+These instructions were most recently tested on Ubuntu 19.04 and Debian 10.1 but should also work with other recent versions with little or no modification. If you are using an older Ubuntu distribution,​ make sure it meets the [[installation:​requirements|requirements]] (such as minimum PHP version) of the VuFind release you are installing.
 ====== Getting Started ====== ====== Getting Started ======
  
Line 39: Line 39:
  
 <code bash> <code bash>
-wget https://​github.com/​vufind-org/​vufind/​releases/​download/​v6.0/​vufind_6.0.deb+wget https://​github.com/​vufind-org/​vufind/​releases/​download/​v6.0.1/vufind_6.0.1.deb
 </​code>​ </​code>​
  
Line 45: Line 45:
  
 <code bash> <code bash>
-sudo dpkg -i vufind_6.0.deb+sudo dpkg -i vufind_6.0.1.deb
 </​code>​ </​code>​
  
Line 60: Line 60:
   * **Case 1 - MySQL, Ubuntu 17 or earlier:** If you need to install MySQL, you may be prompted for a root password during installation. ​ For better security, it is a good idea to set this; if you do, be sure you remember it so you can configure VuFind to access the database later.   * **Case 1 - MySQL, Ubuntu 17 or earlier:** If you need to install MySQL, you may be prompted for a root password during installation. ​ For better security, it is a good idea to set this; if you do, be sure you remember it so you can configure VuFind to access the database later.
   * **Case 2 - MySQL, Ubuntu 18+:** If you wish to connect to the root account through the web-based installer in order to set up VuFind'​s database, you will need to disable the root account'​s "​auth_socket"​ plugin, which prevents regular logins. You can do this by logging in with "sudo mysql -uroot"​ and then running <​nowiki>"​UPDATE mysql.user SET plugin='​mysql_native_password'​ WHERE User='​root';​ FLUSH PRIVILEGES;"</​nowiki>​ Next you should run "sudo /​usr/​bin/​mysql_secure_installation"​ to set a root password.   * **Case 2 - MySQL, Ubuntu 18+:** If you wish to connect to the root account through the web-based installer in order to set up VuFind'​s database, you will need to disable the root account'​s "​auth_socket"​ plugin, which prevents regular logins. You can do this by logging in with "sudo mysql -uroot"​ and then running <​nowiki>"​UPDATE mysql.user SET plugin='​mysql_native_password'​ WHERE User='​root';​ FLUSH PRIVILEGES;"</​nowiki>​ Next you should run "sudo /​usr/​bin/​mysql_secure_installation"​ to set a root password.
-  * **Case 3 - MariaDB:** If you are using a distribution that includes MariaDB instead of MySQL, you will not be prompted to set a root password. Instead, you should run "sudo /​usr/​bin/​mysql_secure_installation"​ to properly set up security. If you wish to connect to the root account through the web-based installer in order to set up VuFind'​s database, you may also need to disable the root account'​s "​unix_socket"​ plugin, which prevents regular logins. You can do this by logging in with "sudo mysql -uroot -p" and then running <​nowiki>"​UPDATE mysql.user SET plugin=''​ WHERE User='​root';​ FLUSH PRIVILEGES;"</​nowiki>​+  * **Case 3 - MariaDB:** If you are using a distribution that includes MariaDB instead of MySQL, you will not be prompted to set a root password ​during installation. Instead, you should run "sudo /​usr/​bin/​mysql_secure_installation"​ to properly set up security. If this command is missing, try installing the mariadb-client and mariadb-server packages with apt-get. If you wish to connect to the root account through the web-based installer in order to set up VuFind'​s database, you may also need to disable the root account'​s "​unix_socket"​ plugin, which prevents regular logins. You can do this by logging in with "sudo mysql -uroot -p" and then running <​nowiki>"​UPDATE mysql.user SET plugin=''​ WHERE User='​root';​ FLUSH PRIVILEGES;"</​nowiki>​
  
 ==== ILS-Specific Issues ==== ==== ILS-Specific Issues ====
Line 148: Line 148:
 <​code>​ <​code>​
 cd /tmp cd /tmp
-wget https://​github.com/​vufind-org/​vufind/​releases/​download/​v6.0/​vufind-6.0.tar.gz +wget https://​github.com/​vufind-org/​vufind/​releases/​download/​v6.0.1/vufind-6.0.1.tar.gz 
-tar -xzvf vufind-6.0.tar.gz +tar -xzvf vufind-6.0.1.tar.gz 
-sudo mv vufind-6.0 /​usr/​local/​vufind+sudo mv vufind-6.0.1 /​usr/​local/​vufind
 </​code>​ </​code>​
  
installation/ubuntu.1568302293.txt.gz · Last modified: 2019/09/12 15:31 by demiankatz