LikeyThePi
Posts: 19
Joined: Thu Jan 09, 2014 12:36 am

Nextcloud, MySQL, PHP 7

Fri Nov 17, 2017 5:31 pm

I would like to install Nextcloud on Raspbian Stretch (or Ubuntu Mate) with MySQL and PHP 7. My apt-get install syntax looks like the below for MySQL and PHP 7:

sudo apt-get install mysql-server php7.0 php7.0-gd php7.0-mysql php7.0-curl php7.0-json php7.0-intl php7.0-mcrypt php7.0-bz2 php7.0-zip php-imagick

I've gathered the above from searching websites on how to install Nextcloud. Would anyone have any suggestions for what to add and/or remove from the syntax for MySQL and PHP 7? Thank you.

User avatar
DougieLawson
Posts: 39120
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Nextcloud, MySQL, PHP 7

Sat Nov 18, 2017 2:12 am

Just run your sudo apt install ... command, see what happens. It won't hurt.

Try
apt search php.*7
to find the packages you need to install.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

jsfrederick
Posts: 23
Joined: Sat Feb 25, 2017 9:03 pm
Location: Virginia, USA

Re: Nextcloud, MySQL, PHP 7

Sat Nov 18, 2017 3:28 am

Check out NextcloudPi (www.ownyourbits.com). It is a prebuilt image of NextCloud on Raspbian Stretch.

I have been running it for over 6 months and it's great.

cpc464
Posts: 239
Joined: Tue Jul 08, 2014 5:10 pm
Contact: Website

Re: Nextcloud, MySQL, PHP 7

Sun Nov 26, 2017 2:45 pm

Hi OP,

I have just published this guide to installing Nextcloud on the Pi automatically (Stretch or Jessie). It installs all the needed packages, all you do is type 3 commands (it uses Ansible to automate the install). For now it is just SQlite, not mysql.


http://unixetc.co.uk/2017/11/25/automat ... pberry-pi/

Cheers,
Jim
Unix engineer since 1989

Return to “General discussion”