Canonical在其安全邮件群组上发布声明,表示对Ubuntu
9.10的官方支持将在2011年4月29日停止。
apt-get update的时候提示
W: Failed to fetch
http://mirrors.163.com/ubuntu/dists/karmic-backports/restricted/source/Sources.gz
404 Not Found [IP: 123.58.173.89 80]
W: Failed to fetch
http://mirrors.163.com/ubuntu/dists/karmic-backports/universe/source/Sources.gz
404 Not Found [IP: 123.58.173.89 80]
W: Failed to fetch
http://mirrors.163.com/ubuntu/dists/karmic-backports/multiverse/source/Sources.gz
404 Not Found [IP: 123.58.173.89 80]
server {
listen 80;
server_name
xxxx.com.cn;
error_log
/tmp/eror.log;
set $www_root
/home/web/yqbb/bgskk;
location / {
root $www_root;
(2011-12-19 10:07)
1.关闭虚拟机
2.编辑虚拟机,调整空间到需要的大小
3.在主机下载gparted-live-0.10.0-3.iso.并以gparted启动虚拟机.
4.选默认.
有时候改完DNS.想了解DNS生效情况.可以通过这个网站去查看世界各地的DNS生效.具体使用方法你懂的!~
一个DZ的论坛发现不能注册.点击注册后没有任何反应.使用Fierbug跟踪后发现的出错信息为:
UCenter info: MySQL Query Error
SQL:INSERT INTO [Table]members SET secques='',
username='asfaera', password='29cd60058fab092729550a63270572e7',
email='aserase@qq.com', regip='121.18.236.247',
regdate='1323070664', salt='81f43f'
Error:Duplicate entry '26626' for key 'PRIMARY'
Errno:1062
查看pre_common_member和pre_ucenter_members表.发现是因为表的自增问题所导致.
mysql> select * from pre_ucenter_members order by uid desc
limit 1\G
*************************** 1. row
***************************
uid: 26624
usernam
mount --bind是什么意思?
mount --bind 是将一个目录中的内容挂载到另一个目录上,用法是
# mount --bind olddir newdir
这个命令使得自己搭建的FTP要共享某个目录的时候变得特别方便。如果要取消mount用命令:
# umount olddir 即可。
在固件开发过程中常常遇到这样的情况:为测试某个新功能,必需修改某个系统文件。而这个文件在只读文件系统上(总不能为一个小小的测试就重刷固件吧),或者是虽然文件可写,但是自己对这个改动没有把握,不愿意直接修改。这时候mount
--bind就是你的好帮手。
假设我们要改的文件是/etc/hosts,可按下面的步骤操作:
1. 把新的hosts文件放在/tmp下。当然也可放在硬盘或U盘上。
2. mount --bind /tmp/hosts /etc/hosts
测试完成了执行 umount /etc/hosts 断开绑定。
如果我需要在/etc下面增加一个exports文件怎么办?原来没有这个文件,不能直接bind。我们有两个方法:
方法1:绑定整个/et
使用ntpdate的遇到这样的错误提示:
no server suitable for synchronization found
很可能是防火墙封锁了udp的123端口, 如果关闭的防火墙问题依旧, 很可能是上层路由的设置有问题, 如果这种情况,
我们就只能通过tcp来更新时间啦
Synopsis
Attempts to establish a new outgoing connection on a channel, and
then link it to the existing input channel.
尝试在通道上建立一个外呼的连接,并与现有通道桥接
Description
Dial(type/identifier, timeout, options,
URL)
Dial(type1/identifier1[&type2/identifier2[&type3/i
$ chmod a+x aa.ex
$ ./aa.ex stmp.163.com base64之后的用户名 base64之后的密码 frommail tomail
title content
aa.ex脚本如下:
#!/usr/bin/expect
set smtp [lindex $argv 0]
set user [lindex $argv 1]
set pass [lindex $argv 2]
set from [lindex $argv 3]
set to [lindex $argv 4]
set title [lindex $argv 5]
set content [lindex $argv 6]
spawn telnet $smtp 25
expect '220'
send 'helo root\r'
expect '250'
send 'auth login\r'
expect '334'
send '$user\r'
expect '334'
send '$pass\r'
expect '235'
send 'MAIL FROM: <$from>\r'
expect '250'
send 'RCPT TO: <$to>\r'
expect '250'
send 'DATA\r'
expect '354'
send 'TO: $to\r'
send 'FROM: $from\r'
send 'SUBJECT: $title\r'
send '\r'
send '$c
1。进入工作复本
#> cd ~/test2。查看仓库地址(URL)
#> svn info
路径:.
地址(URL):http://192.168.28.1/repos/test
档案库 UUID:a81f9bed-3506-0410-b369-e50476f75162
修订版:44
节点种类:目录
调度:正常
最后修改的作者:yanghong
最后修改的修订版:44
最后修改的时间: 2005-11-24 16:05:30 +0800 (四, 24 11月 2005)
可以看到地址为:'http://192.168.28.1/repos/test'3。更改仓库地址(URL)
#> svn switch --relocate http://192.168.28.1/repos/test
https://192.168.28.1/repos/test
验证“https://192.168.28.1:443”的服务器凭证时发生错误:
- 本凭证并不是由受信任的权威机权所核发。请手动利用指纹以验证
凭证的有效性!
- 本凭证的主机名称不符。
凭证信息:
- 主机名称:(www|svn|ftp|developers).cocreate.com.cn
- 有效期间:自 Dec 22 02:52:50 2005 GMT 至 Jan 21 02:52:50 2006 GMT
- 发行者:Co-Create Open Source Software Co.,Ltd., BeiJing, BeiJing,
CN
-