Konuyu Oyla:
  • Derecelendirme: 0/5 - 0 oy
  • 1
  • 2
  • 3
  • 4
  • 5
21-10-2020, 11:23 PM (Son Düzenleme: 21-10-2020, 11:27 PM, Düzenleyen: Kawaii.)
İzmox Theme
Forum Üyesi
*
8
(Konular)
19
(Mesajlar)
Oct 2020
(Kayıt Tarihi)
4
(Rep Puanı)
#1
Merhaba Arkadaşlar Sizlere Web Server PHP 5.4 SSH2 Sorunsuz Kurulumu Anlatacağım
Eskiden Benimde başıma bela olan ssh2 nin kuralım
Bana Diyeceklerki Sadede Gel o zaman aşağıdaki komutları tek tek girim


1.Adım Web Server Kurulum (HTTPD)
yum install httpd -y
systemctl start httpd.service
systemctl enable httpd.service


[color=rgba(0, 0, 0, 0.87)]Adım 2 – MySQL (Mariadb) kurulumu[/color]
yum install mariadb-server mariadb -y
systemctl start mariadb
systemctl enable mariadb

mysql_secure_installation
<hide>


Kod:
Enter current password for root (enter for none):
OK, successfully used password, moving on...

Setting the root password ensures that nobody can log into the MariaDB
root user without the proper authorization.

New password: password
Re-enter new password: password
Password updated successfully!
Reloading privilege tables..
... Success!



</hide>

Adım 3 – PHP kurulumu
yum install php php-mysql -y
systemctl restart httpd.service
echo "<?php phpinfo(); ?>" > /var/www/html/info.php
http://sunucu_ip_adresiniz/info.php

[b]<hide>

<hide>  [Resim: php-info.png]   </hide>
[b]</hide>[/b]

[/b]

Adım 4 – PHPMYADMIN kurulumu
yum install epel-release
yum install phpmyadmin
service httpd restart

Eğer PhpMyAdmin Forbidden Hatası Alırsanız Bunu Deneyin
İlk önce PhpMyAdmin conf dosyasını açalım
<hide>

1

Kod:
nano /etc/httpd/conf.d/phpMyAdmin.conf

Aşağıdaki kodlar ile ilgili kısımları ister silip bunu yapıştır; isterseniz de değiştiriniz.
1

Kod:
<Directory /usr/share/phpMyAdmin/>
   AddDefaultCharset UTF-8
 
   <IfModule mod_authz_core.c>
     # Apache 2.4
     <RequireAny>
       #Require ip 127.0.0.1
       #Require ip ::1
       Require all granted
     </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>
</Directory>
 
<Directory /usr/share/phpMyAdmin/setup/>
   <IfModule mod_authz_core.c>
     # Apache 2.4
     <RequireAny>
       #Require ip 127.0.0.1
       #Require ip ::1
       Require all granted
     </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>
</Directory>
</Directory>
</hide>


Aşağıdaki kodlar ile ilgili kısımları ister silip bunu yapıştır; isterseniz de değiştiriniz.

Conf dosyasını kaydetikten sonra httpd resetleyelim
1

systemctl restart httpd



Adım 5 – SSH2 kurulumu
[b]<hide>
[/b]
yum update
yum install  make gcc  libssh2  php-devel php-pearlibssh2-devel
mkdir libssh2
cd libssh2
tar -zxpf libssh2-1.2.7.tar.gz
cd libssh2-1.2.7
./configure
make all install
service httpd restart
mkdir ssh2
cd ssh2
tar -xvf ssh2-0.11.2.tgz
cd ssh2-0.11.2
phpize
./configure --with-ssh2
make
make install
echo 'extension="ssh2.so"' >> /etc/php.ini
make test
yum -y install gcc php-devel php-pear make libssh2 libssh2-devel
pecl install -f ssh2
php -i | grep php.ini
echo extension=ssh2.so >> /usr/local/lib/php.ini
service httpd restart && service nginx restart
</hide>
Adım 6 – Yönlendirme Düzeltme
[b]<hide>[/b]
Son Aşama Yönlendirme ile ilgili sorunlar yaşamamak için şu adımı uygulayın
Aşağıdaki 1 tane kod Web Serverinizin Yapılandırma Dosyasını temsil eder
/etc/apache2/httpd.conf
/etc/apache2/apache2.conf
/etc/httpd/httpd.conf
/etc/httpd/conf/httpd.conf
nano /etc/httpd/httpd.conf
Tüm AllowOverride yazılı kodların sonunda None yazısı varsa All ile değiştirin
AllowOverride None > AllowOverride All
</hide>

service httpd restart && service nginx restart
BİTTİ Okuduğunuz İçin Teşekkürler Kalp İzmox Gururla Sunar
21-10-2020, 11:25 PM
İzmox Theme
Forum Üyesi
*
56
(Konular)
568
(Mesajlar)
Oct 2020
(Kayıt Tarihi)
59
(Rep Puanı)
#2
Teşekkürler yararlı bir paylaşım.
24-10-2020, 04:31 PM
İzmox Theme
Forum Üyesi
*
3
(Konular)
5
(Mesajlar)
Oct 2020
(Kayıt Tarihi)
0
(Rep Puanı)
#3
bu tür paylaşımlar bizim gibi modaratörlerin hoşuna gider böyle şeyleri yazdığın için teşekkürler
07-01-2021, 01:45 AM
İzmox Theme
Forum Üyesi
*
90
(Konular)
612
(Mesajlar)
Nov 2020
(Kayıt Tarihi)
12
(Rep Puanı)
#4
(21-10-2020, 11:23 PM)felixabi Adlı Kullanıcıdan Alıntı:
Merhaba Arkadaşlar Sizlere Web Server PHP 5.4 SSH2 Sorunsuz Kurulumu Anlatacağım
Eskiden Benimde başıma bela olan ssh2 nin kuralım
Bana Diyeceklerki Sadede Gel o zaman aşağıdaki komutları tek tek girim


1.Adım Web Server Kurulum (HTTPD)
yum install httpd -y
systemctl start httpd.service
systemctl enable httpd.service


[color=rgba(0, 0, 0, 0.87)]Adım 2 – MySQL (Mariadb) kurulumu[/color]
yum install mariadb-server mariadb -y
systemctl start mariadb
systemctl enable mariadb

mysql_secure_installation
<hide>


Kod:
Enter current password for root (enter for none):
OK, successfully used password, moving on...

Setting the root password ensures that nobody can log into the MariaDB
root user without the proper authorization.

New password: password
Re-enter new password: password
Password updated successfully!
Reloading privilege tables..
... Success!



</hide>

Adım 3 – PHP kurulumu
yum install php php-mysql -y
systemctl restart httpd.service
echo "<?php phpinfo(); ?>" > /var/www/html/info.php
http://sunucu_ip_adresiniz/info.php

[b]<hide>

<hide>  [Resim: php-info.png]   </hide>
[b]</hide>[/b]

[/b]

Adım 4 – PHPMYADMIN kurulumu
yum install epel-release
yum install phpmyadmin
service httpd restart

Eğer PhpMyAdmin Forbidden Hatası Alırsanız Bunu Deneyin
İlk önce PhpMyAdmin conf dosyasını açalım
<hide>

1

Kod:
nano /etc/httpd/conf.d/phpMyAdmin.conf

Aşağıdaki kodlar ile ilgili kısımları ister silip bunu yapıştır; isterseniz de değiştiriniz.
1

Kod:
<Directory /usr/share/phpMyAdmin/>
   AddDefaultCharset UTF-8
 
   <IfModule mod_authz_core.c>
     # Apache 2.4
     <RequireAny>
       #Require ip 127.0.0.1
       #Require ip ::1
       Require all granted
     </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>
</Directory>
 
<Directory /usr/share/phpMyAdmin/setup/>
   <IfModule mod_authz_core.c>
     # Apache 2.4
     <RequireAny>
       #Require ip 127.0.0.1
       #Require ip ::1
       Require all granted
     </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>
</Directory>
</Directory>
</hide>


Aşağıdaki kodlar ile ilgili kısımları ister silip bunu yapıştır; isterseniz de değiştiriniz.

Conf dosyasını kaydetikten sonra httpd resetleyelim
1

systemctl restart httpd



Adım 5 – SSH2 kurulumu
[b]<hide>
[/b]
yum update
yum install  make gcc  libssh2  php-devel php-pearlibssh2-devel
mkdir libssh2
cd libssh2
tar -zxpf libssh2-1.2.7.tar.gz
cd libssh2-1.2.7
./configure
make all install
service httpd restart
mkdir ssh2
cd ssh2
tar -xvf ssh2-0.11.2.tgz
cd ssh2-0.11.2
phpize
./configure --with-ssh2
make
make install
echo 'extension="ssh2.so"' >> /etc/php.ini
make test
yum -y install gcc php-devel php-pear make libssh2 libssh2-devel
pecl install -f ssh2
php -i | grep php.ini
echo extension=ssh2.so >> /usr/local/lib/php.ini
service httpd restart && service nginx restart
</hide>
Adım 6 – Yönlendirme Düzeltme
[b]<hide>[/b]
Son Aşama Yönlendirme ile ilgili sorunlar yaşamamak için şu adımı uygulayın
Aşağıdaki 1 tane kod Web Serverinizin Yapılandırma Dosyasını temsil eder
/etc/apache2/httpd.conf
/etc/apache2/apache2.conf
/etc/httpd/httpd.conf
/etc/httpd/conf/httpd.conf
nano /etc/httpd/httpd.conf
Tüm AllowOverride yazılı kodların sonunda None yazısı varsa All ile değiştirin
AllowOverride None > AllowOverride All
</hide>

service httpd restart && service nginx restart
BİTTİ Okuduğunuz İçin Teşekkürler Kalp İzmox Gururla Sunar

Teşekkürler Mutlu
19-01-2021, 11:49 PM
İzmox Theme
Forum Üyesi
*
34
(Konular)
414
(Mesajlar)
Oct 2020
(Kayıt Tarihi)
26
(Rep Puanı)
#5
geniş çaplı bir anlatım olmuş emeğinize sağlık Mutlu
xTS3Free.Com Sahibi
Ziyaret : https://xts3free.com
20-01-2021, 12:27 AM
İzmox Theme
Forum Üyesi
*
185
(Konular)
2,209
(Mesajlar)
Oct 2020
(Kayıt Tarihi)
122
(Rep Puanı)
#6
İçeriğiniz için teşekkürler.
Bir bugün iki yarına bedeldir… Benjamin Franklin
20-01-2021, 01:10 AM
İzmox Theme
Forum Üyesi
*
56
(Konular)
568
(Mesajlar)
Oct 2020
(Kayıt Tarihi)
59
(Rep Puanı)
#7
Teşekkürler.
20-01-2021, 05:50 AM
İzmox Theme
Forum Üyesi
*
0
(Konular)
5
(Mesajlar)
Jan 2021
(Kayıt Tarihi)
0
(Rep Puanı)
#8
saol reis



Görüntüleyenler: 6 Ziyaretçi
kadıköy escort ataşehir escort kadıköy escort bostancı escort ümraniye escort maltepe escort kadıköy escort ataşehir escort bostancı escort kartal escort maltepe escort pendik escort pendik escort ümraniye escort ataşehir escort köpek pergola wso shell php shell php shell php shell hacklink kadıköy escort kadıköy escort ataşehir escort kadıköy escort ataşehir escort