Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: bmarkus on June 27, 2016, 04:12:41 PM

Title: LAMP with piCore-8.0
Post by: bmarkus on June 27, 2016, 04:12:41 PM
Now you can setup a LAMP environment with piCore-8.0, all necessary components are available in the repo:

- apache2.4
- mariadb (replacing MySQL)
- apache2.4-mod-php5 or apache2.4-mod-php7

Just tested, Joomla-3.5.1 runs fine with php7 on RPi3. If you try it, please share your findings. Other PHP apps my require different PHP settings or modules which are not built yet.
Title: Re: LAMP with piCore-8.0
Post by: bmarkus on June 27, 2016, 04:45:50 PM
phpMyAdmin and Wordpress also working.

SMF doesn't find SQL driver, will fix in next round.


Title: Re: LAMP with piCore-8.0
Post by: bmarkus on June 28, 2016, 05:10:22 PM
apache2.4-mod-php5.tcz updated with more MySQL drivers.
Title: Re: LAMP with piCore-8.0
Post by: falcon on September 18, 2016, 02:01:25 PM
Hello Bela,
In Joomla setup on the second page database configuration, whats the password to Mariadb? Is it the same as when I log in with tc? I put user as root. It just says "Could not connect to MySQL".
What am I doing wrong?
Thanks in advance!
Yours
Magnus Falk in Oslo, Norway
Title: Re: LAMP with piCore-8.0
Post by: Rich on September 18, 2016, 02:36:16 PM
Hi falcon
Have you read this:
http://stackoverflow.com/questions/20270879/whats-the-default-password-of-mariadb-on-fedora
Title: Re: LAMP with piCore-8.0
Post by: bmarkus on September 19, 2016, 12:53:46 AM
Hello Bela,
In Joomla setup on the second page database configuration, whats the password to Mariadb? Is it the same as when I log in with tc? I put user as root. It just says "Could not connect to MySQL".
What am I doing wrong?
Thanks in advance!
Yours
Magnus Falk in Oslo, Norway

Before installing Joomla create a new database for Joomla and create a user with a password as usual with MySql.

Dont forget to make database persistent.
Title: Re: LAMP with piCore-8.0
Post by: falcon on September 19, 2016, 11:00:59 AM
Thank you very much bmarkus and Rich! I will try to follow the instructions.
Yours Magnus
Title: Re: LAMP with piCore-8.0
Post by: falcon on December 09, 2017, 03:48:04 PM
Hello Bela Markus,

I just got this error 2002 message when I try to run mysql_secure_installation in piCore 9.0.3. I have MariaDB 10.1.14 installed and start with "mysqld_safe --user=root &". Whats wrong here? I attach my box.err if you like to read in it. Cant connect via socket to database or something it says.
Thank you in advance!
Yours Magnus Falk in Oslo, Norway