Archive for October, 2010

How to change the default port 7778 kloxo panel and 7777

After kloxo panel installation,The default port is 7777 and 7778,This may be a security risk。If you want to modify it,You can own operation。1Minutes to get。How to change the default port 7778 kloxo panel and 7777? See below,We changed to 10086 and 10085,It is easy to remember。Please log in to your vps ssh modified,重启 kloxo kloxo 面板 service restart。www.ctohome.com remind you,Recommended to choose the port number greater than 10,000,So there is a conflict with other software ports。

prompt:Configuring LxAdmin / HyperVM login port。 Changed after,You will need to restart to take effect。可执行命令 cd /usr/local/lxlabs/kloxo/httpdocs ; lphp.exe ../bin/common/misc/defaultport.php and restart the service to revert to the default login port。

Comments

How to modify the default ssh port 22 in kloxo panel

The default SSH port is 22,Any know linux knows,To avoid boring people scan,Preferably to 10,000 or more,Others to port scan chances will fall。How to Modify ssh in kloxo panel default port 22 it? See the figure,We changed 11185,Remember it。

If you are already in ssh terminal,As root, you can restart the service sshd restart ssh。However, after testing www.ctohome.com,we discover,Lane changes in the kloxo,Ssh connection again,It has become a new port。

If you root password complicated enough (12 or more,Mixed uppercase and lowercase letters + numbers),You do not need to disable the root login。New CAUTION,Do not hook yourself on not landing ssh。

Comments

Kloxo Close logs and site statistics,Reduce the space occupied,Avoid vps not work

A morning to get a customer reflects a lack of space,He said that the space I use www, In fact, very few of,But 50G space almost full:

Filesystem Size Used Avail Use% Mounted on
/dev/simfs 50G 47G 3.1G 94% /

Official statement:

Every day, if the log file’s size is larger than 50MB, they are moved into the client’s home directory. If you set the remove_processed_logs as true, then instead of moving, they will be deleted. Your main statistics calculation will not be affected at all.

In Kloxo / Lxadmin add a domain name,The default is to open the site statistics. When you add the domain name is recommended to turn off this feature。If you do not shut down and traffic statistics lot,Before long the hard drive will be explode statistics file。If your MySQL does not start,It is likely to be the reason。You can turn off the lower position shown in FIG Statistics

To prevent this from happening,Please make the following settings:

ssh login vps,Delete the existing statistics file
Enter the command:
rm -f /home/admin/__processed_stats/*

If the hard disk has been filled and the database can not be started,lxadmin not open,You can log on to perform the removal operation of the system with SSH,command:
rm -f /home/admin/__processed_stats/*
After the deleting start MySQL,command:
service mysqld start

After avoiding also generates more log,It recommended that each domain name do the following settings:

A customer's process:

Customers reflect kloxo can not enter the background,And all the open site。To check,You can ping,Can ssh。Nor restart kloxo。strange。So a look df,Space is full。Following treatment:

[[email protected] __processed_stats]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/simfs 20G 20G 0 100% /
[[email protected] __processed_stats]# pwd
/home/admin/__processed_stats
[[email protected] __processed_stats]# -m -s .
19426 . Logs take up 19G
[root@vps76 __processed_stats]# rm -f /home/admin/__processed_stats/*

Restart kloxo

kloxo service restart

Comments

KLOXO background admin can not log,Alert: not_in_list_of_allowed_ip 解决办法

If your login kloxo background,Tip Alert: not_in_list_of_allowed_ip,This is most likely you are not careful to set up IP restrictions,For example whitelist blacklist,He refused to give himself up outside。 How to do?

Log in as root ssh,carried out:
/script/clearallowedblockedip –class=client –name=admin
See the following prompt:

AllowedIp Sucessfully cleared for client:admin
Says admin unblocked,This time you can log in normally kloxo,Be careful not to put themselves in refused。

Comments

Forgot Kloxo admin login password how to restore your password?

Forget Kloxo the admin login password how to restore your password? Only reinstall it? Too painful。

Do not worry,There is a way,ssh root user login,Run the following command to reset the admin password:

cd /usr/local/lxlabs/kloxo/httpdocs;lphp.exe ../bin/common/resetpassword.php master ctohome the above command kloxo new password reset for ctohome

then,Your background can log kloxo。After logging,Change your password。

Comments

lighttpd 500 error Turn off xcache,Close fastCGI

Although the default is not turned xcache kloxo,But sometimes not careful on the,Unknowingly opened xcache。If it turns xcache,lighttpd 500 error please try to close xcache。

If not enough,Fastcgi try again Close。

Not enough,You can also try adding a few more lighttpd process method:In LIGHTTPD.CONF which added:

server.max-worker = 6

# max-connections == max-fds/2 (maybe /3)
server.max-connections = 1024
server.max-fds = 2048

#Maximum number of seconds until an idling keep-alive connection is dropped.
server.max-keep-alive-idle = 5
server.max-keep-alive-requests = 1000

Comments

Chinese garbled pages for UTF-8,kloxo panel switched to apache lighttpd method

Since the vast majority of Chinese pages when encoding is gb2312, so we kloxo panel installation,The default encoding of apache changed gb2312 (Simplified Chinese),If your program / web page is the default encoding of UTF-8,Then please switch to lighttpd,Such acquiescence is to support UTF-8 encoding。

kloxo panel switched to apache lighttpd method:

Login kloxo background,Click on the left server:linux => switching program => Select lighttpd and djbdns => Click update => Wait 10 seconds to refresh your page to see results。

If the page does not open,Probably lighttpd does not start,Please start:

Restart Lighttpd,As shown below,In server:linux = "Services =" Click lighttpd this line of three blue dots (I've added a shadow)

Comments

With lxadmin File Manager to modify permissions to the directory (including subdirectories)

How to set up a directory,And let him inside all the attributes are changed to 777 (written permission)? Lxadmin file manager with authority to modify the directory (including sub) method follows FIG.,Remember to Change Permssion Recursively check to make all the subdirectories and files can also change the attributes:

Comments

KLOXO Why UTF-8 / GBK / GB2312 pages of Chinese garbled

Installed KLOXO,The default is apache web server,Sometimes you may wonder:KLOXO Why UTF-8 / GBK / GB2312 Chinese web pages garbled? This is due to the encoding output set would be forced apache UTF-8 or caused GBK,And your web pages are not in the coding,So there will be problems Chinese garbled。

How to solve the problem? simplest,It is switched to Lighttpd web service software。

apache kloxo panel switched to a method for lighttpd:Kloxo into the background = "server:linux => = handover procedure "Choose lighttpd =" update point。As shown below:

If you want to use apache,We need to find the apache httpd.conf,Modify the default encoding settings,as follows:

First landing VPS with SSH,Modify the httpd.conf file

cd /etc/httpd/conf/
vi httpd.conf

Seek:AddDefaultCharset
The:AddDefaultCharset UTF8
Changed:AddDefaultCharset OFF

In this case,When it will open the page in accordance with encoding settings page to open the page。

Enter the following command to restart Apache
service httpd restart

Comments

Kloxo FTP connection timeout,Sometimes you can FTP,Sometimes I can not upload,what happened?

Use KLOXO panel,FTP connection timeout,Sometimes you can FTP,Sometimes I can not upload,what happened? This is most likely because Lxguard function caused kloxo panel. Solution: Guard Lx disable or whitelist (not fixed due to the total IP's ADLS,IP whitelist setting is not very good):

Lxguard Profile:Lx guards(Lxguard)The effect is to prevent brute force ssh and ftp。When someone tries to enumerate password ftp or ssh,After the cumulative number of errors,It will be blacklisted。This feature can not be disabled,But you can adjust the allowed number of failed logins or white list。

Prohibited FTP link IP example of Figure (number of failures exceeds a predetermined 21 times,The future will no longer be linked):

Solution: Disable Lx guards

Comments

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

« Previous Page« Previous entries « Previous Page · Next Page » Next entries »Next Page »