Difference between revisions of "Linuxmce userspace"

From LinuxMCE
Jump to: navigation, search
m (agenda en contacts toegevoed en omschrijving files_lmce)
m (Make it executable and run it:)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
== Description ==
 
== 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 OwnCloud which is known as a solid dropbox alternative with many plugins.
+
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.
OwnCloud community is very healthy and #owncloud-dev does have some nice people which help wherever needed! :-)
+
NextCloud community is very healthy and #nextcloud does have some nice people which help wherever needed! :-)
  
 
== Software Userspace is based on ==
 
== Software Userspace is based on ==
  
* OwnCloud 7 or latest master (v8.0.0)
+
* NextCloud 12 or latest master
** user_lmce (authentication based on pluto_main DB, '''WORKING''')
+
** lmce_user (authentication based on pluto_main DB, '''WORKING''')
 
** mail - workin on it
 
** mail - workin on it
 
** lmce_vdr - working but somehow useless for others
 
** lmce_vdr - working but somehow useless for others
** files_lmce - (Mount the the data directory's from LMCE,'''WORKING''')
+
** lmce_files - (Mount the the data directory's from LMCE,'''WORKING''')
 
** agenda - working on it.
 
** agenda - working on it.
 
** contacts - working on it.
 
** contacts - working on it.
** and many more apps available at http://apps.owncloud.com
+
** and many more apps available at http://apps.nextcloud.com
 
* dovecot (manage mails and accounts)
 
* dovecot (manage mails and accounts)
 
* postfix (send mails)
 
* postfix (send mails)
Line 21: Line 21:
  
 
   cd /root/
 
   cd /root/
   wget http://svn.linuxmce.org/svn/people/ochorocho/owncloud/owncloud_setup.sh
+
   wget https://git.linuxmce.org/userspace/nextcloud/raw/master/nextcloud_setup.sh
  
 
=== Make it executable and run it: ===
 
=== Make it executable and run it: ===
  
   chmox +x ./owncloud_setup.sh
+
   chmod +x nextcloud_setup.sh
   ./owncloud_setup.sh setup
+
   ./nextcloud_setup.sh setup
 
The script takes these arguments:
 
The script takes these arguments:
* setup - Install OwnCloud 7
+
* setup - Install NextCloud
* setup master - Install OwnCloud latest master
+
* setup master - Install NextCloud latest master
** 12.04: PHP 5.4 required like so http://www.pixelite.co.nz/article/upgrading-php-54-ubuntu-1204-lts-support-drupal-8/
+
** 14.04: PHP 5.6 required
**14.04 is shipped with 5.5.x
+
* delete - delete NextCloud and its DB
* delete - delete OwnCloud and its DB
+
* update - update NextCloud and LinuxMCE related Apps
* update - update OwnCloud and LinuxMCE related Apps
+
  
=== OwnCloud install is available under: ===
+
  Howto get PHP5.6 on 14.04:
 +
  sudo add-apt-repository ppa:ondrej/php
 +
  sudo apt-get update
 +
  sudo apt-get install libapache2-mod-php5.6
 +
  sudo a2dismod php5
 +
  sudo a2enmod php5.6
 +
  sudo service apache2 restart
 +
 
 +
  Install php modules:
 +
  sudo apt-get install php5.6-cli php5.6-json php5.6-curl php5.6-imap php5.6-gd php5.6-mysql php5.6-xml php5.6-zip php5.6-intl php5.6-mcrypt php5.6-imagick php5.6-mbstring
 +
  sudo service apache2 restart
 +
 
 +
=== NextCloud install is available under: ===
  
 
* http://dcerouter/userspace/ or http://192.168.80.1/userspace/ | /var/www/userspace/config/config.php <-- 'trusted_domains' is required for more domains.
 
* http://dcerouter/userspace/ or http://192.168.80.1/userspace/ | /var/www/userspace/config/config.php <-- 'trusted_domains' is required for more domains.
 
* Default admin: linuxmce, Password: linuxmce or login use your existing user
 
* Default admin: linuxmce, Password: linuxmce or login use your existing user
  
=== OwnCloud commandline ===
+
=== NextCloud commandline ===
OwnCloud offers a commandline interface where you can trigger some actions.
+
NextCloud offers a commandline interface where you can trigger some actions.
  
 
Show all available commands:
 
Show all available commands:

Latest revision as of 09:04, 3 July 2017

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 install libapache2-mod-php5.6
 sudo a2dismod php5
 sudo a2enmod php5.6
 sudo service apache2 restart
 Install php modules:
 sudo apt-get install php5.6-cli php5.6-json php5.6-curl php5.6-imap php5.6-gd php5.6-mysql php5.6-xml php5.6-zip php5.6-intl php5.6-mcrypt php5.6-imagick php5.6-mbstring
 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