Merhaba arkadaşlar ingilizce kaynaktan kısaltılmış bir şekilde sade komutlar ile lamp kurmayı not etmiştim kendim için kullanmak isteyen olursa diye paylaşayım. Putty üzerinden sunucuya bağlanıp bu adımları izleyerek panelsiz kurulum yapabilirsiniz.
1. Adım
yum -y install epel-release
yum -y install nano
2. Adım (MariaDB)
yum -y install mariadb-server mariadb
systemctl start mariadb.service
systemctl enable mariadb.service
mysql_secure_installation (ENTER - Y - Yeni Şifre Girin - Y - Y - Y - Y)
3. Adım (Apache)
yum -y install httpd
systemctl start httpd.service
systemctl enable httpd.service
yum install firewalld - Y
systemctl start firewalld
systemctl enable firewalld
systemctl status firewalld
firewall-cmd --permanent --zone=public --add-service=http
firewall-cmd --permanent --zone=public --add-service=https
firewall-cmd --reload
4. Adım (PHP)
rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm
yum -y install yum-utils
yum update - Y
yum-config-manager --enable remi-php72
yum -y install php php-opcache
systemctl restart httpd.service
-// PHP TESTING
nano /var/www/html/index.php
<?=phpinfo()?>
CTRL X - Y - ENTER
IP adresinize gidin ve php sürümünüzü kontrol edin.
5. Adım (MySql)
yum search php
yum -y install php-mysqlnd php-pdo
yum -y install php-gd php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-soap curl curl-devel
systemctl restart httpd.service
6. Adım (phpMyAdmin)
yum -y install phpMyAdmin
nano /etc/httpd/conf.d/phpMyAdmin.conf
-// REPLACE
Açılan dosyadaki alanları aşağıdaki bilgilere göre düzenleyin. Kaydetmek için CTRL X - Y - ENTER
Require all granted
Require ip 127.0.0.1
Order Allow,Deny
Allow from All
Allow from 127.0.0.1
systemctl restart httpd.service