Ekim ayı arşivi 4, 2010

Kloxo/lxadmin不支持mb_substr如何安装mbstring?

Kloxo/lxadmin面板默认不支持mbstrin不支持mb_substr等函数怎么办?如何安装mbstring?

Kloxo安装mbstring的方法ssh登录

[root@vps105 www.ctohome.com]# yum install php-mbstring
Loadinginstallonlynplugin
Süreci yükleyin kurma
Setting up repositories
lxlabsupdate 100% |=========================| 951 B 00:00
lxlabslxupdate 100% |=========================| 951 B 00:01
baz 100% |=========================| 2.1 kB 00:00
güncellemeler 100% |=========================| 1.9 kB 00:00
addons 100% |=========================| 951 B 00:00
ekstralar 100% |=========================| 2.1 kB 00:00
Reading repository metadata in from local files
Parsing package install arguments
Çözme bağımlılıklar
> Populating transaction set with selected packages. Please wait.
> Downloading header for php-mbstring to pack into transaction set.
php-mbstring-5.2.6-5.i386 100% |=========================| 14 kB 00:00
> Package php-mbstring.i386 0:5.2.6-5 set to be updated
> Running transaction check

Bağımlılıklar Çözülmüş

=============================================================================
Package Arch Version Repository Size
=============================================================================
yükleme:
php-mbstring i386 5.2.6-5 lxlabsupdate 1.0 M

İşlem Özeti
=============================================================================
Yüklemek 1 paket(s)
Update 0 paket(s)
Remove 0 paket(s)

Toplam indirme boyutu: 1.0 M
Is this ok [y/N]: y
Downloading Packages:
(1/1): php-mbstring-5.2.6 100% |=========================| 1.0 MB 00:01
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
yükleme: php-mbstring ######################### [1/1]

Kurulmuş: php-mbstring.i386 0:5.2.6-5
Tamamlayınız!

然后在kloxo面板重启apache或lighttpd即可!

Yorumlar

全新安装失败kloxo面板打不开de解决办法

部分客户通过 安装Kloxo面板和中文语言包只要1行命令!的方法安装kloxo面板出现打不开kloxo面板后台的情况即使重装操作系统全新安装还是会失败kloxo面板后台还是打不开,Nasıl yapmalı?

现象

IE可以打开ip看到kloxo的提醒页面表示kloxo其实安装成功了访问 ip:7778 或 ip:7777 无法打开显示找不到服务器或404错误

原因

是yum库的ssl版本升级带来的kloxo问题

解决办法降级ssl然后重启kloxo下面2行命令即可

yum -y downgrade openssl mod_ssl httpd
Hizmetin Kloxo yeniden başlatma

yum -y downgrade无反应的解决办法

yum不是最新版不支持downgrade怎么办? 解决办法执行 yum -y update 搞定

yum -y downgrade 成功标志

Bağımlılıklar Çözülmüş

====================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================
yükleme:
httpd i386 2.2.3-31.el5.centos.2 updates 1.2 M
mod_ssl i386 1:2.2.3-31.el5.centos.2 updates 89 k
openssl i686 0.9.8e-12.el5_4.1 updates 1.4 M
Removing:
httpd i386 2.2.3-31.el5.centos.4 installed 3.1 M
mod_ssl i386 1:2.2.3-31.el5.centos.4 installed 173 k
openssl i686 0.9.8e-12.el5_4.6 installed 3.3 M

İşlem Özeti
====================================================================================================================================
Yüklemek 3 paket(s)
Update 0 paket(s)
Remove 3 paket(s)

Toplam indirme boyutu: 2.7 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): mod_ssl-2.2.3-31.el5.centos.2.i386.rpm | 89 kB 00:00
(2/3): httpd-2.2.3-31.el5.centos.2.i386.rpm | 1.2 MB 00:01
(3/3): openssl-0.9.8e-12.el5_4.1.i686.rpm | 1.4 MB 00:00
————————————————————————————————————————————
Total 402 kB/s | 2.7 MB 00:06
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
yükleme : openssl 1/6
yükleme : httpd 2/6
yükleme : mod_ssl 3/6
Cleanup : mod_ssl 4/6
Cleanup : openssl 5/6
Cleanup : httpd 6/6

Removed:
httpd.i386 0:2.2.3-31.el5.centos.4 mod_ssl.i386 1:2.2.3-31.el5.centos.4 openssl.i686 0:0.9.8e-12.el5_4.6

Kurulmuş:
httpd.i386 0:2.2.3-31.el5.centos.2 mod_ssl.i386 1:2.2.3-31.el5.centos.2 openssl.i686 0:0.9.8e-12.el5_4.1

Tamamlayınız!

Yorumlar

Kloxo编辑文件错误:file_exists_not_owned

kloxo在线编辑文件 提示错误 Alert: file_exists_not_owned 怎么办? 上传和覆盖也有类似错误

这是kloxo的一个bugThere was a very small mistake in the function check_file_if_owned_by_and_throw

解决办法

下载附件,dekompresyon,将得到的lxlib.php文件覆盖到下面路径的php文件

/usr/local/lxlabs/kloxo/httpdocs/htmllib/phplib/lxlib.php
附件:lxlib.zip
附件

Yorumlar

安装kloxo面板出现错误和乱码怎么办?如何禁用/关闭SELINUX?

安装kloxo面板出现错误和乱码如下,Nasıl yapmalı?

Başlangıç ​​MySQL: [ tamam ]
Failed loading /usr/local/lxlabs/ext/lib/Zend/lib/Optimizer-2.5.7/php-5.2.x/ZendOptimizer.so: /usr/local/lxlabs/ext/lib/Zend/lib/Optimizer-2.5.7/php-5.2.x/ZendOptimizer.so: cannot restore segment prot after reloc: Permission denied
Zend
200407220329342800x?
?
;o覲?E獟亰縼汎>砘RG:vN?M’66Κ

K二V嘅蝳9~%?Q筝{^鳒?
.[g裪Y椃Qa&9Ь
悶舃q5夆窹螱qZ,2?激蠙簒?]$#.?羡l}杅I槵硬*菢`*
0玎1E?Oz楰 K嵐L梣~Y驽?!?ja=@鎴?軁lO佟潃P诋W ?_?抿u?殺煗?G盽辙?撅+

解决办法

关闭SElinux然后重装kloxo。Sonra,如何禁用/关闭SELINUX?

  /usr/sbin/setenforce 0 立刻关闭 SELINUX

使用文本编辑工具打开 /etc/selinux/config
把 SELINUX=enforcing 注释掉:#SELINUX=enforcing然后新加一行为SELINUX=disabled
depolama,yakın。
这样重启系统后selinux也是关闭状态

sonra,重新安装kloxo即可方法安装Kloxo面板和中文语言包只要1行命令!

Yorumlar

为什么总是显示kloxo的默认页面?

通常你把域名解析到安装好kloxo的ip后会看到下面的kloxo默认页面为什么总是显示kloxo的默认页面? 通常几个原因下面的英文写得很清楚如果你在kloxo后台已经开了此网站(绑定了此域名)那么需要重启apache/lighttpd后才会生效如果重启了还不行那就需要核实对应的IP是否正确了

This is the Kloxo Default Page

If you are seeing this page, it means that web has not been configured for this domain on this server.

This could be due to the following causes:

•Kloxo has not restarted the web server yet after you added the domain. Please wait for the web server to restart.
•The domain is pointing to the wrong Kloxo server. Ping the domain and make sure that the IP matches one of the IPaddress seen in admin home -> ipaddresses
•If you are seeing this page when you try to access an IP like http://192.168.1.1, then that means that the IP has not yet been mapped to a domain. Go to client home -> ipaddresses -> ipaddress home -> domain config and map an IP to a domain.
•Once you map an IP to a domain, then you have to make sure that the domain pings back to the same IP. Otherwise, if you try to access the domain, you will get this page. So IP -> domain.com should mean that domain.com pings to the same IP.

Yorumlar

通过kloxo面板给服务器增加IP地址如何用kloxo配置和绑定多个IP地址?

如何通过kloxo面板给服务器增加IP地址? 默认的如果你的服务器有多个IP地址只要网卡配置文件类似ifcfg-eth0:1,ifcfg-eth0:2 格式kloxo都能默认识别出多个ip地址但是如果你没有去修改配置文件绑定IP地址,veya,是用的ifcfg-eth0-range0格式来批量添加IP地址那么kloxo可能识别不出来这会导致一系列的问题出现,比如出现网站始终无法正常显示总是显示kloxo的默认页面

如何用kloxo配置和绑定多个IP地址? 请看下图

下面的IP和子网掩码不能有错

如果提示Alert: ipaddress_already_configured说明IP已经绑定过了

如果提示 some other host uses this ip 说明你可能有类似这样的ifcfg-eth0-range0网卡配置文件冲突需要先删除他并service network restart 释放已经绑定的IP然后再重试

Yorumlar

安装Kloxo面板和中文语言包只要1行命令!

为了让本站的linux vps用户更方便的安装kloxo面板www.ctohome.com 特别制作了一行命令的安装方法

dikkat:本站只是为您提供Kloxo面板安装方法但并不提供相关的技术支持

安装Kloxo和中文语言包只要1行命令

wget http://www.CTOHome.com/linux-vps-pack/kloxo_with_chinese_language.sh;sh ./kloxo_with_chinese_language.sh;

将上面1行复制粘贴到您的linux ssh控制台里,girmek,等待完成即可!

如果安装不成功可能是有软件冲突请进入您的VPS系统面板重新安装centos5-x86的操作系统然后重试

安装完成后

请访问 http://IP:7778/ 进行面板的语言设置

在Appearance -> Language里选择 Chinese, Ardından güncelleme onayı tıklayın,面板就变成中文界面了!

如何添加域名/开设网站

1.先创建一个dns模板
2.添加域名
3.重启web软件(apache)
4.FTP上传文件, 解析好域名网站就可以打开了
5.为了安全请重新设置mysql数据库密码

CTOHOME的一行命令安装kloxo面板程序kloxo_with_chinese_language.sh 做了一些什么操作?

1.为安装kloxo面板软件作清理工作卸载有冲突的软件
2.安装kloxo相关软件包括 Apache,Lighttpd,PHP,MySql,phpMyAdmin,Zend,FTP 等等
3.安装kloxo面板中文语言包
4.修改apache配置文件让它默认支持中文简体编码
5.安装php-mbstring多字节编码库让php支持中文编码
6.暂停qmailnamed,courier-imap 服务以降低内存开销(如果你需要这些服务在kloxo面板重新开启即可)
7.禁用匿名FTP初始化发送邮件的主机为localhost
8.安装nmap端口查看软件nmap localhost 命令可以查看开启了那些服务开启了哪些端口

Yorumlar

kloxo怎么添加域名/怎么开网站

aşağıya bakın,登录kloxo后台点击左边“高级” 下面的 “域名” 链接,Şu anda,会提示需要您创建一个“dns模板”先创建dns模板(点击看教程)

输入你要绑定的域名例如 ctohome.com 注意这里不要输入www系统会自动绑定带www的域名例如上面输入ctohome.com,那么系统会自动绑定 www.ctohome.com 这个域名

第二要注意请去掉“ 启用状态记录”的勾不然日志文件会把你的空间占满让系统出问题

sonra,点击“add”就添加好域名了

如何上传文件?

用FTP软件服务器就是你的IP地址,Giriş adınız bağlayıcı etki alanıdır,如上图就是 ctohome.com (后面的.com别漏掉了),Varsayılan şifre şifrenizi Kloxo paneldir!

如何访问网站?

首先你需要给您的域名做好IP地址解析。sonra,没添加一个新的网站需要在kloxo后台重启web软件(请点击看教程)然后就可以访问网站了

Yorumlar