Ubuntu 10.10 Ubuntu 11.04 Ubuntu 11.10 更多就看这儿咯 163的:http://mirrors.163.com/ sohu的:http://mirrors.sohu.com/
When updating the Debian based system, it may happens that the apt-get displays an error message like: W: GPG error: ftp://ftp.debian.org/ testing Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 010908312D230C5F W: There is no public key available for the following key IDs: 010908312D230C5F This is a new [...]
修改 /etc/fonts/conf.d/49-sansserif.conf 内容如下,解决flash不能显示中文的问题: <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <!-- If the font still has no generic name, add sans-serif --> <match target="pattern"> <test qual="all" name="family" compare="not_eq"> <string>sans-serif</string> </test> <test qual="all" name="family" compare="not_eq"> <string>serif</string> </test> <test qual="all" name="family" compare="not_eq"> <string>monospace</string> </test> <edit name="family" mode="append_last"> <string>sans</string> </edit> </match> </fontconfig> 把最后一个里换成其他,如果没有安装其他优化字体,就换成 “sans” 重启浏览器,flash 里的中文就正常了。
步骤: 1. 终端运行 sudo a2enmod 程序提示可供激活的模块名称,输入: rewrite 2. 修改/etc/apache2/sites-enabled/000-default (该链接指向的是站点配置文件) 把(默认的www目录、或者需要应用.htaccess的目录)下的AllowOverride 属性改为All,保存。 3. 重新加载apache sudo /etc/init.d/apache2 restart 收工。
我想让我的Postfix smtpd允许转发任意的来自$mydestination的用户的邮件. Postfix默认转发是来自$my_networks和$replay_domains的邮件. 应该在main.cf里面如何设置? vi /usr/local/etc/postfix/main.cf smtpd_recipient_restrictions = permit_mynetworks,check_sender_access hash:/usr/local/etc/postfix/ sender_access,check_relay_domains 然后 vi /usr/local/etc/postfix/sender_access your.domain.com OK 然后 /usr/local/sbin/postmap /usr/local/etc/postfix/sender_access 然后 /usr/local/sbin/postfix reload 即可 注意:your.domain.com设置成你的邮件域名,相应路径自己修改。 缺点:别人可以利用你的服务器,用户名设置成你的用户,然后到处发垃圾邮件。 解决:建议采用sasl
Ubuntu9 在 VMware Workstation5.5 安装时候。inter 双核处理器是不能安装的,但是使用 AMD 处理器是可以的,VMware Workstation升级到 6.0以上版本可以安装。 Ubuntu9 安装到82% 在APT配置时候长时间停滞,可以中断VMware 的网络连接skip。
在终端中执行,我常常是使用putty 来远程连接的,这样省的在2个操作界面切换。 #debian a2enmod rewrite #ubuntu sudo a2enmod rewrite 指令后,即启用了 Mod_rewrite 模块。 另外,也可以通过将 /etc/apache2/mods-available/rewrite.load 连接到 /etc/apache2/mods-enabled/rewrite.load 来打开 Mod_rewrite 模块。用指令操作就是: #debian ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/rewrite.load #ubuntu sudo ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/rewrite.load 一点小提示 事实上,当在Debian or Ubuntu 中采用上述做法并重启了 Apache 服务后,仍然无法正常 rewrite 网址。这里,还有一点需要注意的地方: sudo vim /etc/apache2/sites-enabled/000-default 将其中的: AllowOverride None 修改为: AllowOverride All 上面的 /etc/apache2/sites-enabled/000-default 实则为 /etc/apache2/sites-available/default 的连接。而 AllowwOverride None [...]
参考文献:http://wiki.ubuntu.org.cn/Postfix_%E5%9F%BA%E6%9C%AC%E8%AE%BE%E7%BD%AE%E6%8C%87%E5%8D%97#.E5.AE.89.E8.A3.85.E6.A6.82.E8.BF.B0 介绍 这份指南将帮助你建立一个基本的企业级Postfix邮件服务器。主要目的是教会你如何安装和配置一个包含IMAP和POP3服务的基本Postfix邮件服务器。 安装概述 安装配置过程中,postfix通过Internet发送和接收emial,并存储在用户邮箱里。同时客户也可以通过IMAP或者POP3恢复他们的邮件。 安装Postfix 一开始我想你需要做的一件事是修改 hostname,虽然大多数参考资料不提这个,但是这里依然存在一个问题,就是 hostname 里面可能含有 test 之类的单词,这是你的mailserver 被spam 的可能原因之一,所以我干脆把 hostname 改成 mydomain.com 了。 In this setup I assume that your domain is yourdomain.com and it has a valid MX record call mail.yourdomain.com. Remember to replace yourdomain.com with your actual domain in the example codes in this howto. Also I assume [...]
用apt-get方法安装mysql5 + Apache2 + PHP5+Phpmyadmin: 大家请先看下Ubuntu的WIKI,(http://wiki.ubuntu.org)上面讲的很详细的。但本人按上面做的第一次没有成功。apache2,php5,mysql5都可以运行,就是phpmyadmin不能用。 本人得到的经验是:MYSQL安成功后,一定要先给它设个密码,这上步是不可少的。 此篇只代表个人的观点和经验,可能会片面化和有错误,请大家批评指正,有问题大家一起来讨论!!
Posted on 22, 八











