Premium Only Content

How To Build a LAMP Stack on CentOS 7.6
I'm going to show you how to install a LAMP Stack on a VPS using CentOS 7.6 x64.
Linode $100 Credit: https://linode.com/seekaplayer (This is for new accounts, the credit expires in 60 days so use it!)
Create a VPS Server with at least 1GB of Ram but I would suggest at least 2GB
Open your choice of an SSH Client. There are many choices out there. PuTTY is very popular https://www.putty.org/
Connect to your Server by typing in: root@youripaddress and then you'll be prompted for a password.
Once you connect (If you use Digital Ocean they will have you change your password once you login) you are set to get started.
Follow Me!
Linktree: https://linktr.ee/seekaplayer
First, you'll want to update your server. Type the following:
yum update -y
yum upgrade -y
Then you'll want to install some other tools (You may not need all of them but it's good to have them):
yum install nano -y
Now to get started with your LAMP Stack you need to install APACHE: yum install httpd -y
Now we'll need to start APACHE: systemctl start httpd.service
If this works visit your YourIpAddress in the navigation bar and you should see a Testing 123.. page. This means APACHE has been installed and is working.
Next, we need to make sure APACHE starts after a reboot: systemctl enable httpd.service
Now we need to install MariaDB: yum install mariadb-server mariadb -y
Now we need to start MariaDB: systemctl start mariadb
Then we'll secure the DB: mysql_secure_installation
Now there will be some options:
Enter current password for root (enter for none): Hit Enter
Set root password? [Y/n]: y
New password: Enter a password
Re-enter new password: Re-enter your password
Remove anonymous users? [Y/n]: y
Disallow root login remotely? [Y/n]: y
Remove test database and access to it? [Y/n]: y
Reload privilege tables now? [Y/n]: y
All done! If you've completed all of the above steps, your MariaDB
installation should now be secure.
Thanks for using MariaDB!
Now we'll need to enable MariaDB when the Server Reboots: systemctl enable mariadb.service
Now we'll install PHP: yum install php php-mysql -y
Now we'll need to reboot APACHE: systemctl restart httpd.service
To make sure PHP installed correctly type in the following command to create a file to test your PHP: nano /var/www/html/info.php
In the text editor type: See Video For Code
Then: ctrl + x
Then: y and hit Enter
And that's how you create a LAMP Stack! You can add your files to your /var/www/html
BONUS: Installing phpMyAdmin
We need to install the EPEL repository: yum install epel-release -y
Now update/upgrade:
yum update -y
yum upgrade -y
Now we need to install phpMyAdmin: yum install phpmyadmin -y
Now we need to edit the phpMyAdmin Config file: nano /etc/httpd/conf.d/phpMyAdmin.conf
Edit this section and add the following:
Add: Require all granted to the #Apache 2.4 section
Change: Deny from All to Allow from All in the #Apache 2.2 section
Restart APACHE: service httpd restart
Now visit your IpAddress/phpmyadmin
Thanks for watching and remember to Like, Share and Subscribe.
Referral Links
Linode - Spin up servers instantly and easily with Linode. When you visit my link you'll get $100 in free credit to use to test out Linode. Please note, this credit will expire in 60 days so use it! - https://linode.com/seekaplayer
Popl - You have got to check out Popl! This platform is amazing! It allows you to share your information and gather information from people you meet. You can use their app or purchase devices and with a tap can get your information out there to anybody with a mobile device. Check it out! Also, if you use my link you get 20% off! https://popl.co/?ref=seekaplayer
AimBot Energy - https://aimbotenergy.com/discount/SEEKAPLAYER - Is uniquely powerful, consistently delicious, and completely free of sugar and calories. It almost feels too good to be true. Feel the difference for yourself. Step into the future of energy drinks. Use code SEEAKAPLAYER to save 15%!
Express VPN - I have worked with Express VPN to give my viewers a great deal. You can get 12 months + 3 Free months (15 months total) of this great VPN Service for only $99! - https://www.xvgolink.com/?offer=3monthsfree&a_fid=seekaplayer
Humble Bundle - https://www.humblebundle.com/monthly?partner=seekaplayer
#lamp #apache #linux
-
1:34
Seekaplayer
1 month agoTesting Rumble Studio
8 -
5:14:28
FreshandFit
9 hours agoCall-In Show
68.6K23 -
3:00:07
JustPearlyThings
10 hours agoWhy Do Modern Women Think Disrespecting Their Husbands Publicly Is Funny? Call-In Show | Pearl Daily
77.1K28 -
1:35:17
Badlands Media
1 day agoEye of the Storm Ep. 241
92.2K34 -
2:05:58
TimcastIRL
10 hours agoTrump Just REVOKED Legal Status Of 530,000 Migrants, Deportations NOW w/ Alex Stein | Timcast IRL
199K298 -
3:39:01
I_Came_With_Fire_Podcast
14 hours agoCHINA MILITARY PURGE | TESLA OWNERS DOXXED | NGAD F-47
46.9K16 -
5:44:43
Shield_PR_Gaming
15 hours agoSome Gray Zone Warfare with Followers & more games!
67.3K3 -
31:38
Michael Franzese
11 hours agoTony Accardo: The Genius That Built Chicago’s Most Powerful Empire
68.4K4 -
45:40
BonginoReport
13 hours agoCritics Give Disney’s Feminist “Snow White” a Rotten Apple (Ep.10) - Nightly Scroll w Hayley 03/21/2025
126K158 -
1:47:40
Kim Iversen
15 hours agoWhy Did Sarah Ashton-Cirillo Help Jail Gonzalo Lira? His Side of The Story
116K225