id: d1feecf2fbfd4bfdb533d69130d34c1e
parent_id: 
item_type: 1
item_id: 19b3d138988243ebb3f1b0f883660410
item_updated_time: 1764345565131
title_diff: "[{\"diffs\":[[1,\"ubuntu 9.04 server 更改主机名-reesun-ChinaUnix博客\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":43}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>ubuntu 9.04 server 更改主机名-reesun-ChinaUnix博客</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <meta name=\\\"application-data:2525275\\\" content=\\\"6692893/s30/048030db-b1c4-4b6b-be75-2993e2b23cc2/app.yinxiang.com\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"9796\\\"></a>\\\r\\\n<h1>ubuntu 9.04 server 更改主机名-reesun-ChinaUnix博客</h1>\\\r\\\n\\\r\\\n<div>\\\n<span><div>\\\n <div>\\\n  <div>\\\n   <h1>ubuntu 9.04 server 更改主机名-reesun-ChinaUnix博客</h1>\\\n   <div>\\\n    <div></div>\\\n   </div>\\\n  </div> \\\n  <div> \\\n   <div> \\\n    <div> \\\n     <div> \\\n      <div> \\\n       <a href=\\\"http://blog.chinaunix.net/uid-20548989-id-1667277.html\\\" shape=\\\"rect\\\" target=\\\"_blank\\\">ubuntu 9.04 server 更改主机名</a> \\\n       <em>2010-05-13 16:31:43</em> \\\n      </div> \\\n      <div> \\\n       <div> \\\n        <p>分类： LINUX</p> \\\n       </div> \\\n       <div>\\\n         1、切换到root\\\n        <table><tr><td colspan=\\\"1\\\" rowspan=\\\"1\\\"><p><code>$sudo su<br clear=\\\"none\\\"/> password userName</code></p></td></tr></table>\\\n        <div>\\\n         2、更改主机名\\\n        </div>\\\n        <table><tr><td colspan=\\\"1\\\" rowspan=\\\"1\\\"><p><code>1）<span style=\\\"-evernote-highlighted:true; background-color:#f6ee96\\\">编辑文件/etc/hosts</span> 将下面的一行<br clear=\\\"none\\\"/>   127011 xxxxx<br clear=\\\"none\\\"/>   替换为<br clear=\\\"none\\\"/>   127011 newhostname</code></p></td></tr></table>\\\n        <table><tr><td colspan=\\\"1\\\" rowspan=\\\"1\\\"><p><code>2 <span style=\\\"-evernote-highlighted:true; background-color:#f6ee96\\\">编辑 /etc/hostname文件</span> 删除该文件的所有内容，添加newhostname</code></p></td></tr></table>\\\n        <table><tr><td colspan=\\\"1\\\" rowspan=\\\"1\\\"><p><code>3）运行一下命令 hostname newhostname</code></p></td></tr></table>\\\n        <div>\\\n         3、重新登录\\\n        </div>\\\n        <table><tr><td colspan=\\\"1\\\" rowspan=\\\"1\\\"><p><code>#exit<br clear=\\\"none\\\"/> $sudo su</code></p></td></tr></table>\\\n       </div> \\\n       <div>\\\n         阅读(460) | 评论(0) | 转发(0) | \\\n       </div> \\\n      </div> \\\n     </div> \\\n    </div> \\\n    <div> \\\n     <div>\\\n      给主人留下些什么吧！~~\\\n     </div> \\\n     <div> \\\n      <div> \\\n       <div>\\\n         请登录后评论。 \\\n        <p><a href=\\\"http://blog.chinaunix.net/site/login.html\\\" shape=\\\"rect\\\" target=\\\"_blank\\\">登录</a> <a href=\\\"http://sso.chinaunix.net/Register?return_url=http%3A%2F%2Ft.cublog.com%2F\\\" shape=\\\"rect\\\" target=\\\"_blank\\\">注册</a></p> \\\n       </div> \\\n      </div> \\\n     </div> \\\n    </div> \\\n   </div> \\\n  </div> \\\n  <div> \\\n   <div>\\\n    <a href=\\\"http://www.chinaunix.net/about/index.shtml\\\" shape=\\\"rect\\\" target=\\\"_blank\\\">关于我们</a> | \\\n    <a href=\\\"http://www.it168.com/bottomfile/it168.shtml\\\" shape=\\\"rect\\\" target=\\\"_blank\\\">关于IT168</a> | \\\n    <a href=\\\"http://www.chinaunix.net/about/connect.html\\\" shape=\\\"rect\\\" target=\\\"_blank\\\">联系方式</a> | \\\n    <a href=\\\"http://www.chinaunix.net/about/service.html\\\" shape=\\\"rect\\\" target=\\\"_blank\\\">广告合作</a> | \\\n    <a href=\\\"http://www.it168.com//bottomfile/flgw/fl.htm\\\" shape=\\\"rect\\\" target=\\\"_blank\\\">法律声明</a> | \\\n    <a href=\\\"http://sso.chinaunix.net/Register?return_url=http%3A%2F%2Fblog.chinaunix.net%2F\\\" shape=\\\"rect\\\" target=\\\"_blank\\\">免费注册</a> \\\n    <p>Copyright 2001-2010 ChinaUnix.net All Rights Reserved 北京皓辰网域网络信息技术有限公司. 版权所有 </p> \\\n    <div>\\\n     感谢所有关心和支持过ChinaUnix的朋友们 \\\n     <p>京ICP证041476号 京ICP证060528号</p> \\\n    </div> \\\n   </div> \\\n  </div> \\\n </div>\\\n</div></span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":3433}]"
metadata_diff: {"new":{"id":"19b3d138988243ebb3f1b0f883660410","parent_id":"f67288c3a0be4374b5d532b5dcc3aabc","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764348828046,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T21:04:03.479Z
created_time: 2025-11-28T21:04:03.479Z
type_: 13