Difference between revisions of "Linuxmce userspace"

From LinuxMCE
Jump to: navigation, search
(Description)
m (Make it executable and run it:)
 
(14 intermediate revisions by 3 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 now 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! :-)
  
== Softwared Userspace is based on ==
+
== Software Userspace is based on ==
  
* OwnCloud (6.0.3 atm) as a base
+
* NextCloud 12 or latest master
** user_lmce (authentication based on pluto_main DB, '''WORKING''')
+
** lmce_user (authentication based on pluto_main DB, '''WORKING''')
** lmceimap (browser your e-mails setup for your account, needs some more work)
+
** mail - workin on it
** lmce_vdr (sort channels and get statistiks, '''WORKING''')
+
** lmce_vdr - working but somehow useless for others
** files_lmce (read LMCE mounts, NOT WORKING ATM)
+
** lmce_files - (Mount the the data directory's from LMCE,'''WORKING''')
** and many more apps available at http://apps.owncloud.com
+
** agenda - working on it.
 +
** contacts - working on it.
 +
** 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 19: 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 2 arguments: "setup" to install and "delete" to remove all.
+
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
  
=== 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
  
* http://dcerouter/userspace/ or http://192.168.80.1/userspace/
+
  Install php modules:
* Default admin: linuxmce, Password: linuxmce
+
  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
* /var/www/userspace/config/config.php <-- 'trusted_domains' is required for more domains.
+
  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.
 +
* Default admin: linuxmce, Password: linuxmce or login use your existing user
 +
 
 +
=== 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

Latest revision as of 10: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