Re: [Hampshire] Home server

Top Page

Reply to this message
Author: Phillip Chandler via Hampshire
Date:  
To: 'Hampshire LUG Discussion List'
CC: phillip.chandler100
Subject: Re: [Hampshire] Home server
Well that was fun.

I was originally running ubuntu 17.04. After trying to follow some guides I:
ended up having to re-install ubuntu and start fresh,
download Ubuntu 18.04 and install that,
NOT setup static IP address from the install disc,
mess up installing php and other stuff,
re-install Ubuntu 18.04 this time setting static IP address from install,
follow my guides up to the part I thought Id stuffed up,
try uploading cubecart via FTP and got permission errors,
googled that and worked it out,
tried installing cubecart again and found out I should have created the database first and NOT assume cubecart would create it,
ran mariadb from terminal and created database
tried again with cubecart,
got to log in to the shop admin page via browsers and added two products, pointed browser to server shop folder.

And I nearly pissed myself when it actually showed up the shop front in all its glory.

As Keith said, " you'll learn far more by trying it than by simply following an online document" and he was spot on. There is too much stuff out there that is sort of helpful but missing small points. Ive now got my very own cubecart shop guide and hope that it will be a useful reminder for me. And now the only way is forward. Ive now gained a better insight into Linux.

I still don’t know a lot, you guys have probably forgotten more than I know, but then we only learn what we need to do our own little thing. Im glad I stuck it out.

Phillip

-----Original Message-----
From: Hampshire <hampshire-bounces@???> On Behalf Of Keith Edmunds via Hampshire
Sent: 03 June 2018 20:08
To: hampshire@???
Cc: Keith Edmunds <kae@???>
Subject: Re: [Hampshire] Home server

On Sat, 2 Jun 2018 18:38:05 +0100, hampshire@??? said:

> So is there a real simple idiots guide to setting up php and a mysql
> database ?


Start with:

# apt install apache2 libapache2-mod-php php-mysql mariadb-client mariadb-server

(MariaDB is a replacement for MySQL).

Then try to get your application working. Any problems, comes back to the list (you'll learn far more by trying it than by simply following an online document).
-- 
Linux Tips:     https://www.tiger-computing.co.uk/category/techtips/


--
Please post to: Hampshire@??? Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------


--
Please post to: Hampshire@???
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------