上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 48 下一页
摘要: linux DNS相关介绍 1、DNS配置文件 /etc/hosts 这个是最早的 hostname 对应 IP 的档案; /etc/resolv.conf :这个重要!就是 ISP 的 DNS 服务器 IP 记录处; /etc/nsswitch.conf:这个档案则是在『决定』先要使用 /etc/hosts 还是 /etc/resolv.conf 的设定! 一般而言, Linux 的预设主机... 阅读全文
posted @ 2013-06-24 14:44 helloweworld 阅读(605) 评论(0) 推荐(0) 编辑
摘要: 可以直接进行第二步,即在安装discuz时,默认选择集成安装UCenter. 一、UCenter安装。 1.官网下载UCenter1.6. 2.apache服务器目录../www下新建文件夹ucenter. 3.将下载的UCenter1.6解压,并将解压后文件夹upload中的文件拷到第2步骤../www/ucenter文件夹下。 4.浏览器中输入http://localhost/UCe... 阅读全文
posted @ 2013-06-24 10:27 helloweworld 阅读(293) 评论(0) 推荐(0) 编辑
摘要: 1.官网下载WAMP http://www.wampserver.com/注意:(1)注意版本选择32还是64位等。 2.解压,直接双击wamp.exe,傻瓜下一步安装即可(不确定的一律默认)。 3.浏览器 http://localhost/ 测试是否成功。 1.将mysql执行文件(默认C:\wamp\mysql\bin)添加到环境变量。 2.命令行执行mysql,提示:1045 ac... 阅读全文
posted @ 2013-06-24 10:26 helloweworld 阅读(454) 评论(0) 推荐(0) 编辑
摘要: 注意:content=后面引号里的内容用;隔开! 阅读全文
posted @ 2013-06-23 23:10 helloweworld 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 将表dictionary的id=2的一行的english一列改为'hello' mysql> UPDATE dictionary english=’hello’ WHERE id=2; 删除id=2的行。 mysql>DELETE FROM dictionary WHERE id=2; 注意:不要忘了WHERE! 阅读全文
posted @ 2013-06-23 13:40 helloweworld 阅读(2211) 评论(0) 推荐(0) 编辑
摘要: alter table 数据表名 change 原列名 新列名 新列类型; 阅读全文
posted @ 2013-06-23 13:32 helloweworld 阅读(629) 评论(0) 推荐(0) 编辑
摘要: 表dictionary有两列enword,chword,增加一列note VARCHAR(64) NULL mysql>ALTER TABLE dictionary ADD COLUMN note VARCHAR(64) NULL; 表dictionary有两列enword,chword,删除一列note VARCHAR(64) NULL mysql>ALTER TABLE dictionar... 阅读全文
posted @ 2013-06-23 13:22 helloweworld 阅读(8858) 评论(1) 推荐(1) 编辑
摘要: 原来表dictionary的一列enword的属性为VARCHAR(32),修改为VARCHAR(64) NOT NULL. mysql>ALTER TABLE dictionary MODIFY COLUMN enword VARCHAR(64) NOT NULL; 或者 mysql>ALTER TABLE dictionary CHANGE enword enword VARCHAR(6... 阅读全文
posted @ 2013-06-23 12:58 helloweworld 阅读(1771) 评论(0) 推荐(0) 编辑
摘要: 将/etc/apt/source.list中内容用下列代码覆盖。 ## Major bug fix updates produced after the final release of the ## distribution. deb http://old-releases.ubuntu.com/ubuntu/ maverick main restricted deb-src htt... 阅读全文
posted @ 2013-06-22 16:00 helloweworld 阅读(257) 评论(0) 推荐(0) 编辑
摘要: # deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423)]/ precise main restricted# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to# newer versions of the distribution.deb http://archive.ubuntu.com/ubuntu precise main restricteddeb-src http://archive.ubuntu. 阅读全文
posted @ 2013-06-22 15:16 helloweworld 阅读(555) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 48 下一页