####################### Virtual Box #######################
install Centos 7 Minimall on Virtualbox
new - name - Linux - Red Hat (64bit)
create a virtual hard drive now
VDI - Dynamically Allocated
8gb
Setting
System
Setting Processor
2 Core
Setting Base Memory size
2048MB
Setting network - bridge
Setting storage - ide - centos7.iso
run and install centos 7 Minimal
network - Configure - General Tab - Automatic Connect to this network
User Setting - Set Root Password - Covid19
Command show ip
ip a
Remote centos7 via Putty
User : root
Pass : Covid19
####################### Install basic tools #######################
yum -y install wget zip unzip net-tools yum-utils
####################### Iptables Firewall #######################
config Firewal and Port
systemctl stop firewalld
systemctl mask firewalld
yum install iptables-services -y
vi /etc/sysconfig/iptables
press i for edit
Add Allow Port
tcp :
tcp : 22 ssh, 80 http, 443 https, 3306 mysql
-A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --match multiport --dports 80,443,3306 -j ACCEPT
press esc exit edit
press wq! and press enter (write quite)
systemctl enable iptables
systemctl restart iptables
####################### MySql Percona #######################
Install Mysql percona57
yum install -y https://repo.percona.com/yum/percona-...
yum install -y Percona-Server-server-57
systemctl enable mysqld
systemctl restart mysqld
cat /var/log/mysqld.log |grep generated
Your mysql generate Password
mysql_secure_installation
press enter
New Password
Covid@2019
mysql -u root -p
GRANT ALL ON . TO 'root'@'192.168.%' IDENTIFIED BY "Covid@2019";
FLUSH PRIVILEGES;
exit
####################### Apache #######################
PHP72
yum install epel-release -y
yum install http://rpms.remirepo.net/enterprise/r... -y
yum-config-manager --enable remi-php72
yum -y install php mod_php php-cli php-mysqlnd php-devel php-gd php-mcrypt php-mbstring php-xml php-pear
systemctl enable httpd
systemctl restart httpd
Config read write apache web
chown -R apache.apache /var/www/html/*
chmod -R 755 /var/www/html/*
chcon -R -t httpd_sys_content_t /var/www/html/*
chcon -R -t httpd_sys_rw_content_t /var/www/html/*
####################### phpMyAdmin #######################
yum -y install phpmyadmin
vi /etc/httpd/conf.d/phpMyAdmin.conf
apache 2.4
Require ip 192.168.0.0/16
systemctl restart httpd
http://ip-address/phpmyadmin
user : root
pass : Covid@2019
####################### Test Upload web #######################
In this video use winscp
Protocal : SFTP
Host : your virtualbox ip
Port : 22
user : root
pass : Covid19
upload web file to path \var\www\html
test run : http://ip-address/webfile.html
########### Success ############
On this page of the site you can watch the video online Virtualbox Centos7 Apache MySql phpMyAdmin with a duration of hours minute second in good quality, which was uploaded by the user ดำรงศักดิ์ บุญพันธ์ 28 December 2020, share the link with friends and acquaintances, this video has already been watched 363 times on youtube and it was liked by 3 viewers. Enjoy your viewing!