Muhammad Asthi Seta Ari Yuwana
    • 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 New
    • Engagement control
    • Make a copy
    • 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 Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy 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
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    ![logo-2](https://hackmd.io/_uploads/Byd-djlXyg.png) PANDUAN INSTALASI KEBUTUHAN DAY 2 DAN PENGATURAN AWAL GOLANG === >Wonderfull Adventure Of Website Season 5 [CODER Telkom University Surabaya] [color=#ff0000] ## Table of Contents [TOC] ## Apa Yang Perlu Disiapkan? 1. **Laptop atau PC** dengan sistem operasi: - Windows 10/11 (disarankan versi terbaru) - macOS (versi terbaru) - Linux (untuk guidebook ini menggunakan debian based distro) 2. **Editor Kode**: Kami merekomendasikan Visual Studio Code (VS Code). 3. **Browser Modern**: Chrome, Firefox, atau Edge. 5. ==**Koneksi internet yang stabil**== ## Instalasi Golang dan Postman Sebelum memulai, pastikan perangkat Anda sudah memenuhi semua kebutuhan di atas. Golang akan digunakan sebagai backend language, sementara Postman sebagai API documentation dan testing tool. Pada panduan ini, kita akan memandu Anda menginstal Golang dan Postman di tiga platform utama: Windows, macOS, dan Linux (Debian based). ### Windows 1. Buka situs resmi Golang di https://go.dev/. 2. Unduh installer Golang untuk Windows, pastikan Anda mengunduh versi terbaru (1.23.3). ![image](https://hackmd.io/_uploads/H112i6ZXyg.png) 3. Setelah unduhan selesai, buka installer tersebut dan ikuti instruksi instalasi. 4. Setelah proses instalasi selesai, buka terminal (Command Prompt atau PowerShell) dan ketik perintah berikut untuk memastikan Golang terinstal dengan benar: ```bash go version ``` Jika berhasil, akan muncul versi Golang yang telah Anda instal. 5. Selanjutnya, unduh **Postman** dari https://www.postman.com/downloads/. 6. Pilih installer Postman untuk Windows dan jalankan installer tersebut. 7. Ikuti petunjuk instalasi, lalu buka Postman setelah selesai. ### macOS 1. Buka situs resmi Golang di https://go.dev/. 2. Unduh installer Golang untuk macOS (versi terbaru).![image](https://hackmd.io/_uploads/Hyz6i6ZQ1l.png) 3. Setelah unduhan selesai, buka installer tersebut dan ikuti petunjuk untuk menginstal Golang di macOS. 4. Setelah instalasi selesai, buka terminal dan ketik: ```bash go version ``` Pastikan versi Golang yang terinstal tampil di terminal. 5. Untuk **Postman**, unduh versi macOS dari https://www.postman.com/downloads/. 6. Buka file yang diunduh dan seret aplikasi Postman ke folder **Applications**. 7. Jalankan Postman dari **Launchpad** atau **Applications**. ### Linux (Debian Based) 1. Buka terminal dan perbarui paket manajer dengan menjalankan perintah: ```bash sudo apt update sudo apt upgrade ``` 2. Instal dependencies yang diperlukan: ```bash sudo apt install -y build-essential ``` 3. Unduh paket Golang dari situs resminya (https://go.dev/), atau langsung gunakan perintah berikut untuk mengunduh Golang versi 1.23.3: ```bash wget https://golang.org/dl/go1.23.3.linux-amd64.tar.gz ``` 4. Ekstrak file yang diunduh: ```bash sudo tar -C /usr/local -xzf go1.23.3.linux-amd64.tar.gz ``` 5. Tambahkan Go ke path environment Anda dengan menambahkan baris berikut ke `.bashrc` atau `.zshrc`: ```bash export PATH=$PATH:/usr/local/go/bin ``` 6. Sumber ulang file `.bashrc` atau `.zshrc`: ```bash source ~/.bashrc ``` 7. Cek versi Golang: ```bash go version ``` 8. Instal Postman di Linux menggunakan Snap: ```bash sudo snap install postman ``` 9. Setelah instalasi selesai, buka Postman dari aplikasi atau dengan mengetik `postman` di terminal. --- ## Instalasi XAMPP & MySQL ### Windows #### Menggunakan Laragon (Rekomendasi) 1. Unduh Laragon dari situs resmi https://laragon.org/download/. 2. Pilih versi Laragon yang sesuai (Laragon Full disarankan untuk mendukung Apache dan MySQL). 3. Setelah diunduh, buka installer dan ikuti langkah-langkah instalasi. 4. Buka Laragon, kemudian aktifkan Apache dan MySQL dengan mengklik tombol "Start All". 5. Anda bisa mengakses server lokal Anda dengan membuka browser dan mengetik localhost. #### Menggunakan XAMPP 1. Buka situs resmi XAMPP di https://www.apachefriends.org/download.html. 2. Unduh versi XAMPP yang sesuai untuk Windows. 3. Jalankan installer dan ikuti instruksi untuk instalasi. 4. Setelah instalasi selesai, buka XAMPP Control Panel dan aktifkan Apache serta MySQL dengan menekan tombol "Start". 5. Anda dapat memverifikasi apakah server berjalan dengan benar dengan membuka browser dan mengetik localhost. ### MacOS #### Menggunakan Brew ```bash brew install apache2 mysql ``` #### Menggunakan MAMP 1. Unduh MAMP dari situs resmi https://www.mamp.info/en/downloads/. 2. Pilih versi MAMP yang sesuai dan unduh installer. 3. Setelah diunduh, buka file installer dan ikuti petunjuk untuk menginstal MAMP. 4. Setelah instalasi selesai, buka aplikasi MAMP. 5. Di dalam MAMP, Anda akan melihat dua tombol utama: Start Servers dan Stop Servers. Klik Start Servers untuk menjalankan Apache dan MySQL secara bersamaan. 6. MAMP juga secara otomatis mengatur port default untuk Apache dan MySQL. Anda bisa mengecek ini di Preferences > Ports. ### Linux (Debian Based) Install Package yang Diperlukan ```bash sudo apt install apache2 mysql-server ``` Aktifkan Kedua Package Tersebut. ```bash sudo systemctl start apache2 sudo systemctl start mysql ``` Untuk memastikan mereka berjalan otomatis saat boot. ```bash sudo systemctl enable apache2 sudo systemctl enable mysql ``` ## Penutup **Itu tadi teman - teman, hal - hal yang perlu dipersiapkan dari menyiapkan pc atau laptop sampai dengan instalasi GOLANG untuk mengikuti workshop WAOW day 2** :+1: Bila teman - teman memiliki kendala saat instalasi GOLANG atau kendala lain, bisa didiskusikan di grup peserta :i_love_you_hand_sign: Terimakasih, semangat menjalani workshop day 2 :smiley: ==**Love U All**== -anomali panitia WAOW Season 5

    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