Dzubayyan Ahmad
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # Cara Install cPanel di CentOS 7 ###### tags: `Tag(Tulisan Mas Dzub!)` Halo teman-teman semua, nah di artikel kali ini akan membahas mengenai Cara Install cPanel di CentOS 7, seperti yang kita semua ketahui bawah cpanel control panel untuk web hosting yang paling banyak di gunakan, paling mudah digunakan dan digunakan secara komersil. Selain itu cpanel juga mempunyai banyak fitur yang dapat digunakan dengan mudah dengan tampilan GUI nya untuk memanage semuanya. Cpanel ini akan terinstall bersamaan dengan WHM (Web Host Manager), yang mana ini akan mempermudahkan admin web untuk mengelola di antaranya : - WHM diperuntukkan akses root dan akses reseller, yang mana user dapat mengelola, melakukan pengaturan yang di butuhkan untuk administrasi server dan menejemen akun. - Cpanel diperuntukkan untuk tampilan user biasa untuk memanage akun web hosting di server. ## Fitur yang ada di cPanel/WHM Berikut adalah fitur yang ada di cPanel dan WHM - Tampilan GUI yang powerfull untuk mengontrol server dengan WHM - Support dengan Sertifikasi EV - Support API Authentication Tokens. - Auto SSL support dengan Proxy Subdomains. - Mengaktikan SSL status di cpanel. - Support melakukan backup, migrasi, restore dengan mudah. - Support menejemen DNS dan Email server sebagai akun user - Support manajemen servis di server (start, stop, enable, disable service) - Support mengkonfigurasi SSL/TLS untuk semua servis di serber dan semua user domain - Support integrasi database dengan phpmyadmin untuk web browser - Support rebranding - Support integrasi dengan WHMCS untuk billing manajemen - dan masih banyak lagi ## Syarat Install di cPanel di Server Sebelum menginstall perlu di sadari bahwa untuk menginstall cPanel di server paling tidak membutuhkan spesisikasi berikut ini : - Server yang masih baru dengan sistem operasi minimal CentOS 7 Server - RAM minimal 1GB, namun di atas 2GB lebih direkomendasikan - Disk minimal 20GB, namun diatas 40GB lebih direkomendasikan - Mempunyai license cPanel - Standar hostname (FQDN atau Fully Qualified Domain Name) - Perl & curl Dan berikut ini hal yang perlu di perhatikan sebelum memasukki instlasi. - Setelah menginstall cPanel/WHM di system, ini tidak bisa di uninstall di system, Untuk menghapusnya perlu melakukan reinstall system operasi untuk menghapus nya. - cPanel adalah software yang bersifat commercial dan membutuhkan sebuah license agar bekerja, dan disediakan 15 hari untuk percobaan (trial / percobaan akan langsung aktif setelah selesai menginstall cPanel) ## Install cPanel di CentOS 7 1. Pastikan server temen-temen semua sudah memiliki starndar hostname (FQDN or Fully Qualified Domain Name), jika tidak di atur bisa mengikuti cara seperti ini untuk mengaturnya. (Untuk contoh disini, saya setting hostnamenya adalah venus, dan masdzub.com adalah namadomain) ``` # hostnamectl set-hostname venus.masdzub.com ``` 2. cPanel di tulis menggunakan Perl, jadi pastikan di server sudah terinstall perl, dan jika belum terinstall bisa install sebagai berikut : ``` # yum install perl ``` 3. Ada script untuk memasang / menginstall cPanel secara otomatis, yang perlu dilakukan adalah mendownload script tersebut menggunakan curl, jika belum ada curl di server silahkan ikuti cara ini untuk menginstallnya ``` # yum install curl ``` 4. Pindah ke home directory dengan cara berikut ini ``` # cd ~ ``` 5. Download script dan menjalankan instalasi sampai selesai. Untuk menjalankannya di pastikan login menggunakan ssh. Dan koneksi internet untuk server dalam kondisi stabil. Dan untuk download dan menjalankannya dengan cara berikut ini : ``` # curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest ``` dan akan muncul berikut ini dan tunggu proses sampai selesai: ``` # curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 33151 100 33151 0 0 27418 0 0:00:01 0:00:01 --:--:-- 27442 Verifying archive integrity... All good. Uncompressing cPanel & WHM Installer...... ____ _ ___| _ \ __ _ _ __ ___| | / __| |_) / _` | '_ \ / _ \ | | (__| __/ (_| | | | | __/ | \___|_| \__,_|_| |_|\___|_| Installer Version v00097 rfc9e3cc20b51698d65f242183461de59649b63a8 Loaded plugins: fastestmirror Cleaning repos: base digitalocean-agent extras updates Cleaning up list of fastest mirrors Beginning main installation. 2020-04-02 16:17:58 929 [1638] ( INFO): cPanel & WHM installation started at: Thu Apr 2 16:17:58 2020! 2020-04-02 16:17:58 930 [1638] ( INFO): This installation will require 10-50 minutes, depending on your hardware and network. 2020-04-02 16:17:58 931 [1638] ( INFO): Now is the time to go get another cup of coffee/jolt. 2020-04-02 16:17:58 932 [1638] ( INFO): The install will log to the /var/log/cpanel-install.log file. 2020-04-02 16:17:58 933 [1638] ( INFO): 2020-04-02 16:17:58 934 [1638] ( INFO): Beginning Installation v3... 2020-04-02 16:17:58 579 [1638] (DEBUG): Detected distro “centos-release”, version “7.6”, arch “x86_64” 2020-04-02 16:17:58 603 [1638] ( INFO): CentOS 7.6 (Linux) detected! 2020-04-02 16:17:58 618 [1638] ( INFO): Checking RAM now... 2020-04-02 16:17:58 678 [1638] ( INFO): Validating that the system hostname ('venus.masdzub.com') is a FQDN... 2020-04-02 16:17:58 702 [1638] ( INFO): Checking for NetworkManager now... 2020-04-02 16:17:58 727 [1638] ( INFO): NetworkManager is not installed. 2020-04-02 16:17:58 822 [1638] ( INFO): Checking for any control panels... 2020-04-02 16:17:58 714 [1638] ( INFO): Checking for essential system files... 2020-04-02 16:17:58 186 [1638] ( INFO): Running health checks prior to start. 2020-04-02 16:17:58 1253 [1638] ( INFO): Validating whether the system can look up domains... 2020-04-02 16:17:58 1260 [1638] (DEBUG): Testing httpupdate.cpanel.net... 2020-04-02 16:17:58 1260 [1638] (DEBUG): Testing securedownloads.cpanel.net... 2020-04-02 16:17:59 803 [1638] ( INFO): cPanel Layer 1 Installer Starting... 2020-04-02 16:17:59 804 [1638] ( INFO): Warning !!! Warning !!! WARNING !!! Warning !!! Warning 2020-04-02 16:17:59 805 [1638] ( INFO): ------------------------------------------------------- 2020-04-02 16:17:59 806 [1638] ( INFO): cPanel requires a fresh, clean server! 2020-04-02 16:17:59 807 [1638] ( INFO): If you serve websites from this server, this installer 2020-04-02 16:17:59 808 [1638] ( INFO): will overwrite all of your configuration files. 2020-04-02 16:17:59 809 [1638] ( INFO): Hit Ctrl+C NOW! 2020-04-02 16:17:59 810 [1638] ( INFO): If this is a new server, please ignore this message. 2020-04-02 16:17:59 811 [1638] ( INFO): ------------------------------------------------------- 2020-04-02 16:17:59 812 [1638] ( INFO): Warning !!! Warning !!! WARNING !!! Warning !!! Warning 2020-04-02 16:17:59 813 [1638] ( INFO): Waiting 5 seconds... 2020-04-02 16:17:59 814 [1638] ( INFO): 2020-04-02 16:17:59 815 [1638] ( INFO): ``` Dalam proses ini yang diperlukan menunggu proses, dengan minum secangkir kopi duduk relax dan tenang. Anggap saja istirahat sembari menunggu instalasi cpanel selesai. Karena memakan waktu yang cukup lama kisaran waktu 10-20 menit tergantung koneksi internet dan spesifikasi pada server. 6. Setelah instalasi selesai, dicoba akses melalui web dan mencoba masuk ke WHM dengan menggunakan url berikut ini : ``` http://Server_IP:2087 ``` atau ``` http://hostname.domain:2087 ``` kurang lebih akan seperti berikut ini ![](https://i.imgur.com/0xWXfd4.png) Untuk login menggunakan user **"root"** dan memasukkan pasword. 7. Dan proses selanjutnya adalah membaca **End User License Agreement** dan menerimanya dengan mengeklik **Agree to All** untuk lanjut ![](https://i.imgur.com/TLJv55Z.png) 8. Dan di step berikut ini adalah di Setup Networking, di minta untuk memasukkan email agar ketika ada notifikasi masuk ke email kerja. Dan memasukkan NameServer yang ingin digunakan. Dan klik finish untuk menajutkannya ![](https://i.imgur.com/Qpy30ZW.png) 9. Dan berikut ini adalah tampilan ketika sudah selesi instalasi akan menjadi seperti in ![](https://i.imgur.com/xEgwiPF.png) 10. Untuk mengaktifkan filesystem quota, agar dapat diketahui disk space yang digunakan maka klik enable pada pojok kanan atas, dan akan masuk ke tampilan baru kemudian klik process. Dan menjalankan reboot juga. Agar update dan file quotas dapat digunakan. ![](https://i.imgur.com/KIpCley.png) 11. Setelah semua sudah selesai teman-teman bisa membuat akun baru untuk user, dan memanagenya. 12. Silahkan beli license cpanel. Dan jika sudah membeli license cpanel untuk IP server maka selanjutnya adalah restart license pada server dengan menjalankan command berikut ini di terminal ``` /usr/local/cpanel/cpkeyclt ``` ## Kesimpulan Cukup mudah sekali untuk melakukan instalasi cPanel di CentOS 7. Hanya dengan mendownload script, menjalankan dan menunggu sampai selesai. Selain itu untuk cPanel sendiri sangat mudah di operasikan dan fitur-fitur yang banyak dan sangat powerfull.

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully