Tips Of Use Centos VPS Kloxo
Article by Andera Perez
Part I: Troubleshooting chapter
If you kloxo Manage, suggesting Alert: not_in_list_of_allowed_ip, it is likely that you are not careful to set the IP restrictions, such as the white list blacklist, to reject out of their own. How to do?
Log in as root ssh, execute:
/ Script / clearallowedblockedip-class = client-name = admin
See the following prompt:
AllowedIp Sucessfully cleared for client: admin
It means admin lifted, this time you can log in normally kloxo, careful not to put themselves in the rejected.
(2) accidentally modify the wrong or forget kloxo password!
Accidentally forgot password how to do? In fact, very simple root login ssh, execute cd / usr / local / lxlabs / kloxo / httpdocs
And then execute lphp.exe .. / bin / common / resetpassword.php master you want to set a new password
Tip: You can copy the above password, click the right mouse button in the putty on the self-adhesive, oh! ! !
This password is reset, and to experience the next bar
For security reasons, generally to modify the panel out of the default port of 7777 and 7778, modified to ssh to run:
/ Script / restart
Restart kloxo service to take effect.
3.kloxo panel could not land, how to change mysql password?
We support the kloxo panel has reset mysql password function, but if you open kloxo how to do it? In accordance with the following methods to solve
ssh linked server, root login, then enter the following command line, enter, mysql root password will be reset to empty.
php / usr / local / lxlabs / kloxo / bin / common / misc / reset-mysql-root-password.phps;
Then restart kloxo: service kloxo restart
Part II: daily use articles
1 How kloxo panel to modify the default port 22 ssh
The default SSH port 22, any know linux knows that, in order to avoid boring people scan, preferably to more than 10,000, the chances of someone to port scanning will decline. How kloxo panel to modify the default ssh port 22 it? Click on the left tree, double-click the security option to open the safe, click on the first SSH Configuration, SSH port to enter a new port on it, be sure to remember!
2 How do I change the default port 7778 kloxo panel and 7777
kloxo panel installation, the default port is 7777 and 7778, which may be a security risk. If you want to modify it, you can own operation. 1 minutes to get. How do I change the default port 7778 kloxo panel and 7777? Recommended to choose the port numbers greater than 10000, avoid conflict with other software ports.
Modify the way: the left tree, open the port settings enter the new port number on it, two must be changed, the next time it is not 7778 login, please keep in mind!
Modified, please ssh login to your vps, perform service kloxo restart restart kloxo panel. Or restart the VPS.
Tip: Configure LxAdmin / HyperVM login port. Changes, will need to restart to take effect. Executable command cd / usr / local / lxlabs / kloxo / httpdocs; lphp.exe .. / bin / common / misc / defaultport.php and restart the service to revert to the default login port.
3.Kloxo off logs and site statistics, to reduce the space occupied by
In Kloxo / Lxadmin to add a domain name, the default is to open the site statistics is recommended that when adding the domain name to turn this off. If you do not turn off statistics and traffic is heavy, long before the hard disk will be statistics file explode. If your MySQL does not start, or disk space is full, most likely for this reason. Position can turn off the statistics shown below
To avoid this from happening, make the following settings:
ssh login vps, delete existing statistics file
Enter the command:
rm / home / admin / __processed_stats / *
If the drive has been filled and the database can not be started, lxadmin can not open, you can use SSH to log into the system to perform the delete operation, the command:
rm / home / admin / __processed_stats / *
Deleted start MySQL, the command:
service mysqld start
So to understand the seriousness of the problem, we solve the problem at source, log kloxo panel, open the Domain tab, any a domain name, click traffic logging options, delete archived logs! Of course, when creating the domain name record directly remove this option enabled you can! !
4.kloxo how to add domain / how to open sites?
Web site, must be to create a DNS template, first find your domain’s dns what is ready. Generally where your domain name registered, you can register a domain control panel manufacturers to find your domain name dns. On the left, expand the Resources tab, find DNSm template, the template name you can enter your domain name, web site’s IP will be automatically selected post offices, fill out from the primary and secondary DNS DNS domain name or your business get the dns is currently in use can be !
After we add a good DNS domain names can be added. Sign kloxo background, click on the left “Advanced” below the “Domain Name” link, enter the domain name without www connection address, this address is equivalent to [both] the root directory includes the domain name you can enter your address easy to distinguish, it can other names, please remove the “record enabled” the hook, the other is selected, the log is not enabled because it occupies too much space, and no need to record, click Add to it
After adding a good upload files using FTP, when account is your domain name, the password is kloxo related account [default] corresponds to the admin account password
5 How to assign permissions to the directory or file management
When entering the kloxo file manager will be right there, where you can manage your files, directories with a trailing rx like that authority, you can check the website for the convenience of the directory 777 is the following three lines are checked, bottom line there is a small box behind the English, this means that file permissions are inherited, we generally choose him, so that you can set the time to write the entire site! High demand can set permissions for each file!
6 How to extract the files to download
In fact, sometimes for convenience, the domestic foreign FTP upload slower than we can use the root login SSH, enter the relevant directory, usually web directory cd / home / admin / domains /
Enter wget http:// address of the file to be downloaded this time it will automatically download the file to your web directory!
Then we use the above-mentioned document management into the site directory, file name is preceded by a small icon, you can click on to decompress operation, the extract has finished you can use to adjust under the root directory on the FTP log can! Of course, if you feel trouble can upload file to decompress it! Note that, try using the zip format archive, extract relatively simple!
In fact, many features did not say, we can look to their own situation on her own, such as support for each site to set the default priority of the document, load the components, etc., the background also supports configuration php, phpmyadmin, mysql information set and so on. . . . Very powerful, we can discuss a problem!
About the Author
Andera Perez - apparel and outdoor equipment marketing, working in the outdoor industry more than 10 years. Carring on three online store to sell outdoor apparel. Very honored to share my experience with you! How to choose Moncler and Moncler V click here. Welcome visit my websites to get more information.