<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>域名 &#8211; 李辉 / Grey Li</title>
	<atom:link href="https://greyli.com/tag/%E5%9F%9F%E5%90%8D/feed/" rel="self" type="application/rss+xml" />
	<link>https://greyli.com</link>
	<description>一个编程和写作爱好者的在线记事本</description>
	<lastBuildDate>Thu, 06 Nov 2025 11:36:11 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.9.26</generator>

<image>
	<url>https://greyli.com/wp-content/uploads/2025/03/avatar-500-compressed-144x144.jpg</url>
	<title>域名 &#8211; 李辉 / Grey Li</title>
	<link>https://greyli.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>换域名小记</title>
		<link>https://greyli.com/for-notes-on-domain-names/</link>
		<comments>https://greyli.com/for-notes-on-domain-names/#respond</comments>
		<pubDate>Mon, 05 Dec 2016 10:38:44 +0000</pubDate>
		<dc:creator><![CDATA[李辉]]></dc:creator>
				<category><![CDATA[思考与随感]]></category>
		<category><![CDATA[计算机与编程]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[域名]]></category>

		<guid isPermaLink="false">http://greyli.com/?p=1267</guid>
		<description><![CDATA[起名字 起名字是个简单但让人头疼的事情。 你想要一个独特的名字，但又不想透露太多的个人信息。既不能太土，又不能 [&#8230;]]]></description>
				<content:encoded><![CDATA[<h2><strong>起名字</strong></h2>
<p>起名字是个简单但让人头疼的事情。</p>
<p>你想要一个独特的名字，但又不想透露太多的个人信息。既不能太土，又不能太长，不能太难读，也不能太难记，而且最要命的是，如果你想在所有社交网站都有一个相同的id，这太难了——好名字全被注册完了。</p>
<p>连续换了两个域名后，我想这次终于遇到对我来说完美的域名了——greyli.com</p>
<p>&nbsp;</p>
<h2><strong>换域名</strong></h2>
<p>更改完DNS设置后，在数据库里用新域名替换掉旧域名。</p>
<p>和上次同时换主机和域名不同，这次只需要在数据库里改动一些内容就完成了：</p>
<pre class="line number1 index0 alt2">wp_options SET option_value = replace(option_value, 'www.mydomain.com','www.newdomain.com');
UPDATE wp_posts SET post_content = replace(post_content, 'www.mydomain.com','www.newdomain.com');
UPDATE wp_comments SET comment_content = replace(comment_content, 'www.mydomain.com', 'www.newdomain.com');
UPDATE wp_comments SET comment_author_url = replace(comment_author_url, 'www.mydomain.com', 'www.newdomain.com');</pre>
<div class="line number2 index1 alt1"> </div>
<div class="line number1 index0 alt2"> </div>
<div class="line number1 index0 alt2">文章里有些地址是完整的，所以可能还需要加上下面这条语句：</div>
<pre class="line number1 index0 alt2">UPDATE wp_posts SET post_content = replace(post_content, 'http://www.olddomain.com','http://www.newdomain.com');</pre>
<div class="line number1 index0 alt2"> </div>
<div class="line number1 index0 alt2"> </div>
]]></content:encoded>
			<wfw:commentRss>https://greyli.com/for-notes-on-domain-names/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>关于这个博客</title>
		<link>https://greyli.com/about-this-blog/</link>
		<comments>https://greyli.com/about-this-blog/#comments</comments>
		<pubDate>Thu, 30 Apr 2015 00:46:34 +0000</pubDate>
		<dc:creator><![CDATA[李辉]]></dc:creator>
				<category><![CDATA[思考与随感]]></category>
		<category><![CDATA[域名]]></category>
		<category><![CDATA[意义]]></category>
		<category><![CDATA[编程]]></category>

		<guid isPermaLink="false">http://withlihui.com/?p=195</guid>
		<description><![CDATA[这要从我开始学编程说起。 当时只是想做个独立博客出来，同时又有开发一些软件的想法。所以开始学python，之所 [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>这要从我开始学编程说起。</p>
<p>当时只是想做个独立博客出来，同时又有开发一些软件的想法。所以开始学python，之所以选择python，是因为受了众多知友的影响（蛊惑），当然，更多是因为它的简单易于学习，同时也很喜欢它所蕴含的哲学思想。初衷是用它来做网站和软件，但这时博客已经用wordpress构建了，做软件它也不是最佳选择。或许我该转向java或是object－c，但我已经学了一些基础概念，又不想就这样放弃。所以还是把它作为我的入门语言，并且用它来实现一些有趣的功能。</p>
<p>回到正题，这个博客主要用来记录我学习编程和英语以及其他兴趣点的经验与感想，然后是我日常的一些想法。等到若干年后再来看应该是不错的回忆。之所以不选择blogger或是其他博客网站，是因为有自己的独立的域名和网站给我一种自由的感觉，不仅是审查上，更多的是完全掌控自己的空间的快乐。这就像是住在租来的房子和住在自己家的区别。而且我还是一个人住，所以感觉好极了。 这同时也激发了我写作的欲望，之前的每周写作计划总是一拖再拖。现在有了博客，可能还会拖，但我想会好一些的：）</p>
<p>域名vacantbox，本来想注册的是emptybox，但已被注册。我把这个博客当作一个属于我自己的空盒子，但现在似乎变成了空虚的盒子。也罢，就让我来慢慢填充这个空虚的盒子吧。</p>
<p>博客名普通的我，没什么特别含义，仅仅是字面意思。一直都不太喜欢起名字这种事，我觉得这是一种定义或表达自己的行为，但这行为本身就代表着限制，即不自由。为了弥补名字带来的不自由，每个人都需要把自己的思想和才华释放出来，以弥补名字的限制和它被他人所理解和赋予的狭隘观点。所以每个人都是将自己的被名字所代表的点展开成面或空间的普通人，只不过展开的维度不同，所见的世界也不相同。所以才会有那么多的争吵和矛盾。这个博客也是这样的一种展开，并且希望以此得到相同维度的人的关注和认同。 当然，也许只在自己内心世界里展开，对外永远保持神秘和距离才是最美妙和伟大的事情。但我现在做不到，如博客名所言，我只是个普通人而已。</p>
]]></content:encoded>
			<wfw:commentRss>https://greyli.com/about-this-blog/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
