Archive for October 4, 2010

Kloxo/lxadmin不支持mb_substr,How to install mbstring?

Kloxo / lxadmin panel is not supported by default mbstrin,And other functions are not supported mb_substr。How to do? How to install mbstring?

The method of mounting the mbstring Kloxo:ssh login

[root@vps105 www.ctohome.com]# yum install php-mbstring
Loading “installonlyn” plugin
Setting up Install Process
Setting up repositories
lxlabsupdate 100% |=========================| 951 B 00:00
lxlabslxupdate 100% |=========================| 951 B 00:01
base 100% |=========================| 2.1 kB 00:00
updates 100% |=========================| 1.9 kB 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 2.1 kB 00:00
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
–> 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

Dependencies Resolved

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

Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 1.0 M
Is this ok [and / 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
Installing: php-mbstring ######################### [1/1]

Installed: php-mbstring.i386 0:5.2.6-5
Complete!

Then restart apache or lighttpd kloxo panel can!

Comments

The new panel installation fails kloxo open de solutions

Some customers by installing Kloxo panel and Chinese Language Pack,As long as one line command! The method of mounting the panel kloxo,Kloxo not open the case back panel appears, Even reinstall the operating system,The new installation,Still fail,kloxo panel background still open,How to do?

phenomenon:

IE may open ip,See page kloxo reminder,In fact, the installation was successful representation kloxo。Ip access:7778 Or ip:7777 Unable to open,Can not find server or displaying a 404 error

the reason:

Yum repository is ssl version upgrades of kloxo problem。

Solution,Downgrade ssl then restart kloxo,The following 2-line command to:

yum -y downgrade openssl mod_ssl httpd
kloxo service restart

yum -y downgrade unresponsive solution:

yum is not the latest version,It does not support the downgrade。How to do? Solution:Execution yum -y update to get

yum -y downgrade symbol of success:

Dependencies Resolved

====================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================
Installing:
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

Transaction Summary
====================================================================================================================================
Install 3 Package(s)
Update 0 Package(s)
Remove 3 Package(s)

Total download size: 2.7 M
Is this ok [and / 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
Installing : openssl 1/6
Installing : httpd 2/6
Installing : 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

Installed:
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

Complete!

Comments

Kloxo Edit File Error:file_exists_not_owned

kloxo online edit file an error Alert: file_exists_not_owned how to do? Upload and coverage have similar mistakes。

This is a bug kloxo of,There was a very small mistake in the function check_file_if_owned_by_and_throw

Solution:

Download attachments,Decompression,The resulting coverage to the underlying file lxlib.php php file path:

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

Comments

Kloxo panel installation error and garbled,How to do? How to Disable / off SELINUX?

Kloxo panel installation error and garbled,as follows,How to do?

Starting MySQL: [ OK ]
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?
?
Fang;o 覲?E Xiaojingxuanfan> RG Dun:vN?M’66Κ

K two generous Du V ~ 9%?Q Zheng{^ Qian?
.[g Tao Y Hao Qa&9b
Stuffy  Xi q5 butt Wuwei qZ,2?Stimulated 蠙 簒?]$#.? envy l}I Huan Yu hatch `* hard *fear
0Ding 1E?Oz Lan Yu K L ~ Y Nu ash?!?ja = @ Xi?Lou lO W Tong Xin P slander ?_?抿 u?Kill 煗?G Feng rut?Stick +

Solution:

Close SElinux,Then reinstall kloxo。Then,How to Disable / off SELINUX?

  /usr/sbin/setenforce 0 Immediately turn off SELINUX

Use a text editor to open the / etc / selinux / config
The SELINUX = enforcing commented:#SELINUX=enforcing ,Then add a new behavior:SELINUX=disabled
Save,shut down。
such,After the restart the system is turned off selinux。

then,You can reinstall kloxo。 method: Installation Kloxo panel and Chinese Language Pack,As long as one line command!

Comments

Why does it always displays the default page of kloxo?

Usually you the domain name resolves to the ip of installed kloxo,You see the following kloxo default page。Why does it always displays the default page of kloxo? Usually several reasons,The following very clearly written in English。If you kloxo background has opened this site (bind this domain),Then need to restart apache / lighttpd take effect after the。If the restart does not work,It would need to verify the correct corresponding 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.

Comments

IP address of the server to increase by kloxo panel,How kloxo configuration and binding multiple IP addresses?

How to add IP addresses to the server via kloxo panel? default,If your server has multiple IP addresses,As long as the card is similar to the configuration file ifcfg-eth0:1,ifcfg-eth0:2 format,kloxo can identify multiple default ip address。But if you do not have to modify the configuration file bind IP address,or,IP addresses are added to the batch with the ifcfg-eth0-range0 format,So kloxo could not identify them,This can cause a range of problems,For example, the site always appears not display properly,Always display the default page kloxo。

How kloxo configuration and binding multiple IP addresses? See below:

The following IP and subnet mask,You can not be wrong

If prompted Alert: ipaddress_already_configured,Description IP has been bound over。

If prompted some other host uses this ip that you might have something like this ifcfg-eth0-range0 card configuration file conflict,He needs to be deleted,And service network restart release already bound IP,Then try again。

Comments

Installation Kloxo panel and Chinese Language Pack,As long as one line command!

To make linux vps site users more easily install kloxo panel,www.ctohome.com produced a special command line installation method,

note:Site only provides Kloxo panel installation method you,But it does not provide technical support。

Chinese language pack and install Kloxo,As long as a command line:

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

The above line 1 copy,Paste it into your linux ssh console,Enter,We can wait for completion!

If the installation is unsuccessful,There may be a software conflict。Please enter your VPS system panel,Reinstall centos5-x86 Operating Systems。And try again。

After the installation is complete:

Please visit http://Your IP:7778/ The language setting panel

Select Chinese> Language in - in Appearance, Then click update confirmation,Panel to become a Chinese language interface!

How to add a domain / web site creation:

1.Create a template dns:
2.Add domain name:
3.Restart web software (apache):
4.FTP upload files, Good analytical domain name,Web site can be opened。
5.for safety,Please re-set the mysql database password:

CTOHOME the command line installation program kloxo_with_chinese_language.sh kloxo panel made some what action?

1.Kloxo panel for the installation of software for the clean-up work,Uninstall the conflicting software
2.Kloxo install related software:Including Apache,Lighttpd,PHP,MySql,phpMyAdmin,Zend,FTP, etc.
3.Kloxo Chinese language pack installation panel
4.Modify the apache configuration file,Let it default support Simplified Chinese encoding
5.Installation php-mbstring multibyte encoding library,Let php support Chinese encoding
6.Pause qmail,named,courier-imap service,In order to reduce memory overhead (if you need these services,You can re-open in kloxo panel)
7.Disable anonymous FTP,Host initialization sending mail to localhost
8.View software installed nmap port,nmap localhost command to view open up those services,Open which ports

Comments

kloxo how to add domain / how to open website

See below,Login kloxo background,Click on the left of the "Advanced" following "domain" link,At this moment,You will be prompted to create a "dns template",Create dns template (Click to see tutorial)

Enter the domain name you want to bind,For example ctohome.com Note,Do not enter www here,The system automatically binding domain with the www,The above input ctohome.com e.g.,Then the system will automatically bind this domain www.ctohome.com。

Second pay attention,Please remove the "Enable state record," the hook,Otherwise, the log file will fill your space,Let the system go wrong。

then,Click "add",Just add a good domain name。

How to upload files?

Using FTP software,IP address is your server,Your login name is the binding domain,As shown above is ctohome.com (do not miss the back of the .com),The default password is your kloxo panel password!

How to access the website?

First of all,You need to do your domain IP address resolution。then,Did not add a new site,Need to restart the web kloxo background software (click here to see the tutorial),Then you can visit the website。

Comments