[小技巧] Oracle甲骨文新机器获得后的一些必要处理

date
Jan 3, 2025
slug
tip-oracle-machine-setup
status
Published
summary
小技巧
tags
tip
type
Post
URL

Problem & Summary

    Solution

    # create instance的时候就要提供ssh key
    
    # 默认账号是ubuntu
    ssh ubuntu@<server_ip>
    sudo su
    passwd #lp00oc
    
    # change hostname & etc
    # allow ssh sudo access
    bash <(curl -fsSL https://raw.githubusercontent.com/P3TERX/SSH-Key-Installer/master/key.sh) -og lava-lake -d -p $PORT_NUM
    
    # remove firewall
    apt-get purge -y netfilter-persistent
    rm -rf /etc/iptables && reboot
    
    # add lookbusy

    Screenshots

     

    © Ying Bun 2021 - 2025