Archive for the ‘Linux’ Category
原文: Notes: UTF 8 and my.cnf
Settings for mysql that will help ensure Unicode top to bottom.
[mysqld]
default-character-set=utf8
default-collation=utf8_general_ci
character-set-server=utf8
collation-server=utf8_general_ci
init-connect=’SET NAMES utf8′
[client]
default-character-set=utf8
原文: 使用 HAProxy 完成 網站分流, 平衡負載 | Tsung’s Blog
使用 HAProxy 完成 網站分流, 平衡負載
一台 Server 能夠承受的連線數量是有一定限制的, 特別是在同一時間的存取, 如果一台 Server 撐不住時, 該如何讓其它機器來分擔?
http://www.vmware.com/appliances
http://download.openvz.org/template/precreated/
http://stacklet.com/ (Xen, KVM, VMWare)
http://openvztemplates.com/ (OpenVZ)
http://pve.proxmox.com/wiki/Get_Virtual_Appliances (OpenVZ)
http://www.modernadmin.com/downloads/?d=ostemplates (OpenVZ, Xen)
http://www.turnkeylinux.org/ (VMWare, ISO)
http://sourceforge.net/projects/turnkeylinuxovz/ (OpenVZ)
Kloxo (Lxadmin): http://lxcenter.org
ISPConfig: http://www.ispconfig.org
Virtualmin: http://www.virtualmin.com
SysCP: http://www.syscp.org
froxlor: http://froxlor.org, SysCP fork
VHCS: http://www.vhcs.net/
IspCP Omega: http://isp-control.net, VHCS fork
GNUPanel: http://gnupanel.org
RavenCore: http://www.ravencore.com
Baifox: http://www.baifox.org
DTC: http://www.gplhost.com/software-dtc.html
WebsitePanel: http://sourceforge.net/projects/websitepanel, Windows Platform
原文: Ubuntu Linux 出現 unknown terminal type 解法 | Tsung’s Blog
Ubuntu / Debina Linux 在 screen 裡面, 使用 htop / mytop .. 等等, 出現下述錯誤訊息:
htop
Error opening terminal: screen.linux.
mytop
’screen.linux’: unknown terminal type.
原文: Linux 使用 date 計算時間(昨天、明天) | Tsung’s Blog
Linux 的 date 指令, 要如何取前一天, 後一天, 前一小時… 等等的時間呢?
原文: How i configure logrotate to not delete my log files after rotation? – Server Fault
In your logrotate.conf (or the equivilent logrotate.d file), change the line that says ”
rotate 10
(your number may be different) to a bigger number. That will tell it to keep that many days of logs. You can make it 36500, which [...]
原文: logrotate rename files with date – Server Fault
In /etc/logrotate.conf or /etc/logrotate.d/lighttpd, or the proper file if anywhere else, add dateext to the stanza you want to apply date suffixes.
More information from logrotate man page:
dateext
Archive old versions of log files adding a daily extension like YYYYMMDD instead of simply adding a number.
Afterlogic: http://www.afterlogic.com/products/webmail-lite
Atmail: http://www.atmail.com, http://atmail.org
DWmail: http://dominion-web.com/products/dwmail/
IlohaMail: http://ilohamail.org
Hastymail: http://www.hastymail.org
Horde: http://www.horde.org
Mailr: http://mailr.org
NOCC: http://nocc.sourceforge.net
Openwebmail: http://openwebmail.org
phlyMail: http://phlymail.com
Postaci: http://www.postaciwebmail.org
RoundCube: http://roundcube.net
SquirrelMail: http://www.squirrelmail.org
T-dah: http://tdah.us
Telaen: http://www.telaen.com
Uebimiau: http://www.uebimiau.org
Zimbra: http://www.zimbra.com
Xuheki: http://www.xuheki.com
原文: Speed up Vbulletin Forum with Memcached | Say GNU/Linux
Memcached is a memory caching system. This will help to increase speed of your vbforum . Vb have default support for integrating memchached. I already wrote a document for using memcached with Openx software. Please see the steps below, to [...]
