當我們使用SSH連線時,該如何限制IP,設定允許連線的IP白名單呢,以Centos7為例。
限制IP
vi /etc/hosts.allow
sshd:99.68.1.3:allow
除了上面允許的其他都禁止
vi /etc/hosts.deny
sshd:ALL
重新啟動
/bin/systemctl restart sshd.service
使用Composer update時出現Out of memory記憶體不足時解決方式
要使用Facebook帳號登入,必須先建立Facebook 應用程式。
Slow HTTP Denial of Service Attack 是以非常緩慢的速度進行http請求,霸佔伺服器服務,達到癱瘓伺服器的目的,解決方式即是設定 Timeout
Laravel 部署時發生Error
使用CentOS作為伺服器主機,完整架設流程