Created
December 28, 2020 13:03
-
-
Save LinuxFintech/79353ce6443e40be446c5e05a1d797e0 to your computer and use it in GitHub Desktop.
I Will Do WordPress CMS Theme Plugins Install Linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you need WordPress service contact with me: | |
Email: [email protected] | |
Telegram:LinuxFintech | |
Skype: https://join.skype.com/Xgxp7aNBOItS | |
Imo: +8801735917013 | |
WhatsApp: +8801735917013 | |
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 | |
sudo apt update | |
sudo apt upgrade | |
sudo apt install apache2 | |
sudo ufw allow in "Apache Full" | |
apache2 -v | |
sudo service apache2 start | |
sudo systemctl enable apache2 | |
sudo service apache2 stop | |
sudo nano nano /etc/apache2/apache2.conf | |
Add this line ServerName 127.0.1.1 into apache2.conf file | |
ctrl+s and ctrl+x | |
sudo service apache2 start | |
sudo service apache2 restart | |
sudo apt install curl | |
sudo ufw allow ssh | |
sudo ufw allow 2222/tcp | |
# Visit: http://localhost/ | |
# Install MySQL & check version, start,stop & restart Apache | |
sudo apt install mysql-server | |
sudo mysql_secure_installation | |
mysql --version | |
nano /etc/mysql/mysql.conf.d/mysqld.cnf | |
# And then change the bind-address line to 0.0.0.0 | |
# Save and exit | |
cd /var/www/ | |
git clone https://github.com/WordPress/WordPress.git | |
rm -rf html | |
mv WordPress html | |
cd html | |
sudo nano wp-config.php | |
# add BD NAME= mydb user name: masum password: 01722G@usia | |
ctrl+s and ctrl+x | |
service apache2 restart | |
service apache2 reload | |
service mysql restart |
Author
LinuxFintech
commented
Dec 28, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment