In Yum Extender, select httpd, community-mysql-server, php, php-pecl-apc php-cli php-pear php-pdo php-mysqlnd php-pecl-memcache php-pecl-memcached php-gd php-mbstring php-mcrypt php-xml, phpmyadmin
Run these commands after that:
service httpd start ## use restart after update
## Fedora ##
systemctl enable httpd.service
Then open port 80 to outside connections. Create a text file in /etc/sysconfig/iptables containing:
-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
service iptables restart
MySQL configuration:
systemctl start mysqld.service
systemctl enable mysqld.service
mysql -u root
set password for root@localhost=password('password');
set password for root@localhost=password('password');
#delete anonymous user
delete from mysql.user where user='';
Run these commands after that:
service httpd start ## use restart after update
## Fedora ##
systemctl enable httpd.service
Then open port 80 to outside connections. Create a text file in /etc/sysconfig/iptables containing:
-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
service iptables restart
MySQL configuration:
systemctl start mysqld.service
systemctl enable mysqld.service
mysql -u root
set password for root@localhost=password('password');
set password for root@localhost=password('password');
#delete anonymous user
delete from mysql.user where user='';
No comments:
Post a Comment