Return |
27 Eylül 2015 11:37 |
SSH'dan Suspend Atmak ve Suspendi Kaldırmak
Merhaba,
Ani durumlarda yada whm giriş yapmadan SSH ( telnet ) üzerinden suspend atabilir yada açabilirsiniz.
SUSPEND ATMAK İÇİN GEREKLİ KODLAR..
PHP- Kodu:
echo "|---------------------------------------------|" echo "| Oto Suspend Sistemine Hos Geldiniz |" echo "| wWw.ilkeHosting.Com & wWw.Bensumshell.Net |" echo "|------------------------------------------- |" echo "" echo "Gerekli Bilgiler :" echo $n "[Serverinizin Adi] -> $c" read cc if [ ! -z $cc ]; then server="$cc" fi echo "|-------------------------------------------|" echo "|---- Suspend Edilecek Hosting Bilgileri |" echo "|---- Server Adı : $server" echo "|-------------------------------------------|" echo "| Onayliyorsaniz Enter'e Basiniz |" echo "| Onaylamiyorsaniz Ctrl+C Yapip Kapatin |" echo $n "[Onaylıyormusunuz ?] -> $c" read cc echo "|-------------------------------------------|" /scripts/suspendacct $server clear clear echo "|-------------------------------------------|" echo "| Suspend islemi Tamamlanmistir |" echo "|-------------------------------------------|" echo "| BensumShell.Net Oto Suspend Sistemi |" echo "| Kalite Guvende 1 Numara |" echo "| wWw.BensumShell.Net |" echo "|-------------------------------------------|"
SUSPEND AÇMAK İÇİN GEREKLİ KODLAR
PHP- Kodu:
echo "|---------------------------------------------|" echo "| Oto Suspend Sistemine Hos Geldiniz |" echo "| wWw.ilkeHosting.Com & wWw.Bensumshell.Net |" echo "|----------------------------------------------|" echo "" echo "Gerekli Bilgiler :" echo $n "[Serverinizin Adi] -> $c" read cc if [ ! -z $cc ]; then server="$cc" fi echo "|-------------------------------------------|" echo "|---- Suspend Edilecek Hosting Bilgileri |" echo "|---- Server Adı : $server" echo "|-------------------------------------------|" echo "| Onayliyorsaniz Enter'e Basiniz |" echo "| Onaylamiyorsaniz Ctrl+C Yapip Kapatin |" echo $n "[Onaylıyormusunuz ?] -> $c" read cc echo "|-------------------------------------------|" /scripts/unsuspendacct $server clear clear echo "|-------------------------------------------|" echo "| Suspend Açma islemi Tamamlanmistir |" echo "|-------------------------------------------|" echo "| BensumShell.Net Oto Suspend Sistemi |" echo "| Kalite Guvende 1 Numara |" echo "| wWw.BensumShell.Net |" echo "|-------------------------------------------|"
Kodları dilediğiniz gibi atabilirsiniz ben sadece bir örnek vereyim.
pico /usr/bin/suspend
girdiğinizde suspend kodlarını içine yapıştırın sadece suspend atmanız için gerekli olan kodları sonrasında, ctrl x y tuslarına basarak kaydedin çıkın ve,
chmod +x /usr/bin/suspend yaptığınızda artık SSH ( Telnetten ) suspend atabiliceksiniz.
Alıntı.
|