Dear Moodle Experts,
Is there a Moodle 4.2.1 set up on Ubuntu and Apache? This Moodle installation guide is outdated as it still uses php-7.4 and 4.2.1 uses PHP 8 now.
I am willing to pay (e-transfer or billing) as of this moment for the Moodle setup on Ubuntu, need someone to go online on Zoom or Teams and teach me how to install 4.2.1 and PHP 8.
Thank you!
Mike
There is a place to post jobs.
But, think it would be wise to give as full a description as you can.
Hosted on Amazon. Un-install bitnami. + Install the AMP stack with Ubuntu + moodle (uhhhh, think I'd add to that 4.1 of moodle cause it's long term support and the install of moodle *must* be done via git + some bash shell scripting that would facilitate updates (for 4.1 point releases) as well as upgrade to versions higher than 4.1 when reaches 'end of life'.
Yet others ... site backup via command line using 'native' OS tools and lastly installation of moosh.
Considering your frustration with your own efforts, don't think you want more frustration when whomever you hire can't deliver (you really don't need someone who is really OJT while attempting to teach you how 2)
My 2 cents!
'SoS', Ken
Dear Ken,
I have abandoned Lightsail and just set up an AWS EC2 instance with Ubuntu as OS and Apache as server.
I need a guide on how I can set up Moodle 4.2.1 with PHP8 on EC2.
I have abandoned Lightsail and just set up an AWS EC2 instance with Ubuntu as OS and Apache as server.
I need a guide on how I can set up Moodle 4.2.1 with PHP8 on EC2.
Ok then ... Amazon EC2 it is - no bitnami - you have Ubuntu (version?) and Apache but no PHP 8 ... and haven't checked into DB server (MariaDB/MySQL).
So we've gotten a good start ... now to dig a little more ... 
What you have installed ... what guide did you use?
This one?
If it wasn't that one, which?
So even though the goal is Moodle, what comes before that is OS, Apache, DB server(mariaDB or mysql) [note that Amazon might choose for you mariaDB], PHP 8 (or 8.1 - note above shows an 8) + the PHP extensions needed for Moodle.
Please see:
No, the above isn't specific to Amazon/EC2 - now is the time to dig some more ... Get good with Google! 
But focus on what it is that you want - concentrate - don't loose focus - don't get frustrated! 
You do have to learn your server environment ... period! No way round that.
You have to learn your package manager - installs software.
Here's a tip: man -k php
man is online manual ... -k is keyword .... looking for anything your OS has related to PHP.
The next hurdle is DB server - notice we've not mentioned moodle yet ... we are still focusing on what's needed to run a moodle.
MariaDB
However ... assuming that it is possible, think you might want to install mariaDB on the *SAME* server as your apache server.
For that, moodle docs might suffice:
Ok, check list time ....
Apache is running on port 80 and 443 and you can see a 'Hello World' index.html page.
You have PHP installed ... you've put a phpinfo.php file at your document root to see that your Apache is talking to the version of PHP desired for Moode.
That phpinfo page also shows the DB driver (we want MariaDB) and the PHP extensions needed for moodle.
from shell:
php -v shows version of *PHP-CLI* and php -m shows the PHP extensions installed.
Apache also responds to 443 https://yourFQDNofserver/
In moodle, you will have to enter a URL to your site and you want your Moodle to be using https://.
If Apache not running 443 and complains about a self-signed certificate, then you need to acquire a cert for your server.
If you have above installed/checked out and working, now, the very last thing you do is install a moodle.
Now beware - docs above will attempt to cover things have already done and checked out ... they are working.
Differences in what you have done and that doc ... you are using mariaDB and the docs show MySQL (mysqld) commands. But ... mariaDB is supposed to be a drop in replacement for MySQL ... so commands can be used for both, **BUT** when installing moodle, driver for the DB is 'mariadb'.
So once again FOCUS ... just on moodle.
This 'tutorial' (forum response) is free ... but is it 100% fool proof? No! No doc is! Now it's time for you to FOCUS ... learn your envionrment ... I, nor no one else, can do that for you! 
Feel free to check out my profile. Can do Zoom, but we wouldn't be doing FREEBIE there for individualized instruction - one on one! We can talk and I can probably point out some things, but ..... 
'SoS', Ken
Dear Ken,
Could you take a look at my question here: https://moodle.org/mod/forum/discuss.php?d=448701
I got down to the last part and am stuck on MySQL password.
Could you take a look at my question here: https://moodle.org/mod/forum/discuss.php?d=448701
I got down to the last part and am stuck on MySQL password.
Big thank you!
Mike
Think I have already responded there! 
'SoS', Ken
In reply to Mike Smith
Re: Is there a Moodle 4.2.1 set up on Ubuntu and Apache?
by Visvanath Ratnaweera -
So rather than taking a break and be clear what you want https://moodle.org/mod/forum/discuss.php?d=448668#p1803085, you created two more discussion threads? Are all those discussions still open or do the helpers have to assume as soon as a new discussion appears, all the old ones are automatically closed?

Anyway, after all those fancy items you came back to the trusted VPS, AFAIK Amazon EC2 is another name for a VPS. You can follow https://docs.moodle.org/en/Installing_Moodle_on_Debian_based_distributions - Ubuntu Linux is a Debian derivative.