Ubuntu 12.04 Cannot set LC_CTYPE to default locale

Ubuntu
回覆文章
yehlu
Site Admin
文章: 3244
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

Ubuntu 12.04 Cannot set LC_CTYPE to default locale

文章 yehlu »

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "zh_TW:zh",
LC_ALL = (unset),
LC_TIME = "zh_TW",
LC_MONETARY = "zh_TW",
LC_ADDRESS = "zh_TW",
LC_TELEPHONE = "zh_TW",
LC_NAME = "zh_TW",
LC_MEASUREMENT = "zh_TW",
LC_IDENTIFICATION = "zh_TW",
LC_NUMERIC = "zh_TW",
LC_PAPER = "zh_TW",
LANG = "zh_TW.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory


http://www.ubuntu-tw.org/modules/newbb/ ... c_id=35118

代碼: 選擇全部

sudo locale-gen --lang zh_TW.UTF-8

yehlu
Site Admin
文章: 3244
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

Ubuntu 12.04 Webmin

文章 yehlu »

http://www.info-artist.net/2009/11/ubun ... ebmin.html

代碼: 選擇全部

wget http://prdownloads.sourceforge.net/webadmin/webmin_1.600_all.deb
Webmin 是一個很有名的 linux 的網頁介面的管理軟體 ~ 會讓我們在管理

相關的設定方便許多, 那在 ubuntu 上安裝也很方便 ~

以下簡單分享安裝方式


首先先到 webmin 的網站下載webmin 下載頁面 :

http://www.webmin.com/download.html

找到 Debian package suitable for Debian, Ubuntu or other derived Linux

下載後就可以開始安裝囉 ~~

首先先安裝相關套件

代碼: 選擇全部

sudo apt-get install libauthen-pam-perl libnet-ssleay-perl libpam-runtime openssl perl perl-modules
再安裝 webmin

代碼: 選擇全部

sudo dpkg -i webmin_1.430_all.deb
啟用 webmin
sudo /etc/init.d/webmin start

這樣就可以用brower輸入 https://serverip:10000

開始使用 webmin 囉 ~
yehlu
Site Admin
文章: 3244
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

Error: Opening INBOX failed: Mailbox doesn't exist: INBOX

文章 yehlu »

http://forum.ipb.tw/index.php?showtopic=22261

/etc/dovecot/conf.d/10-mail.conf

代碼: 選擇全部

mail_location = mbox:~/mail:INBOX=/var/mail/%u 
mail_access_groups = mail

yehlu
Site Admin
文章: 3244
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

SASL authentication failure: cannot connect to saslauthd ser

文章 yehlu »

http://linnchord.net/archives/790.html

代碼: 選擇全部

dpkg-statoverride --add root sasl 710 /var/spool/postfix/var/run/saslauthd 
adduser postfix sasl
yehlu
Site Admin
文章: 3244
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

Roundcube Webmail

文章 yehlu »

代碼: 選擇全部

$rcmail_config['default_host'] = 'ms.metroasis.com.tw';
$rcmail_config['language'] = 'zh_TW';
roundcubemail-0.8.4/installer/

代碼: 選擇全部

wget http://security.ubuntu.com/ubuntu/pool/universe/p/php5/php5-intl_5.3.2-1ubuntu4.18_amd64.deb
dpkg -i php5-intl_5.3.2-1ubuntu4.18_amd64.deb

vi /etc/php5/apache2/php.ini
date.timezone = "Asia/Taipei"

yehlu
Site Admin
文章: 3244
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

[25-Dec-2012 17:16:26] PHP Fatal error: Allowed memory size

文章 yehlu »

[25-Dec-2012 17:16:26] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 71 bytes) in /var/www/webmail/program/include/rcube_imap_generic.php on line 3605

代碼: 選擇全部

vi /var/www/webmail/.htaccess
php_value       memory_limit            128M
回覆文章

回到「Ubuntu」