المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : شرح طريقة حذف موقع بالكامل من خلال تنفيذ امر واحد من الشل



salima
11-02-2013, بتوقيت غرينيتش 01:53 AM
السلاام عليكم ورحمه الله وبركاته

كيفكم اخوانى يارب تكونو بخير وسعاده دائما


اليوم شرح طريقة تنفيذ الامر terminate او حذف حساب بالكامل من على السيرفر SERVER ومن خلال الشل

نقوم بوضع الامر التالى

رمز PHP:

<code style="white-space:nowrap"> <code> /scripts/killacct user
</code> </code>


حيث ان user هو مستخدم الموقع الذي تريد حذفه من الخادم server

مثال


رمز PHP:

<code style="white-space:nowrap"> <code> root@host &#91;~&#93;# /scripts/killacct user
Removing: User: example
Are you sure you want to do this &#91;y/N&#93;?
y
Running pre removal script (/scripts/prekillacct)......Done
Collecting Domain Name and IP......Done
Killing all processes owned by user......Done
Cleaning passwd,shadow,group......Done
Removing User from Group..........Done
Removing Web Logs......Done
Removing Crontab......Done
Removing Virtual Hosts......Done
Removing System User......Done
Removing Group...groupdel: group example does not exist
...Done
Removing DNS Entries......Done
Removing Email Setup......Done
Removing mailman lists......Done
Removing MySQL databases and users......Done
Removing remotedomains,secondarymx,localdomains entries......Done
Removing Counter Data......Done
Adding ip back to ipaddrpool......Done
Removing user's cPanel Databases & Updating......Done
Reloading Services...proftpd: no process killed
...Done
Removing mail and service configs......Done
Sending Contacts...Notification => [email protected] (http://www.cloudflare.com/email-protection) via EMAIL &#91;level => 3&#93;
...Done
Updating internal databases......Done
Running post removal scripts (/scripts/legacypostkillacct, /scripts/postkillacct)......Done
Account Removal Complete!!!......Done
example account removed
User: example
Domain: example.com
Removed Extra Entries from httpd.conf
example.com not found in httpd.conf.
example.com -> deleted from host.
Bind reconfiguring on host using rndc
Removing /etc/valiases/example.com
System has 1 free ip.




Updating ftp passwords for all users
Ftp password files updated.
Ftp vhost passwords synced
example account removed
</code> </code>


رمز PHP:

<code style="white-space:nowrap"> <code> Are you sure you want to do this &#91;y/N&#93;?
</code> </code>


حيث هذه الرسالة تقوم بالتأكيد علي حذف الحساب فإذا متأكد من حذف الحساب قم بالضغط على زر
Y
ثم اكتب enter





https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-ash4/482113_236967293114455_1193518507_n.png (http://www.dzbatna.com)
©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى (http://www.dzbatna.com)©

استعمل مربع البحث في الاسفل لمزيد من المواضيع


سريع للبحث عن مواضيع في المنتدى