LAMP Yükleme
OpenSUSE Tumbleweed LAMP yükleme hakkında rehber
Bu rehber sırasında terminal kullanılacaktır.
Aşağıdaki Komutları yazalım...
sudo suApache2
Apache2 Yükleme
sudo zypper --gpg-auto-import-keys in -y apache2Apache2 Başlatma
sudo systemctl start apache2Güvenlik Duvarı?
Eğer firewalld aktif ise yapmanız gereken port firewall eklemek. Aşağıdaki komut ile kolayca ekliyebilirsin.
sudo firewall-cmd --zone=public --add-port=80/tcp --permanent && sudo firewall-cmd --reloadApache2 Test Etmek
/srv/www/htdocs/ klasörüne index.html dosyası oluşturalım.
touch /srv/www/htdocs/index.html && echo "<html><body><h1>Welcome to my web site!</h1></body></html>" | tee /srv/www/htdocs/index.htmlPHP8 Yükleme
sudo zypper --gpg-auto-import-keys in -y php8 php8-mysql apache2-mod_php8Apache2 Başlatma
sudo systemctl start apache2Ayarlamalar
a2enmod php8sudo echo "AddType application/x-httpd-php .php" >> /etc/apache2/mod_mime-defaults.confMariaDB & MySQL
Yükleme
sudo zypper --gpg-auto-import-keys in -y mariadb mariadb-toolsMariaDB Başlatma
sudo systemctl start mysqlAyarlamalar
sudo mysql_secure_installationaşağıdaki gibi soruları yanıtlayın.
Enter current password for root (enter for none): Just press the Enter
Set root password? [Y/n]: Y
New password: Parola girin
Re-enter new password: Parolayı Tekrar Girin
Remove anonymous users? [Y/n]: Y
Disallow root login remotely? [Y/n]: Y
Remove test database and access to it? [Y/n]: Y
Reload privilege tables now? [Y/n]: Y
MYSQL bağlanmak isterseniz.
parolanızı giriniz
sudo mysql -u root -pLast updated
Was this helpful?