Just Because I Can Doesn't Mean I Should... But that won't stop me!

Welcome to newcomers! Don't hesitate to introduce yourself.
Forum rules
Topics in this forum are automatically closed 6 months after creation.
Locked
Chugalugomug

Just Because I Can Doesn't Mean I Should... But that won't stop me!

Post by Chugalugomug »

Hello Linux Mint folks!

I've really been appreciating the forum as I work to setup my first ever LAMP stack for some homebrew webhosting projects.

I am a working professional with limited spare time, but I am finding the technical aspect of Linus rather invigorating. I've always wanted to take an old computer and revive it with Linux, and a recent hand-me-down of an old laptop gave me the perfect excuse.

I'm open to any and all hot tips on setting up network functionality on LAMP stack, even though my better judgement suggests I don't have time for the maintenance a homebrewed solution requires.

Anyway, this is a Hello World, and looking forward to getting involved in the forum.

Cheers!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
deepakdeshp
Level 20
Level 20
Posts: 12336
Joined: Sun Aug 09, 2015 10:00 am

Re: Just Because I Can Doesn't Mean I Should... But that won't stop me!

Post by deepakdeshp »

It's a cakewalk to setup LAMP and LAMP applications on Ubuntu LTS 20.04
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak

Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
User avatar
AZgl1800
Level 20
Level 20
Posts: 11173
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes Sweeping down the Plains
Contact:

Re: Just Because I Can Doesn't Mean I Should... But that won't stop me!

Post by AZgl1800 »

deepakdeshp wrote: Sun Feb 28, 2021 3:24 am It's a cakewalk to setup LAMP and LAMP applications on Ubuntu LTS 20.04
it might be if you are familiar with that stuff, which I am not, have never used.

I have an interest in it though, for myself.
LM21.3 Cinnamon ASUS FX705GM | Donate to Mint https://www.patreon.com/linux_mint
Image
User avatar
antikythera
Level 15
Level 15
Posts: 5721
Joined: Thu Jul 02, 2020 12:52 pm
Location: Cymru

Re: Just Because I Can Doesn't Mean I Should... But that won't stop me!

Post by antikythera »

Brick will be proud, so much love for LAMP :)

Welcome
I’ll tell you a DNS joke but be advised, it could take up to 24 hours for everyone to get it.
User avatar
kc1di
Level 18
Level 18
Posts: 8175
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Just Because I Can Doesn't Mean I Should... But that won't stop me!

Post by kc1di »

Hello Chugalugomug,
Welcome to Linux Mint Forums, enjoy the freedom! :)
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
deepakdeshp
Level 20
Level 20
Posts: 12336
Joined: Sun Aug 09, 2015 10:00 am

Re: Just Because I Can Doesn't Mean I Should... But that won't stop me!

Post by deepakdeshp »

AZgl1500 wrote: Sun Feb 28, 2021 3:39 am
deepakdeshp wrote: Sun Feb 28, 2021 3:24 am It's a cakewalk to setup LAMP and LAMP applications on Ubuntu LTS 20.04
it might be if you are familiar with that stuff, which I am not, have never used.

I have an interest in it though, for myself.
20.04 Ubuntu server is fully command mode. Later of course a desktop can be added, there is no real reason to do so.
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak

Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
Welcome
Level 6
Level 6
Posts: 1026
Joined: Wed Aug 19, 2020 11:38 am

Re: Just Because I Can Doesn't Mean I Should... But that won't stop me!

Post by Welcome »

Hi Chugalugomug!

Welcome to the Linux Mint forums!

Setting up LAMP is easier than it used to be years ago. Unless you're using mySQL. It's easy too, as long as you remember to run...

Code: Select all

sudo mysql_secure_installation
... to set the root password.

I'm no expert, but I've used the following when running mysql_secure_installation: answer no to validate password, remove anonymous, disallow root remotely, and remove test database, and answer yes to reload tables.

Then I access the database and set up special users with special permissions, for example...

Code: Select all

sudo mysql -uroot -p
SELECT User,Host FROM mysql.user;
DROP USER 'root'@'localhost';
CREATE USER 'root'@'%' IDENTIFIED BY 'rootpassword';
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION;
CREATE USER 'user1'@'%' IDENTIFIED BY 'user1password';
GRANT ALL PRIVILEGES ON *.* TO 'user1'@'%' WITH GRANT OPTION;
CREATE USER 'user2'@'%' IDENTIFIED BY 'user2password';
GRANT ALL PRIVILEGES ON *.* TO 'user2'@'%' WITH GRANT OPTION;
CREATE USER 'user3'@'localhost' IDENTIFIED BY 'user3password';
GRANT ALL PRIVILEGES ON *.* TO 'user3'@'localhost' WITH GRANT OPTION;
quit;
Of course, I change the passwords and set the privileges as appropriate.
User avatar
JerryF
Level 16
Level 16
Posts: 6570
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Just Because I Can Doesn't Mean I Should... But that won't stop me!

Post by JerryF »

Welcome! I love your Subject Line!! I say that all the time, especially to my coworkers.
Locked

Return to “Introduce Yourself”