نصب دایرکت ادمین (DirectAdmin)

پس از کنترل پنل سی پنل محبوب ترین کنترل کنترل پنل در لینوکس که بسیاری از علاقه مندان به سرور و هاستینگ
و دوست داران این سبک موضوعات دوست دارند تا یک سرور دایرکت ادمین اختصاصی بر روی سرور اختصاصی یا سرور مجازی داشته باشند.
آموزش نصب دایرکت ادمین Direct admin را برای شما د این قسمت اوردیم.
سیستم های مورد نیاز :

  1. سیستم عامل باید به درستی نصب گردیده باشد و پیش از این کنترل پنلی بر روی ان نصب نشده باشد.
  2. حداقل یک ای پی خارجی باید دردسترس باشد
  3. SSH باید نصب شده باشد و با یوزر روت به ان دسترسی داشته باشید

چک کردن لایسنس :
از فعال شدن لایسنس اطمینان حاصل نمایید و مطمئن شوید که لایسنس Verified شده باشد.
همچنین OS و IP سرور را چک نمایید تا ای پی درستی برای لایسنس تعیین شده باشد.
قبل از نصب دایرکت ادمین :
پیش از شروع نصب سرویس های زیر را بر روی سیستم عامل نام برده شده طبق کامند ها زیر نصب نمایید :
بر روی 6 و Centos 5 :

yum install wget gcc gcc-c++ flex bison make bind bind-libs bind-utils openssl openssl-devel perl quota libaio libcom_err-devel libcurl-devel gd zlib-devel zip unzip libcap-devel cronie bzip2 cyrus-sasl-devel perl-ExtUtils-Embed autoconf automake libtool which patch mailx db4-devel

بر روی Centos 7 :

yum install wget gcc gcc-c++ flex bison make bind bind-libs bind-utils openssl openssl-devel perl quota libaio libcom_err-devel libcurl-devel gd zlib-devel zip unzip libcap-devel cronie bzip2 cyrus-sasl-devel perl-ExtUtils-Embed autoconf automake libtool which patch mailx psmisc net-tools systemd-devel libdb-devel

بر روی Debian :

pkg_add -r gmake perl

شروع نصب دایرکت ادمین (DirectAdmin):
با یوزر روت و از طریق کنسول یا SSH وارد سرور شوید و فایل setup.sh را دانلود نمایید :

wget http://www.directadmin.com/setup.sh

permission های فایل setup.sh را تغییر دهید :

chmod 755 setup.sh

اسکریپت نصب را اجرا کنید :

./setup.sh

 

پارامتر های خواسته شده از قبیل لایسنس، hostname و client ID را وارد نمایید.

نکته :

  1. hostname را نباید تنها اسم دامنه وارد نماید و حتما باید پیش از ان یک ساب دامین یا پشوند قرار دهید:
  2. برای مثال هاست نیم میتواند Da.server.com در نظر گرفته شود.
  3. دامنه ای که در هاست نیم استفاده میکنید ترجیها سعی کند که .ir نباشد زیرا ممکن است در اینده به مشکل برخورد نمایید .
start installation routine:)
 ***************************************************** * * Have you run the pre-install commands? CTRL-C if not. * http://help.directadmin.com/item.php?id=354 * ***************************************************** Please enter your Client ID : xxxxx Please enter your License ID : xxxxx Please enter your hostname (server.domain.com) It must be a Fully Qualified Domain Name Do *not* use a domain you plan on using for the hostname: eg. don't use domain.com. Use server.domain.com instead. Do not enter http:// or www Enter your hostname (FQDN) : xxxxx.xxxxx.com Client ID: xxxxx License ID: xxxxx Hostname: xxxxx.xxxxx.com Is this correct? (y,n) : y The following ethernet devices/IPs were found. Please enter the name of the device you wish to use: eth0 xxx.xxx.xxx.xxx eth1

پس از نصب دایرکت ادمین :

در فولدر sbin/ifconfig/ میتوانید مشاهده نمایید که از کدام device ای پی شما در حال استفاده میباشد .

توجه داشته باشید به طور معمول بر روی سرور های مجازی devicename به طور خودکار eth0 نام دارد ، بدین ترتیب نیازی به انجام تغییر خاصی نیست

و میتوانید از این مرحله گذر نمایید .در غیر این صورت :

ethernet_dev=devicename را اضافه نمایید .برای مثال در بسیاری از vps ها devicename را میتوان با عدد مشخص نمود :

ethernet_dev=eth0:1

یا

ethernet_dev=eth1

در صورتی که از مجازی ساز OPENVZ استفاده نموده اید devicename را باید venet0:0 وارد نمایید .

در مرحله ی بعد پکیج مدنظر خود را از میان 4 پکیج پیشنهادی دایرکت ادمین انتخاب نمایید :

Enter the device name: xxx Is xxx.xxx.xxx.xxx the IP in your license? (y,n) : y DirectAdmin will now be installed on: Enterprise 5.7 Is this correct? (must match license) (y,n) : y  You now have 4 options for your apache/php setup.  1: customapache: end-of-life software. Includes Apache 1.3, php 4 and frontpage. 2: custombuild 1.1:end-of-life software. Apache 2.x, php 4, 5 or both in cli and/or suphp. Defaults to php 5.2 3: custombuild 1.2:Production version: Apache 2.x, php 5, 6, or both in cli and/or suphp. defaults to php 5.3 4: custombuild 2.0 BETA: Apache 2.4, mod_ruid2, php 5.5. Can be set to use php-FPM or fastcgi.  Post any issues with custombuild to the forum: http://www.directadmin.com/forum/forumdisplay.php?f=61  Enter your choice (1, 2, 3 or 4): 4 You have chosen custombuild 1.2.  2011-11-11 14:47:00 http://files.directadmin.com/services/custombuild/1.1/custombuild/build Resolving files.directadmin.com Connecting to files.directadmin.com|:80 connected. HTTP request sent, awaiting response 200 OK Length: 289046 (282K) [text/plain] Saving to: `/usr/local/directadmin/custombuild/build' 100%[===========================================================================>] 289,046 855K/s in 0.3s 2011-11-11 14:47:01 (855 KB/s)  `/usr/local/directadmin/custombuild/build' saved [289046/289046] Would you like the default settings of apache 2.2 and php 5 cli? (y/n): y * Using the default settings for custombuild. Would you like to search for the fastest download mirror? (y/n): y

توجه داشته باشید :

در صورتی که به سوال Would you like the default settings of apache 2.2 and php 5 cli پاسخ منفی “N” دهید ، میتوانید تنظیمات را به صورت دستی انجام و انتخاب نمایید :

Would you like the default settings of apache 2.2 and php 5 cli? (y/n):  N Would you like to have PHP5 or PHP6 as default? (5/6):  Would you like to have PHP5? (yes/no):  Would you like to have PHP5 as CLI or CGI? (cli/cgi):  Would you like to have ionCube? (yes/no):  Would you like to have Zend Optimizer? (yes/no):  Would you like to have an ability to update/instal MySQL using CustomBuild? (yes/no):  Which version of MySQL you would like to have? (5.0/5.1):  Which version of Apache you would like to have? (1.3/2.0/2.2):  Would you like to have an ability to update/instal Exim using CustomBuild? (yes/no):  Would you like to have an ability to install Dovecot? (yes/no):  Would you like to have an ability to install/update phpMyAdmin using CustomBuild? (yes/no):  Would you like to have an ability to install/update SquirrelMail webmail using CustomBuild? (yes/no):  Would you like to have an ability to install/update RoundCube webmail using CustomBuild? (yes/no):  Would you like to have an ability to install/update UebiMiau webmail using CustomBuild (not recommended)? (yes/no):  Would you like to have an ability to install/update Atmail Open webmail using CustomBuild? (yes/no):  Would you like to search for the fastest download mirror? (y/n):

برای دسترسی به دایرکت ادمین میتوانید از پرت 2222 استفاده نمایید :

http://server.ip.address:2222

توجه داشنه باشید که 2222 پرت پیش فرض دایرکت ادمین میباشد. در صورتی که نتوانستید به ان متصل شوید ممکن است فایروال از این اتصال جلوگیری کرده باشد که برای رفع این مشکل میتوانید ان را غیر فعال نمایید :

service iptables stop

از یوزرنیم و پسوردی که در فایل setup.txt در دایرکتوری اسکریپت ها ایجاد گشته است برای ورود استفاده نمایید.

cat /usr/local/directadmin/scripts/setup.txt

اپدیت دایرکت ادمین :

برای اپدیت دایرکت ادمین از کامند های زیر میتوانید بهره گیرید :

cd /usr/local/directadmin/custombuild
./build clean
./build update
./build update_versions

نصب RPM و رفع ارور ها :

برای نصب RPM باید از عدم نصب apache و sendmail در گذشته اطمینان حاصل نمایید در غیر این صورت ارور زیر مشاهده خواهد گردید :

rpm -ivh exim-3.36-2.i386.rpm   Preparing...                         ########################################### [100%]   file /somefile from install of exim-3.36-2 conflicts with file from package sendmail-8.1  ...

برای از بین رفتن ارور بالا ، در صورتی که sendmail نصب گردیده باشد انرا از طریق کامند زیر پاک نمایید :

rpm -e --nodeps sendmail

برای سرویس های دیگر نیز از قبیل apache, apache-devel, wu-ftp, php, MySQL نیز از کامند بالا میتوانید بهره گیرید.در نهایت نیز برای اطمینان از نصب صحیح سرویس ها از کامند های زیر استفاده نمایید :

rpm -q servicename
rpm -qa | grep substring

برای مثال در صورتی که به جای کامات substring یا servicename عبارت apache را قراردهید ،در صورت نصب اپاچی خروجی مانند زیر برای شما نمایش داده خواهد شد :

rpm -qa | grep apache apache-fp-1.3.27-2 apache-fp-devel-1.3.27-2 apache-fp-manual-1.3.27-2

در آموزش های فعدی چگونگی نصب دایرکت ادمین بر روی ای پی های نت نیز اموزش داده خواهد شد .

نصب دایرکت ادمین ,آموزش نصب دایرکت ادمین , نحوه نصب دایرکت ادمین , درباره نصب دایرکت ادمین , کانفیگ دایرکت ادمین , آموزش نصب directa admin , آموزش directa admin , نحوه نصب directa admin , نصب directa admin , درباره directa admin , کانفیگ directa admin ,

461 پاسخ

  1. receptfria läkemedel mot inkontinens [url=https://snabbapoteket.com/#]Snabb Apoteket[/url] kattungar skänkes

  2. öppna apotek idag [url=https://snabbapoteket.com/#]medicin på nätet[/url] blodtyp test apotek

  3. buy antibiotics from mexico [url=https://medimexicorx.com/#]buy cheap meds from a mexican pharmacy[/url] trusted mexican pharmacy

  4. mail order pharmacy india [url=http://indiamedshub.com/#]top online pharmacy india[/url] india pharmacy mail order

  5. Online medicine home delivery [url=http://indiamedshub.com/#]IndiaMedsHub[/url] indian pharmacy

  6. amoxicillin mexico online pharmacy [url=https://medimexicorx.com/#]buy antibiotics from mexico[/url] zithromax mexican pharmacy

  7. ExpressCareRx [url=http://expresscarerx.org/#]ExpressCareRx[/url] isotretinoin online pharmacy

  8. buy cheap meds from a mexican pharmacy [url=https://medimexicorx.com/#]modafinil mexico online[/url] mexican pharmacy for americans

  9. Tadalafil From India [url=http://tadalafilfromindia.com/#]tadalafil online no rx[/url] 5mg tadalafil generic

  10. Lexapro for depression online [url=https://lexapro.pro/#]Lexapro for depression online[/url] buy lexapro australia

  11. lexapro 10mg [url=https://lexapro.pro/#]buy lexapro without prescription[/url] Lexapro for depression online

  12. tadalafil online no rx [url=https://tadalafilfromindia.shop/#]Cialis without prescription[/url] generic Cialis from India

  13. purchase generic Zoloft online discreetly [url=https://zoloft.company/#]Zoloft for sale[/url] purchase generic Zoloft online discreetly

  14. Cialis without prescription [url=http://tadalafilfromindia.com/#]Tadalafil From India[/url] buy tadalafil online usa

  15. Finasteride From Canada [url=https://finasteridefromcanada.shop/#]Propecia for hair loss online[/url] Finasteride From Canada

  16. generic isotretinoin [url=https://isotretinoinfromcanada.com/#]Isotretinoin From Canada[/url] Accutane for sale

  17. lexapro online prescription [url=https://lexapro.pro/#]lexapro generic over the counter[/url] Lexapro for depression online

  18. Propecia for hair loss online [url=http://finasteridefromcanada.com/#]buy propecia without prescription[/url] generic Finasteride without prescription

  19. buy cheap propecia without rx [url=https://finasteridefromcanada.shop/#]Finasteride From Canada[/url] cheap Propecia Canada

  20. cost of generic propecia without dr prescription [url=http://finasteridefromcanada.com/#]get generic propecia pills[/url] generic Finasteride without prescription

  21. Zoloft online pharmacy USA [url=https://zoloft.company/#]cheap Zoloft[/url] buy Zoloft online without prescription USA

  22. purchase generic Accutane online discreetly [url=https://isotretinoinfromcanada.com/#]cheap Accutane[/url] purchase generic Accutane online discreetly

  23. Zoloft Company [url=https://zoloft.company/#]buy Zoloft online without prescription USA[/url] cheap Zoloft

  24. Clomid Hub Pharmacy [url=https://clomidhubpharmacy.com/#]Clomid Hub Pharmacy[/url] buying generic clomid

  25. apo prednisone [url=https://reliefmedsusa.shop/#]order corticosteroids without prescription[/url] prednisone 10mg tabs

  26. nootropic Modafinil shipped to USA [url=http://wakemedsrx.com/#]buy Modafinil online USA[/url] prescription-free Modafinil alternatives

  27. smart drugs online US pharmacy [url=https://wakemedsrx.shop/#]wakefulness medication online no Rx[/url] WakeMedsRX

  28. NeuroRelief Rx [url=https://neuroreliefrx.shop/#]NeuroRelief Rx[/url] gabapentin muscle building

  29. where to buy prednisone 20mg [url=https://reliefmedsusa.shop/#]Relief Meds USA[/url] Relief Meds USA

  30. ip 102 yellow capsule gabapentin [url=https://neuroreliefrx.com/#]NeuroRelief Rx[/url] gabapentin prices

  31. Clear Meds Direct [url=https://clearmedsdirect.shop/#]buy amoxicillin 250mg[/url] low-cost antibiotics delivered in USA

  32. gabapentin generic names [url=http://neuroreliefrx.com/#]does gabapentin cause ankle swelling[/url] NeuroRelief Rx

  33. Clomid Hub [url=https://clomidhubpharmacy.com/#]can i buy generic clomid no prescription[/url] Clomid Hub

  34. safe Provigil online delivery service [url=http://wakemedsrx.com/#]WakeMeds RX[/url] buy Modafinil online USA

  35. Clomid Hub [url=https://clomidhubpharmacy.shop/#]can i order generic clomid tablets[/url] Clomid Hub

  36. pharmacy in canada [url=https://canadrxnexus.com/#]canadian family pharmacy[/url] cheap canadian pharmacy

  37. online mexico pharmacy USA [url=https://mexicarerxhub.shop/#]MexiCare Rx Hub[/url] viagra pills from mexico

  38. IndiGenix Pharmacy [url=https://indigenixpharm.shop/#]Online medicine home delivery[/url] IndiGenix Pharmacy

  39. legit canadian pharmacy [url=https://canadrxnexus.com/#]my canadian pharmacy[/url] best canadian online pharmacy

  40. canadian king pharmacy [url=https://canadrxnexus.com/#]canadian online drugs[/url] CanadRx Nexus

  41. india pharmacy mail order [url=https://indigenixpharm.shop/#]IndiGenix Pharmacy[/url] IndiGenix Pharmacy

  42. canadian pharmacy reviews [url=https://canadrxnexus.com/#]canadian pharmacy 24h com[/url] canadian pharmacy near me

  43. canadian pharmacy 1 internet online drugstore [url=http://canadrxnexus.com/#]CanadRx Nexus[/url] canadian pharmacy ed medications

  44. MexiCare Rx Hub [url=http://mexicarerxhub.com/#]mexican pharmacy for americans[/url] MexiCare Rx Hub

  45. IndiGenix Pharmacy [url=http://indigenixpharm.com/#]IndiGenix Pharmacy[/url] п»їlegitimate online pharmacies india

  46. CanadRx Nexus [url=http://canadrxnexus.com/#]legit canadian online pharmacy[/url] CanadRx Nexus

  47. MexiCare Rx Hub [url=https://mexicarerxhub.shop/#]accutane mexico buy online[/url] MexiCare Rx Hub

  48. FluidCare Pharmacy [url=https://fluidcarepharmacy.shop/#]FluidCare Pharmacy[/url] lasix tablet

  49. safe online source for Tizanidine [url=http://relaxmedsusa.com/#]Tizanidine 2mg 4mg tablets for sale[/url] prescription-free muscle relaxants

  50. ivermectin ebv [url=http://ivercarepharmacy.com/#]what to expect after taking ivermectin for scabies[/url] IverCare Pharmacy

  51. ivermectin 8 mg [url=http://ivercarepharmacy.com/#]IverCare Pharmacy[/url] ivermectin injectable dosage for goats

  52. ventolin over the counter australia [url=https://asthmafreepharmacy.shop/#]ventolin 500 mg[/url] AsthmaFree Pharmacy

  53. affordable Zanaflex online pharmacy [url=http://relaxmedsusa.com/#]safe online source for Tizanidine[/url] affordable Zanaflex online pharmacy

  54. IverCare Pharmacy [url=https://ivercarepharmacy.shop/#]over the counter ivermectin for humans[/url] ivermectin horse wormer tractor supply

  55. AsthmaFree Pharmacy [url=http://asthmafreepharmacy.com/#]AsthmaFree Pharmacy[/url] cheap ventolin online

  56. buy Zanaflex online USA [url=http://relaxmedsusa.com/#]cheap muscle relaxer online USA[/url] cheap muscle relaxer online USA

  57. where to buy ventolin [url=http://asthmafreepharmacy.com/#]ventolin otc nz[/url] ventolin from mexico to usa

  58. ivermectin USA [url=https://ivercarepharmacy.shop/#]IverCare Pharmacy[/url] IverCare Pharmacy

  59. AsthmaFree Pharmacy [url=http://asthmafreepharmacy.com/#]AsthmaFree Pharmacy[/url] can you buy ventolin over the counter

  60. Casino online GK88 [url=https://gkwinviet.company/#]Ca cu?c tr?c tuy?n GK88[/url] Khuy?n mai GK88

  61. Link alternatif Abutogel [url=https://abutowin.icu/#]Situs togel online terpercaya[/url] Situs togel online terpercaya

  62. Online gambling platform Jollibet [url=https://1winphili.company/#]Online gambling platform Jollibet[/url] Online betting Philippines

  63. Live casino Mandiribet [url=https://mandiwinindo.site/#]Mandiribet[/url] Link alternatif Mandiribet

  64. Mexican Pharmacy Hub [url=https://mexicanpharmacyhub.shop/#]Mexican Pharmacy Hub[/url] Mexican Pharmacy Hub

  65. Mexican Pharmacy Hub [url=http://mexicanpharmacyhub.com/#]buy cialis from mexico[/url] Mexican Pharmacy Hub

  66. best india pharmacy [url=http://indianmedsone.com/#]Indian Meds One[/url] online pharmacy india

  67. online pharmacy tadalafil 20mg [url=http://medidirectusa.com/#]zyprexa prices pharmacy[/url] permethrin cream online pharmacy

  68. top online pharmacy india [url=https://indianmedsone.com/#]Indian Meds One[/url] best online pharmacy india

  69. trusted online pharmacy cialis [url=https://medidirectusa.com/#]Kamagra Gold[/url] cleocin online pharmacy

  70. Mexican Pharmacy Hub [url=https://mexicanpharmacyhub.com/#]cheap mexican pharmacy[/url] buy meds from mexican pharmacy

  71. buy viagra online new zealand [url=https://sildenapeak.com/#]canadian medicine viagra[/url] SildenaPeak

  72. viagra prescription nz [url=https://sildenapeak.shop/#]viagra for sale online usa[/url] generic viagra no prescription

  73. Affordable sildenafil citrate tablets for men [url=http://kamameds.com/#]Online sources for Kamagra in the United States[/url] Men’s sexual health solutions online

  74. Compare Kamagra with branded alternatives [url=http://kamameds.com/#]Non-prescription ED tablets discreetly shipped[/url] Safe access to generic ED medication

  75. KamaMeds [url=https://kamameds.shop/#]Kamagra oral jelly USA availability[/url] Fast-acting ED solution with discreet packaging

  76. Non-prescription ED tablets discreetly shipped [url=https://kamameds.com/#]Online sources for Kamagra in the United States[/url] Kamagra oral jelly USA availability

  77. Fast-acting ED solution with discreet packaging [url=http://kamameds.com/#]Non-prescription ED tablets discreetly shipped[/url] Affordable sildenafil citrate tablets for men

  78. TrustedMeds Direct [url=http://trustedmedsdirect.com/#]amoxicillin 800 mg price[/url] buy amoxil

  79. lasix medication [url=https://cardiomedsexpress.com/#]CardioMeds Express[/url] CardioMeds Express

  80. FertiCare Online [url=https://ferticareonline.shop/#]how to buy clomid online[/url] FertiCare Online

  81. esiste il viagra generico in farmacia [url=http://potenzafacile.com/#]PotenzaFacile[/url] viagra originale in 24 ore contrassegno

  82. migliori farmacie online 2024 [url=http://forzaintima.com/#]kamagra online Italia[/url] farmacie online sicure

  83. farmacie online autorizzate elenco [url=https://pillolesubito.com/#]PilloleSubito[/url] acquisto farmaci con ricetta

  84. siti sicuri per comprare viagra online [url=https://potenzafacile.shop/#]viagra online Italia[/url] miglior sito dove acquistare viagra

  85. migliori farmacie online 2024 [url=https://forzaintima.com/#]kamagra online Italia[/url] Farmacia online miglior prezzo

  86. online pharmacy india [url=https://bharatmedsdirect.com/#]BharatMeds Direct[/url] top online pharmacy india

  87. MapleMeds Direct [url=http://maplemedsdirect.com/#]pharmacy one rx[/url] medicine online order

  88. BorderMeds Express [url=https://bordermedsexpress.shop/#]BorderMeds Express[/url] viagra pills from mexico

  89. buy viagra from mexican pharmacy [url=https://bordermedsexpress.shop/#]BorderMeds Express[/url] BorderMeds Express

  90. BharatMeds Direct [url=http://bharatmedsdirect.com/#]BharatMeds Direct[/url] BharatMeds Direct

  91. BharatMeds Direct [url=https://bharatmedsdirect.com/#]BharatMeds Direct[/url] BharatMeds Direct

  92. BorderMeds Express [url=http://bordermedsexpress.com/#]buy kamagra oral jelly mexico[/url] cheap mexican pharmacy

  93. promosi dan bonus harian preman69 [url=https://1win69.shop/#]preman69 login[/url] preman69 login tanpa ribet

  94. bonaslot situs bonus terbesar Indonesia [url=https://1wbona.com/#]bonaslot jackpot harian jutaan rupiah[/url] bonaslot

دیدگاهتان را بنویسید

نشانی ایمیل شما منتشر نخواهد شد. بخش‌های موردنیاز علامت‌گذاری شده‌اند *