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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Things You Should Be Doing With Your Server, But Probably Aren't

90 点作者 luminousbit将近 15 年前

6 条评论

mmt将近 15 年前
The part about log rotation strikes me as an anachronism, which, sadly, is still applicable due to naive default configurations.<p>Disk <i>space</i> is preposterously cheap, and even high-volume, Internet-scale text logs are small and low-bandwidth[1].<p>The problem isn't that disks fill up, but, rather, that logs are ever written somewhere that, if full, affects anything but the logging. The solution of a separate filesystem for logs has been around perhaps longer than the OP himself but only makes sense for a few, standalone servers.<p>Otherwise, the solution of remote syslog has been around for almost as long. If your logs are critical, you could even use two (for twice the price). Even the days of questionable reliability and small message size[2] limits are pretty long gone with syslog-ng.<p>This kind of thing, otherwise tedious minutae, is second nature to sysadmins. Hire one.<p>[1] It's the disk <i>bandwidth</i> or throughput which is still expensive<p>[2] That's on the order of 500 characters, old text pager lengths, not the newfangled 140 character sms/twitter cheapness. Hey, you kids get off my lawn!
评论 #1539804 未加载
评论 #1540182 未加载
hopeless将近 15 年前
This is a great reminder why I moved to Heroku ;-)<p>(the points re. backup and monitoring do still apply, but at least it's only for your app and not the whole server)
truebosko将近 15 年前
Does anyone have any thoughts on using config software like Puppet or Chef? I've been having to deploy a few more servers lately and this is exactly what I may need, curious to hear of experiences.
评论 #1538743 未加载
评论 #1539118 未加载
评论 #1539440 未加载
评论 #1539119 未加载
评论 #1539254 未加载
评论 #1540191 未加载
评论 #1539329 未加载
Herald_MJ将近 15 年前
Backups are all well and good, but really they aren't going to save you unless you are also doing frequent <i>test restores</i>. Only when you've acted out your worst-case scenario (with a set of virtual machines and a recent set of backups) and managed to restore the system without problem do you really know that your backups are adequate.
评论 #1539458 未加载
lazyant将近 15 年前
Alternative server security checklist: <a href="http://watsec.com/article/50" rel="nofollow">http://watsec.com/article/50</a>
snitko将近 15 年前
Nice checklist. I will use it sometime.