TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Why there's no a quick guide for setting up a VPS?

9 点作者 jozi9超过 10 年前
Is it just me, or are there other developers out there struggling with this every time, all the basic security and webserver configurations and so? Or everybody is just using PaaS?

6 条评论

revorad超过 10 年前
<a href="https://www.digitalocean.com/community/tutorials" rel="nofollow">https:&#x2F;&#x2F;www.digitalocean.com&#x2F;community&#x2F;tutorials</a><p><a href="https://www.linode.com/docs/" rel="nofollow">https:&#x2F;&#x2F;www.linode.com&#x2F;docs&#x2F;</a><p><a href="http://articles.slicehost.com/" rel="nofollow">http:&#x2F;&#x2F;articles.slicehost.com&#x2F;</a>
colept超过 10 年前
Linode&#x27;s tutorials for setting up a basic VPS and protecting it are wonderful:<p><a href="https://www.linode.com/docs/getting-started" rel="nofollow">https:&#x2F;&#x2F;www.linode.com&#x2F;docs&#x2F;getting-started</a><p>You don&#x27;t have to have Linode to use the tutorials either. They&#x27;re a great resource for learners.
whichdan超过 10 年前
Consider server administration to have the same learning curve as picking up a new language: everything will feel unfamiliar at first, but once you get used to it, you&#x27;ll start recognizing patterns and similarities between each tool that you use.<p>Let&#x27;s say you&#x27;re deploying a new Debian VM; at the bare minimum, you need to know:<p>- Basic Linux commands (top, tail, cat, cp, mv, ls, cd, rm, mkdir, et cetera)<p>- Casual vim&#x2F;nano usage<p>- Casual less usage (mainly Ctrl-B&#x2F;F)<p>- Knowing that `man [command]` and `[command] --h` are the easiest ways to decipher a tool<p>- iptables&#x2F;fail2ban (security)<p>- Basic MySQL setup (almost everything can be done in a gui)<p>- Basic Apache2 configuration (vhosts, enabling mods)<p>- How to manage packages (apt-get update; apt-get upgrade; apt-get install [whatever])<p>At that point, you just need to read a few tutorials to fill in the gaps, and to figure out how to get Apache to serve files from your language of choice.<p>The easiest way to go about all of this is to setup a VM locally, document each step you take while configuring it, then repeat that a few times until you feel comfortable. Then you can figure out how to automate everything!
nodesocket超过 10 年前
I&#x27;m the founder of <a href="https://commando.io" rel="nofollow">https:&#x2F;&#x2F;commando.io</a>. We provide a way to write scrips (in bash, perl, python, ruby, go, or node.js) and run those scripts against servers. This saves you time, but also provides a repeatable way to install packages and configure services on servers. Perhaps we can help you.
h4waii超过 10 年前
Because things like <a href="https://news.ycombinator.com/item?id=8478159" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8478159</a> happen. There is no quick guide, because you can&#x27;t quickly learn system administration and security.
saluki超过 10 年前
y, it&#x27;s a pain setting up a VPS from scratch, each time you get faster but it still takes time.<p>I&#x27;ve been developing with Laravel since last fall.<p>I&#x27;ve been using Laravel Forge, it&#x27;s $10&#x2F;mo put well worth it as it handles setting up the VPS (on your linode, DO, etc) and code deployment, very nice.<p><a href="https://forge.laravel.com/" rel="nofollow">https:&#x2F;&#x2F;forge.laravel.com&#x2F;</a><p>Watch the laracast, link is on that page.