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

مشاهدة النسخة كاملة : شرح عمل default page عند عمل User جديد فى السي بانل Whm / Cpanel



Rise Company
23-05-2020, 21:08
شرح عمل default page عند عمل User جديد فى السي بانل Whm / Cpanel
دليل الهيكل العظمي skeleton directory ؟ لعمل صفحة Soon لكل حساب جديد يتم انشائه
عمل صفحة Coming soon / Landing Page / Under construction لكل user جديد يتم انشائه
cPanel creation not copying index.html from /root/cpanel3-skel
Automatic index page when account is created? auto create client soon page
how to create cpanel3-skel - Skeleton Directory in WHM - replace default index
Using Skeleton Directories in cPanel - Change Default index page in cPanel
whm Default page for all new users - whm automatic landpage for new user
Default Web Page when creating new accounts? Cpanel auto create coming soon page

https://www.rise.company/upload/uploads/159026113948771.png

هل تريد عمل صفحة Coming soon لكل user جديد يتم انشائه من WHM ؟
هل تريد عمل صفحة Landing Page لكل user جديد يتم انشائه من WHM ؟
هل تريد عمل صفحة Under construction لكل user جديد يتم انشائه من WHM ؟
هل تريد عمل صفحة مخصصة Branding لكل Client جديد يتم انشائه من WHM ؟

Manage Skeleton Directory in WHM

Skelton directory in WHM allows you to copy the same files to every newly created cPanel accounts
public-html and public_ftp folders, This directory is what is going to be used as a skeleton for newly created cPanel accounts.

For example, if you place an index.html file in /root/cpanel3-skel/public_html, and then creating a new cPanel account,
that cPanel account will have a replica of your index.html in their public_html directory.



/root/cpanel3-skel

This directory is what will be used as a skeleton for new accounts. For example if you place an index.html file in /root/cpanel3-skel/public_html, and then setup a new account, that account will have a copy of your index.html in their public_html directory.



اذا كان لديك تمبلت coming soon ولها ملفات css و js وتريد وضعها اوتوماتيك لكل user جديد

الحل هنا هو skeleton directory وكل ما عليك هو رفع جميع الملفات التى تريدها هنا


/root/cpanel3-skel/public_html

شاهد :
كيفية رفع / تحميل الملفات من ssh بواسطة SFTP تصفح و تحميل how to download from ssh (https://www.rise.company/forum/threads/57343-%D9%83%D9%8A%D9%81%D9%8A%D8%A9-%D8%B1%D9%81%D8%B9-%D8%AA%D8%AD%D9%85%D9%8A%D9%84-%D8%A7%D9%84%D9%85%D9%84%D9%81%D8%A7%D8%AA-%D9%85%D9%86-ssh-%D8%A8%D9%88%D8%A7%D8%B3%D8%B7%D8%A9-SFTP-%D8%AA%D8%B5%D9%81%D8%AD-%D9%88-%D8%AA%D8%AD%D9%85%D9%8A%D9%84-how-to-download-from-ssh)


وعند انشاء user جديد هيتم اخذ نسخة من هذا المسار ووضعها فى مسار user الجديد عن انشائه

ويتم الرفع باستخدام برنامج SFTP الذى هيظهر ملفات السيرفر من ضمنها هتجد فولدر باسم root

https://www.rise.company/upload/uploads/159026113962432.png

ثم ارفع جميع الملفات التى تريدها مهما كانت وهتجدها استنسخت عند كل عميل جديد

https://www.rise.company/upload/uploads/159026113966083.png

تجد هنا النتيجة هو عند انشاء عميل جديد تجد فى الحال وبسرعة عالية جدا تم الاستنساخ

https://www.rise.company/upload/uploads/159026178720031.png

المرجع:
https://docs.cpanel.net/whm/account-functions/skeleton-directory/
https://www.thecpaneladmin.com/using-skeleton-directories-in-cpanel/

Rise Company
23-05-2020, 21:45
---------------------------------------------------------------
What is the /etc/skel directory?
---------------------------------------------------------------

https://www.rise.company/forum/images/primus/bw/misc/logo.png


The directory /etc/skel directory contains some files and directories that will be copied in the newly created user account. The skeleton directory has automatically copied the files and folders when the new user is created with useradd or other commands. After installing the operating system, some configuration files are placed in the /etc/skel directory and they are:
/etc/skel/.bash_logout
/etc/skel/.bashrc
/etc/skel/.profile
/etc/skel/.vimrc

To change the location of the skeleton directory, edit line beginning with SKEL=, in the /etc/default/useradd file.
# SKEL=/etc/skel

If you need any further help, please do reach our support department.