Post by MonsterControl on Aug 1, 2013 15:48:29 GMT -4
su -
ENTER
Enter your root Password
root@yourpc #
yum install mousepad
yum install mysql mysql-server
systemctl enable mysqld.service
systemctl start mysqld.service
mysql_secure_installation
Hit ENTER
Y for yes enter your new password for your root mysql password
Y Y Y Y
yum install httpd
systemctl enable httpd.service
systemctl start httpd.service
Apache's default document root is /var/www/html on Fedora
configuration file is /etc/httpd/conf/httpd.conf
Additional configurations /etc/httpd/conf.d/
yum install php
systemctl restart httpd.service
open mousepad as root user or u wont be able to save into the www
mousepad
put this in mousepad
<?php
phpinfo();
?>
save as
/var/www/html/info.php
close mousepad
open browser goto
http://localhost/info.php
you should see your php info now and server up and running
to find php addons use
yum search php
default stuff to add most usefull
yum install php-mysqlnd php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc php-magickwand php-mbstring php-mcrypt php-mssql php-shout php-snmp php-soap php-tidy
yum install php-opcache
systemctl restart httpd.service
yum install phpmyadmin
mousepad as root again open
/etc/httpd/conf.d/phpMyAdmin.conf
change to look like this
<Directory /usr/share/phpMyAdmin/>
# <IfModule mod_authz_core.c>
# # Apache 2.4
# <RequireAny>
# Require ip 127.0.0.1
# Require ip ::1
# </RequireAny>
# </IfModule>
# <IfModule !mod_authz_core.c>
# # Apache 2.2
# Order Deny,Allow
# Deny from All
# Allow from 127.0.0.1
# Allow from ::1
# </IfModule>
Require all granted
</Directory>
systemctl restart httpd.service
http://localhost/phpmyadmin/
username = root
password = yourpassword
yum install system-config-firewall
firewall-config
yum install filezilla
ENTER
Enter your root Password
root@yourpc #
yum install mousepad
yum install mysql mysql-server
systemctl enable mysqld.service
systemctl start mysqld.service
mysql_secure_installation
Hit ENTER
Y for yes enter your new password for your root mysql password
Y Y Y Y
yum install httpd
systemctl enable httpd.service
systemctl start httpd.service
Apache's default document root is /var/www/html on Fedora
configuration file is /etc/httpd/conf/httpd.conf
Additional configurations /etc/httpd/conf.d/
yum install php
systemctl restart httpd.service
open mousepad as root user or u wont be able to save into the www
mousepad
put this in mousepad
<?php
phpinfo();
?>
save as
/var/www/html/info.php
close mousepad
open browser goto
http://localhost/info.php
you should see your php info now and server up and running
to find php addons use
yum search php
default stuff to add most usefull
yum install php-mysqlnd php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc php-magickwand php-mbstring php-mcrypt php-mssql php-shout php-snmp php-soap php-tidy
yum install php-opcache
systemctl restart httpd.service
yum install phpmyadmin
mousepad as root again open
/etc/httpd/conf.d/phpMyAdmin.conf
change to look like this
<Directory /usr/share/phpMyAdmin/>
# <IfModule mod_authz_core.c>
# # Apache 2.4
# <RequireAny>
# Require ip 127.0.0.1
# Require ip ::1
# </RequireAny>
# </IfModule>
# <IfModule !mod_authz_core.c>
# # Apache 2.2
# Order Deny,Allow
# Deny from All
# Allow from 127.0.0.1
# Allow from ::1
# </IfModule>
Require all granted
</Directory>
systemctl restart httpd.service
http://localhost/phpmyadmin/
username = root
password = yourpassword
yum install system-config-firewall
firewall-config
yum install filezilla