TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Steps for securing and configuring a new VPS?

1 pointsby chaudrucover 11 years ago
I have been reading a lot about the necessary steps to take to prepare a secure and comfortable VPS LAMP site hosting environment from linode or digitalocean.<p>Google is full of articles and posts with recommended checklists but wondering if HN had a list or a resource a majority would agree on...<p>Some of the initial findings were the following:<p>1) Set up login with SSH keys for convenience<p>2) Update everything with sudo apt-get update<p>3) Change SSH port to 4437 or something like that<p>4) Install HTOP instead of TOP<p>5) Configure PHP to run as CGI with CGIWRAP (for security)<p>-- I am sure there are a dozen more steps we all take after provisioning a server - anybody have further suggestions or posts with good lists?<p>(EDIT: for markup)

1 comment

olivierroyover 11 years ago
thread: <a href="https://news.ycombinator.com/item?id=4618808" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=4618808</a>