跳到主要內容

[bitnami]設定固定ip

 

  • Log in to the server console.

  • Obtain the network interface name using the command below. Typically, the interface name is of the form enXXXX. Note the virtual machine’s IP address associated with the interface.

    sudo ifconfig
    
  • Create a configuration file for the network interface by copying an existing configuration file and placing it in the /etc/systemd/network directory. In this example, assume that the new configuration file is named 25-wired.network:

    cd /etc/systemd/network
    sudo cp 99-dhcp.network 25-wired.network
    
  • Edit the new configuration file and update it to look like the configuration below. Replace the INTERFACE-NAME, HOST-IP-ADDRESS and GATEWAY-IP-ADDRESS placeholders with the name of the network interface, the host IP address obtained previously, and the gateway IP address, as shown in the example.

      [Match]
      Name=INTERFACE-NAME
    
      [Network]
      Address=HOST-IP-ADDRESS
      Gateway=GATEWAY-IP-ADDRESS
    

    Here is an example screenshot:

    Address configuration

  • Save your changes and restart the virtual machine for the changes to take effect.

https://docs.bitnami.com/virtual-machine/faq/configuration/configure-static-address/

留言

這個網誌中的熱門文章

[經驗分享]開源IT資產管理系統 - Open-AudIT

企業營運必定與電腦系統脫離不了關係,每一部電腦散落在各部門、各辦公室,若是較具規模的公司,甚至會有跨好幾個地區的辦公室存在。 from Pocket http://ift.tt/2sI5nuB via IFTTT

记录一次HomeKit智能家居实践

前言 想象一下,吃过晚饭,坐在沙发上,“嘿Siri,电视时间”,客厅灯关了,电视和电视盒子开了。过了很久,你困了,起身,“嘿Siri,准备睡觉”,卧室床头灯开了,电视和电视盒子关了,最后,你躺在床上,“嘿Siri, from Pocket https://ift.tt/2yAhmuK via IFTTT

Jitsi Meet 視訊會議教學:免費無限人數時間、共享桌面、錄影

想要試試看「 Jitsi Meet 」,在電腦上,直接打開「 」即可。不需註冊帳號,也不需安裝軟體。 「 Jitsi Meet 」的 App 端也不需要註冊帳號,可以直接開啟或加入視訊會議。 那麼如何在「 Jitsi Meet 」上開起一個視訊會議呢? 在視訊 from Pocket https://ift.tt/2wdd3Z1 via IFTTT