How To Install LAMP On Ubuntu 16.04 With A Single Command

https://sillycodes.com/installing-lamp-linux-apache-mysql-php-ubuntu-16-04-14-04-in-single-command-apt-get/ http://www.sudo-juice.com/install-lamp-server-ubuntu/ sudo apt-get install lamp-server^ as of March 18, 2017: MySQL version: 5.7.17 PHP version: 7.0.15 Warning : DO NOT remove the complete Lamp package using: $ sudo apt-get –purge remove lamp-server^ or $ sudo apt-get remove lamp-server^ because lamp-server^ is a Meta Package. It will install many dependencies as part of LAMP server. […]

Crontab Info

Examples: https://crontab.guru/examples.html Info: https://crontab.guru/crontab.5.html for Nextcloud: https://docs.nextcloud.com/server/11/admin_manual/configuration_server/background_jobs_configuration.html Nextcloud better example: https://help.nextcloud.com/t/error-on-cron-php-execute-via-crontab-or-command-line/583/2 $ sudo -u www-data crontab -e then enter the code below at the bottom (runs every 4 hours): * */4 * * * php -f /var/www/html/nextcloud/cron.php 0r everyday at 2am: * 2 * * * php -f /var/www/html/nextcloud/cron.php To verify if the cron job […]

How To Install Tesseract OCR For Nextant And Nextcloud

http://installion.co.uk/ubuntu/xenial/universe/t/tesseract-ocr/install/index.html https://github.com/tesseract-ocr/tesseract/wiki 1. Install tesseract-ocr $ sudo apt-get update $ sudo apt-get install tesseract-ocr To uninstall tesseract-ocr http://installion.co.uk/ubuntu/xenial/universe/t/tesseract-ocr/uninstall/index.html $ sudo apt-get remove tesseract-ocr This will remove just the tesseract-ocr package itself. To uninstall tesseract-ocr and its dependencies $ sudo apt-get remove –auto-remove tesseract-ocr This will remove the tesseract-ocr package and any other dependant packages which […]

How To Install Nextant Full Text Search For NextCloud

https://github.com/nextcloud/nextant/wiki and (links to) https://github.com/nextcloud/nextant/wiki/Setup-your-local-Solr-as-a-Service To install java depenencies: https://www.howtoforge.com/tutorial/how-to-install-and-configure-solr-on-ubuntu-1604/ 1. Update the system $ sudo apt-get update && apt-get upgrade -y 2. Install Java $ sudo add-apt-repository ppa:webupd8team/java $ sudo apt-get update $ sudo apt-get install oracle-java8-installer check the java version: $ java -version output example: java version “1.8.0_121” Java(TM) SE Runtime Environment (build […]

Enabling Pretty Links In Nextcloud

https://bayton.org/2016/07/installing-nextcloud-on-ubuntu-16-04-lts-with-redis-apcu-apache/ Much like theming, pretty links aren’t mandatory, but they add to the overall aesthetics of the server. Most of the hard work was already done during the setup of the environment with the enabling of mod_env and mod_rewrite, however to complete the removal of index.php in every URL: 1. Open the Nextcloud config file: […]

How To Install Memcached

https://syscoding.com/tutorials/40/how-to-install-memcached-on-ubuntu-1604/ http://www.servermom.org/install-use-memcached-nginx-php-7-ubuntu-16-04/3670/ $ sudo apt-get update $ sudo apt-get install memcached $ sudo apt install php-memcached $ service memcached restart $ service php7.0-fpm restart