Linuxmce userspace

From LinuxMCE
Revision as of 09:47, 3 July 2017 by Pointman87 (Talk | contribs) (php5.6 instructions)

Jump to: navigation, search

Description

Userspace is meant as a area for every LinuxMCE User to manage their files, mails, contacts, calendars and VDR. The main software is based on NextCloud which is known as a solid dropbox alternative with many plugins. NextCloud community is very healthy and #nextcloud does have some nice people which help wherever needed! :-)

Software Userspace is based on

  • NextCloud 12 or latest master
    • lmce_user (authentication based on pluto_main DB, WORKING)
    • mail - workin on it
    • lmce_vdr - working but somehow useless for others
    • lmce_files - (Mount the the data directory's from LMCE,WORKING)
    • agenda - working on it.
    • contacts - working on it.
    • and many more apps available at http://apps.nextcloud.com
  • dovecot (manage mails and accounts)
  • postfix (send mails)

Install Userspace

Get the install script:

 cd /root/
 wget https://git.linuxmce.org/userspace/nextcloud/raw/master/nextcloud_setup.sh

Make it executable and run it:

 chmod +x nextcloud_setup.sh
 ./nextcloud_setup.sh setup

The script takes these arguments:

  • setup - Install NextCloud
  • setup master - Install NextCloud latest master
    • 14.04: PHP 5.6 required
  • delete - delete NextCloud and its DB
  • update - update NextCloud and LinuxMCE related Apps
 Howto get PHP5.6 on 14.04:
 sudo add-apt-repository ppa:ondrej/php
 sudo apt-get update
 sudo apt-get purge php5-common # remove and purge old PHP 5.x packages
 sudo apt-get update # I had to run the update command again
 sudo apt-get install libapache2-mod-php5.6
 Reinstall phpmyadmin and run:
 sudo a2dismod php5
 sudo a2enmod php5.6
 sudo service apache2 restart
 Install php modules:
 sudo apt-get install php5.6-mbstring
 sudo apt-get install php5.6-gettext
 sudo apt-get install php5.6-mysql
 sudo service apache2 restart

NextCloud install is available under:

NextCloud commandline

NextCloud offers a commandline interface where you can trigger some actions.

Show all available commands:

 sudo -su www-data /var/www/userspace/occ

Its useful to run file:scan after install to make sure all mounts get indexed:

 sudo -su www-data /var/www/userspace/occ files:scan --all