下载主页:
http://releases.ubuntu.com/releases/8.04/
直接下载:
http://releases.ubuntu.com/releases/8.04/ubuntu-8.04-desktop-i386.iso
64位的:
http://releases.ubuntu.com/releases/8.04/ubuntu-8.04-desktop-amd64.iso
如果你的机子没有384M内存,下载以下版本:
http://releases.ubuntu.com/releases/8.04/ubuntu-8.04-alternate-i386.iso
64位的:
http://releases.ubuntu.com/releases/8.04/ubuntu-8.04-alternate-amd64.iso
1005:创建表失败
1006:创建数据库失败
1007:数据库已存在,创建数据库失败
1008:数据库不存在,删除数据库失败
1009:不能删除数据库文件导致删除数据库失败
1010:不能删除数据目录导致删除数据库失败
1011:删除数据库文件失败
1012:不能读取系统表中的记录
1020:记录已被其他用户修改
1021:硬盘剩余空间不足,请加大硬盘可用空间
1022:关键字重复,更改记录失败
1023:关闭时发生错误
1024:读文件错误
1025:更改名字时发生错误
1026:写文件错误
1032:记录不存在
1036:数据表是只读的,不能对它进行修改
1037:系统内存不足,请重启数据库或重启服务器
1038:用于排序的内存不足,请增大排序缓冲区
1040:已到达数据库的最大连接数,请加大数据库可用连接数
1041:系统内存不足
1042:无效的主机名
1043:无效连接
1044:当前用户没有访问数据库的权限
1045:不能连接数据库,用户名或密码错误
1048:字段不能为空
1049:数据库不存在
1050:数据表已存在
1051:数据表不存在
1054:字段不存在
1065:无效的SQL语句,SQL语句为空
1081:不能建立Socket连接
1114:数据表已满,不能容纳任何记录
1116:打开的数据表太多
1129:数据库出现异常,请重启数据库
1130:连接数据库失败,没有连接数据库的权限
1133:数据库用户不存在
1141:当前用户无权访问数据库
1142:当前用户无权访问数据表
1143:当前用户无权访问数据表中的字段
1146:数据表不存在
1147:未定义用户对数据表的访问权限
1149:SQL语句语法错误
1158:网络错误,出现读错误,请检查网络连接状况
1159:网络错误,读超时,请检查网络连接状况
1160:网络错误,出现写错误,请检查网络连接状况
1161:网络错误,写超时,请检查网络连接状况
1062:字段值重复,入库失败
1169:字段值重复,更新记录失败
1177:打开数据表失败
1180:提交事务失败
1181:回滚事务失败
1203:当前用户和数据库建立的连接已到达数据库的最大连接数,请增大可用的数据库连接数或重启数据库
1205:加锁超时
1211:当前用户没有创建用户的权限
1216:外键约束检查失败,更新子表记录失败
1217:外键约束检查失败,删除或修改主表记录失败
1226:当前用户使用的资源已超过所允许的资源,请重启数据库或重启服务器
1227:权限不足,您无权进行此操作
1235:MySQL版本过低,不具有本功能
<?php
/**
* Initialize AJAX context switching
*
* Checks for XHR requests; if detected, attempts to perform context switch.
*
* @param string $format
* @return void
*/
public function initContext($format = null)
{
$this->_currentContext = null;
if (!$this->getRequest()->isXmlHttpRequest()) {
return;
}
return parent::initContext($format);
}
?>
可以使用 ZF 默认的目录部署来写一个简单示例,目录结构如下:
application/
controllers/
IndexController.php
models/
views/
scripts/
index/
index.phtml
demo.ajax.phtml
helpers/
filters/
html/
.htaccess
index.php
js/
jquery.js
JavaScript 库使用 jQuery。需要写代码的文件是 IndexController.php、index.phtml 和 demo.ajax.phtml。IndexController.php 包含了 2 个 actions,一个是 index,一个是 demo。index 中有个按钮用于测试 AJAX 请求,而请求的目标则是 demo action。demo 对应的视图名字后缀使用了 .ajax.phtml,这是默认的设置。Front controller 的调用很简单:
<?php
require_once 'Zend/Controller/Front.php';
Zend_Controller_Front::getInstance()
->setParam('useDefaultControllerAlways', true)
->setControllerDirectory('../application/controllers')
->dispatch();
?>
IndexController.php 在初始化的时候,需要初始化 AjaxContext Helper:
<?php
class IndexController extends Zend_Controller_Action
{
public function init()
{
$ajaxContext = $this->_helper->getHelper('AjaxContext');
$ajaxContext->addActionContext('demo', 'html') ->initContext();
}
public function indexAction()
{
}
public function demoAction()
{
$this->view->hello = 'Hello, world! ('.date('H:i:s').')';
}
}
addActionContext('demo', 'html') 表明 demoAction 为 AJAX 调用的 action,格式为 html。除了 html 之外,还支持 xml、json 等。AJAX 请求时需要给请求的 url 加上 format=html 的 GET 参数。indexAction 对应的视图 index.phtml 代码如下:
<html>
<head>
<title>AJAX DEMO</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="<?=$this->url()?>js/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('#ajax_button').click(function(){ //#ajax_button 的 onclick 事件触发
var url = '<?=$this->url(array('controller'=>'index','action'=>'demo'))?>'; //AJAX 请求的目标 URL
$.get(url, {'format':'html'}, function(data){ //这里传递了 format=html 的 GET 参数
$('#hello_message').html(data); //将 AJAX 返回的内容显示在 #hello_message 里边
});
});
});
</script>
</head>
<body>
<p><input type="button" id="ajax_button" value="AJAX Call" />
<p id="hello_message"><p>
</body>
</html>
demoAction 对应的视图 demo.ajax.phtml 内容很简单,只是输出 $hello:
<?=$this->hello?>
Zend Framework 还提供了 autocomplete(自动完成)AJAX 的 action helper:Zend_Controller_Action_Helper_AutoCompleteScriptaculous 和 Zend_Controller_Action_Helper_AutoCompleteDojo,一个是 for Scriptaculous 的,另一个是 for Dojo 的。
Picasa 2.7 for Linux的上一版本是2.2,当前最新版本是2.7,功能升级显而易见了。
官方更新说明:
* Upload to Picasa Web Albums
Use the new “Web Album” button to post your best photos online to share with friends and family.
* Download from Picasa Web Albums
Download albums from Picasa Web Albums directly into Picasa using Firefox.
* Save edits to disk
Save edits, undo saves, and revert to the original file with ease. We’ve got batch saving too! Picasa will even match the jpeg quality of the original. Right-click on your saved files to try the new “locate original” feature.
* Folder hierarchy views
Browse through folders Explorer-style. Use the button at the top of your Albums List to try them out.
* Improvements to Import
Import into an existing folder- we know you’ve wanted this feature for a long time! We’ve made importing photos from your camera faster too.
* Better RAW support
Now you can work with RAW files from the Canon 30D, the Nikon D200, Adobe DNG files, and more.
* Internationalization Improvements
Enable support for non-english languages.
* Many other enhancements
Larger thumbnails, better caption editing, ability to configure the row of buttons, special “Starred Photos” album, search by ISO and focal length.
前几天发现Picasa 2.7 for Linux的beta版本不能上传图片,但这个正式版是没问题了:
上传图片:
软件界面:
制作个性拼贴:
下载Picasa 2.7 for Linux正式版:
.rpm包(适用于32位和64位的Red Hat/Fedora/Suse/Mandriva x86系统)
http://picasa.google.com/linux/thanks-rpm.html
32位的Ubuntu deb包:
http://picasa.google.com/linux/thanks-deb.html
64位的Ubuntu deb包:
http://picasa.google.com/linux/thanks-deb64.html
而linux下,ssh命令行自然没问题,但scp复制文件等就比较麻烦了.KDE的konqueror支持
现在,发现有SecPanel
ecPanel 是一款图形化的 SSH 及 SCP 连接管理工具。当前,SecPanel 支持 SSH.com 和 OpenSSH,不仅允许你配置、管理 SSH 及 SCP 连接,而且包括密钥处理、SSH Agent 等功能。
SecPanel 屏幕截图
运行 SecPanel 需要你的 Linux 系统安装有 Tcl/Tk。最新版本 0.5.4,提供 DEB、RPM、TGZ 等格式的安装包。







