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

Lxadmin_ Install CSF Firewall _ coping DDOS attacks

one,Download and install
01.cd /usr/local/src

02.wget http://www.configserver.com/free/csf.tgz

03.tar -zxvf csf.tgz

04.cd csf

05../install.sh
two,CSF configuration
To HypeVm and normal use of lxadmin,Need to add 777 *,888*5558 port and support
1,配置端口(/etc/csf/csf.conf)
Increase TCP port supports (HypeVm and Lxadmin required):7776,7777,7778,7779,8886,8887,8888,8889,5558

# Allow incoming TCP ports
TCP_IN = “20,21,22,25,53,80,110,143,443,465,587,993,995,7776,7777,7778,7779,8886,8887,8888,8889,5558”

# Allow outgoing TCP ports
TCP_OUT = “20,21,22,25,53,80,110,113,443,7776,7777,7778,7779,8886,8887,8888,8889,5558”

2,打开MONOLITHIC_KERNEL支持(/etc/csf/csf.conf)

01.# One example is if the ip_conntrack and ip_conntrack_ftp iptables kernel

02.# modules are not available. If this happens, FTP passive mode (PASV) won’t

03.# work. In such circumstances you will have to open a hole in your firewall and

04.# configure the FTP daemon to use that same hole. For example, with pure-ftpd

05.# you could add the port range 30000:35000 to TCP_IN and add the following line

06.# to /etc/pure-ftpd.conf (without the leading #):

07.# PassivePortRange 30000 35000

08.# Then restart pure-ftpd and csf and passive FTP should then work

09.MONOLITHIC_KERNEL = “1”

3,If you want to be able to ping the server with your HyperVm,Need to set (/etc/csf/csf.conf):

01.# Allow incoming PING

02.ICMP_IN = “1”.

4,If you are using virtualization technology OpenVz,You need to add the following statement to your file /etc/csf/csfpre.sh:
01.iptables -A INPUT -i venet0 -j ACCEPT

02.iptables -A OUTPUT -o venet0 -j ACCEPT

03.iptables -A FORWARD -j ACCEPT -p all -s 0/0 -i venet0

04.iptables -A FORWARD -j ACCEPT -p all -s 0/0 -o venet0

Note 1:/etc / csf / csfpre.sh may not exist,You need to create it。Each time you run the CSF will execute this file。

three,CSF test
01.service csf start

If the words,Turn off the test function (Configuration /etc/csf/csf.conf)
01.# Testing flag – enables a CRON job that clears iptables incase of

02.# configuration problems when you start csf. This should be enabled until you

03.# are sure that the firewall works – i.e. incase you get locked out of your

04.# server! Then do remember to set it to 0 and restart csf when you’re sure

05.# everything is OK. Stopping csf will remove the line from /etc/crontab

06.TESTING = “0”

four、Restart CSF
01.service csf restart

Fives、Advanced configuration (/etc/csf/csf.conf)
You can turn off the tracking process and the user process。
01.PT_USERTIME = “0”

02.PT_LIMIT = “0”

03.PT_USERPROC = “0”

Comments

linux batch modify file and folder permissions

E.g:Permissions for all directories under a recursive directory should be set to 755,Each directory can be modified,But this is too much trouble,Also write

find -type d -exec chmod 755 {} \;
same,All files in the directory permissions recursively into 644 may perform such:

find -type f -exec chmod 644 {} \;

Comments

Check the hard disk usage time under centos

yum install smartmontools -y

Then enter this:
smartctl -A /dev/sda
If not, take a look at the hard disk with the name df,It can be changed to sda
=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0×000f 083 063 044 Pre-fail Always – 204269687
3 Spin_Up_Time 0×0003 099 099 000 Pre-fail Always – 0
4 Start_Stop_Count 0×0032 100 100 020 Old_age Always – 18
5 Reallocated_Sector_Ct 0×0033 100 100 036 Pre-fail Always – 0
7 Seek_Error_Rate 0×000f 069 060 030 Pre-fail Always – 7825289
9 Power_On_Hours 0×0032 099 099 000 Old_age Always – 1626
10 Spin_Retry_Count 0×0013 100 100 097 Pre-fail Always – 0
12 Power_Cycle_Count 0×0032 100 037 020 Old_age Always – 18
184 Unknown_Attribute 0×0032 100 100 099 Old_age Always – 0
187 Reported_Uncorrect 0×0032 100 100 000 Old_age Always – 0
188 Unknown_Attribute 0×0032 100 099 000 Old_age Always – 12
189 High_Fly_Writes 0×003a 100 100 000 Old_age Always – 0
190 Airflow_Temperature_Cel 0×0022 072 069 045 Old_age Always – 28 (Lifetime Min/Max 25/31)
194 Temperature_Celsius 0×0022 028 040 000 Old_age Always – 28 (0 22 0 0)
195 Hardware_ECC_Recovered 0×001a 050 047 000 Old_age Always – 204269687
197 Current_Pending_Sector 0×0012 100 100 000 Old_age Always – 0
198 Offline_Uncorrectable 0×0010 100 100 000 Old_age Offline – 0
199 UDMA_CRC_Error_Count 0×003e 200 200 000 Old_age Always – 0

Which it is hard to use Power_On_Hours hours,If it is hard to use Power_On_Minutes minutes,E.g:
9 Power_On_Minutes 0×0032 201 201 000 Old_age Always – 649h+23m

Comments

CentOS installation tutorial under SolusVM

First of all:

cp /etc/yum.repos.d/CentOS-Base.repo.original /etc/yum.repos.d/CentOS-Base.repo

Bath server must first delete the original mysql
yum remove mysql mysql-client mysql-server
Then begin downloading and executing the installation script solusvm

wget http://soluslabs.com/installers/solusvm/install
chmod 755 install
./install

Wait for the installation to succeed

Comments

openvz iso download module

File Date Size
centos-4-x86.tar.gz (signature)2010-07-10 03:47:44151 Mb
centos-4-x86_64.tar.gz (signature)2010-07-10 03:46:19164 Mb
centos-5-x86-devel.tar.gz (signature)2010-07-10 03:54:25192 Mb
centos-5-x86.tar.gz (signature)2010-07-10 03:56:04171 Mb
centos-5-x86_64-devel.tar.gz (signature)2010-07-10 03:49:36203 Mb
centos-5-x86_64.tar.gz (signature)2010-07-10 03:52:32181 Mb
debian-3.1-x86.tar.gz (signature)2010-07-10 03:56:55110 Mb
debian-4.0-x86.tar.gz (signature)2010-07-10 03:58:45112 Mb
debian-4.0-x86_64.tar.gz (signature)2010-07-10 03:57:53135 Mb
debian-5.0-x86.tar.gz (signature)2010-07-10 04:00:46132 Mb
debian-5.0-x86_64.tar.gz (signature)2010-07-10 03:59:47134 Mb
fedora-9-x86.tar.gz (signature)2010-07-10 04:18:35174 Mb
fedora-9-x86_64.tar.gz (signature)2010-07-10 04:16:58189 Mb
fedora-10-x86.tar.gz (signature)2010-07-10 04:04:27182 Mb
fedora-10-x86_64.tar.gz (signature)2010-07-10 04:02:49197 Mb
fedora-11-x86.tar.gz (signature)2010-07-10 04:08:04200 Mb
fedora-11-x86_64.tar.gz (signature)2010-07-10 04:06:16201 Mb
fedora-12-x86.tar.gz (signature)2010-07-10 04:11:36192 Mb
fedora-12-x86_64.tar.gz (signature)2010-07-10 04:09:51196 Mb
fedora-13-x86.tar.gz (signature)2010-07-10 04:15:12192 Mb
fedora-13-x86_64.tar.gz (signature)2010-07-10 04:13:25199 Mb
suse-11.1-x86.tar.gz (signature)2010-07-10 04:25:36164 Mb
suse-11.1-x86_64.tar.gz (signature)2010-07-10 04:23:54168 Mb
ubuntu-7.10-x86.tar.gz (signature)2010-07-10 04:33:21107 Mb
ubuntu-7.10-x86_64.tar.gz (signature)2010-07-10 04:32:30109 Mb
ubuntu-8.04-x86.tar.gz (signature)2010-07-10 04:34:58108 Mb
ubuntu-8.04-x86_64.tar.gz (signature)2010-07-10 04:34:10110 Mb
ubuntu-8.10-x86.tar.gz (signature)2010-07-10 04:36:57122 Mb
ubuntu-8.10-x86_64.tar.gz (signature)2010-07-10 04:35:55125 Mb
ubuntu-9.04-x86.tar.gz (signature)2010-07-10 04:38:53124 Mb
ubuntu-9.04-x86_64.tar.gz (signature)2010-07-10 04:37:56128 Mb
ubuntu-9.10-x86.tar.gz (signature)2010-07-10 04:40:48125 Mb
ubuntu-9.10-x86_64.tar.gz (signature)2010-07-10 04:39:50127 Mb
ubuntu-10.04-x86.tar.gz (signature)2010-07-10 04:31:41131 Mb
ubuntu-10.04-x86_64.tar.gz (signature)2010-07-10 04:30:43134 Mb

Comments

XenServer mount point of ISOs

ask:In XenCenter was not seen ISOs mount point,How to do?

answer:

1. xe sr-create name-label=ISOs type=iso device-config:location=/var/opt/xen/iso_import device-config:legacy_mode=true content-type=iso

2. Vehicle-mount-iso-sr / var / opt / intercropping / iso_import

Comments

For cPanel nginx automatically install script

1.Complete directory password protection — The original author of the package inside,And can not do,The reason is that no judge status code 401.
2.Pseudo-static function — Whether you are ending or in html”/” The end of the URL address,The existence of the file / directory nginx will determine in advance the file system,If there is no,It will match the apache backend. The backend settings apache .htaccess file in accordance with,On display pages,Nginx front-end to get the content after compression,Visitors then passed to the browser.
3.Access log records accurate — The installation package author,Is nginx and apache share the same log file records .nginx recording static pages of information access,apache record dynamic page access information,Theoretically feasible, but in actual use,I found the problem. The problem is that a breach of the match when the suffix .html,At the same query front-end and back-end nginx apache. This resulted in duplicate log. Another is the number does not match any suffix,Only the front end of the process and records the visitor's request,It will initiate a request to query the back-end, but not because of the large file transfer is completed soon,So even set keepalive not help. In my installation package,I will be back-end user configuration Africa encryption port journaling canceled,Nginx entirely recorded by the distal end.
4.Log cutting issues — The problem from the front said the first 3:00 modifications,If you just modify the first 3:00 without performing this step,You will encounter a problem:When performing user access logs and cut into statistics page displayed to the user to see,The system will automatically delete the user's log,Cause the log access to the information after it lost nginx until the next reboot. After tracking log statistics cpanel process,Find / usr / local / cpanel / bin / safeapacherestart line. This line of action is to allow apache log after cutting can be safely restarted. The solution is to change a way of restarting nginx,I will be adding information to restart apache nginx restart command,After apache only need to perform command operations on it.
5.Pan-domain name resolution — cpanel support pan-domain name resolution,But also in terms of business as the host,Pan is also a feature of the domain name,We need to use it, but the author's version and my version before modifying,And no support for this conduct,Once the client has a pan-binding domain,We will not start the nginx,All users of the site affected. So this update contains this feature.
6.Proxy_cache based caching system — This is what I added,An optional feature. Delete cached method can follow squidclient manner. Unbuffered installed version http://icodex.org/public_nocache.tar

Also note,Netizens mentioned that string is a prompt to restart nginx after. This is a warning message prompts you to name the host for errors,It does not affect the use of.

Installation method and the same as the original author, please do the following installation!

cd /usr/local/src
wget http://icodex.org/public.tar
tar xf public.tar
cd publicnginx
./nginxinstaller install

After installing,Restart nginx,Excuting an order:/etc / init.d / nginx restart.Nginx configuration files are in / etc / nginx among,Each user binding domain(Additional fields,Subdomains etc.)They are in the / etc / nginx / vhosts

Uninstall:

After entering publicnginx execution ./nginxinstaller uninstall directory.

Comments

cpanel online file compression method

File Manager (File Manager) can extract the files,You can also compress files。Flexible operation,Easy to use。

The use of compressed files online:
Backup download site、File transfer and other operations。

cpanel online file compression method:

1、Login cpanel background,Click the File Manager (File Manager),As shown below:

2、 Select the directory you want to open,Click the "go" button,As shown below:

3、Into the appropriate folder,To select the compressed file or folder,Click on the top right corner of the "compression" button,As shown below:
(Hold down the ALT key on the keyboard does not let go,You can select multiple files with a mouse click button.)

4、Select compression format(Usually with zip)、Storage path and file name(Generally do not modify,default),Click "Compress Files",As shown below:

After completion of compression,You can see the compressed package. The results confirm that the correct and close the window.

Comments

cPanel decompress files online(Detailed、Graphic tutorial)

Online file decompression functions cPanel effective solution to the problems in the US space ftp upload speed is slow,Archive via ftp upload,Speed ​​quickly。

note:
cPanel only supports zip、tar、gzip and bzip2 four compressed file format!
So when we upload files via ftp tool,To advance the site's files into a zip format。

(Unzip the file format is not supported rar,.rar format so you can not upload the file and use Cpanel decompression.)

Here's a file manager (File Manager) to detail the cPanel-extracting file online method steps:
1、Log cpanel control panel,Click on "File Manager (File Manager)",As shown below:

2、Select the directory you want to open,Click on "go" as shown below:

3、To find the extracted files,And click on the file,Then find the "unzip" button in the upper right corner of the page,And click。If as shown in the FIG.:

4、As shown below,Click "Extract Files" button (decompression button)

Unzip,Turn off window。

Finally, do not forget to upload their own zip archive deleted to free up space。

Comments

How to set up additional domain cpanel(addon domain)(A space to do more than one site)

This article describes additional fields provided cpanel(addon domain)To achieve a space to do more than one website method。

Additional fields(addon domain)

effect:It can be achieved through a space to put a number of different sites。Which it is able to bind subdirectory。

E.g:I applied for a domain name cpanel space with yourdomain.org,If I have another domain cpanel123.com ,Then,I do not need to buy a new space,The direct use of additional domain(addon domain)Features,You can add a new website in space。

cpanel to set up a space in multiple sites of methods:

1,First, log in to Cpanel control panel。Click Additional Domain(addon domain)。FIG follows:

2,Enter the domain name in the input box,For example cpanel123.com etc.(Note that do not fill www),
In the second input box click the left mouse button,then,Input box will automatically fill in the username cpanel123
The third input box will automatically fill in directory /public_html/cpanel123.com
enter password,
Enter the password again
Finally, click "Add Domain" (Add) button。FIG follows:

Then,The domain is set success。

A note on the example of:

Cpanel123.com system will automatically create a folder in the root directory of your site (public_html),cpanel123.com folder is the root of this new site,Directly to the website upload files to the directory /public_html/cpanel123.com/。

prompt:
cpanel123.com into your domain name when the actual operation。

Precautions:

If you are prompted an error tied to the domain name,Modify the domain name analytic NS,NS used to ensure that the domain name is provided by the host NS,Rather than your own meter's NS,Otherwise it is not tied on!(Host ns,Contact hosting provider can obtain a copy)

Comments

How to set up the secondary domain name cpanel(Subdomains)

This article describes how to set up the secondary domain name cpanel(Subdomains):Make your website visible, such as:bbs.yourdomain.com form。

1,Subdomain(Subdomains)

Subdomain is set up top-level domain of second level domain。
such as:Your domain name is yourdomain.com,You can set the secondary domain name of the form
bbs.yourdomain.com,blog.yourdomain.com 等。

Now start adding Subdomains(Subdomain)

1,First, log in to Cpanel control panel。Click Subdomains(Subdomain),Enter the sub-domain maintenance (Sub Domain Maintenance) page。FIG follows:

2,Enter the subdomain prefix in the input box,For example, bbs etc.,
Then select from a list of domain name suffixes in the back,For example cpanel123.com etc.,
In the second input box click the left mouse button,then,Input box will automatically fill in the directory / public_html / bbs
Finally, click "Add" (Add) button。FIG follows:

Then,Two domain names is set up successfully。

A note:Bbs system will automatically create a folder in the root directory of your site (public_html),bbs directory is the root directory of the secondary domain name,Directly upload files to secondary domain name of the website / public_html / bbs / directory。

Comments

How to set suspend domain cpanel(parked domain)(A site has multiple domain names)

This article describes how to set suspend the domain cpanel(parked domain),Has set up a website to achieve multiple domain names。

Suspended Domain、Alternate domain name(parked domain)

effect:Multiple domains bind to the same site。That,Have multiple domain names with a website,If the other domain can also bind to this space。

For example, you have the following three domain:yourdomain.com、yourdomain.net、yourdomain.org,
You can use the parked domain function,Put a few are bound to the domain name space,Let these domain names point to the same website。
(Ie, the same site can have several different domain names)。

cpanel add a pause domain method:

1,First, log in to Cpanel control panel。Click Pause domain(parked domain)。FIG follows:

2,Enter the new domain name in the input box,Then click "Add Domain" button,FIG follows:

After the success tips,We can use the new domain name visit this site。

Precautions:

If you are prompted an error tied to the domain name,Modify the domain name analytic NS,Make sure you use the meter NS is provided by the host NS,Rather than your own meter's NS,Otherwise it is not tied on!(Host ns,Contact hosting provider can obtain a copy)

Comments

Methods cpanel panel binding domain

This article describes the role of cpanel Spatial variations in binding domain,It allows you to select the appropriate domain name binding, according to their actual situation。

One of the advantages is that foreign cpanel space:Binding domain more convenient。
We used three kinds of ways binding domain:
1,Subdomain(Subdomains)
2,Suspended Domain、Alternate domain name(parked domain)
3,Additional fields(addon domain)。

1,Subdomain(Subdomains)

Second-level domain is the subdomain you bind on a host of top-level domain。
such as:Your domain name is yourdomain.com,You can set the secondary domain name of the form
bbs.yourdomain.com,blog.yourdomain.com 等。

2,Suspended Domain、Alternate domain name(parked domain)

effect:Multiple domains bind to the same site。

For example, you have the following three domain:yourdomain.com、yourdomain.net、yourdomain.org,
You can use the parked domain function,Put a few are bound to the domain name space,Let these domain names point to the same website。
(Ie, the same site can have several different domain names)。

3,Additional fields(addon domain)

effect:It can be achieved through a space to put a number of different sites。Which it is able to bind subdirectory。

Comments

cpanel add a database approach(Establish mysql)

cpanel control panel is easy to set up、delete、Database Management。

Create a new MySQL database requires only three steps:
1,build database,
2,Create a user name and password;
3,Adding users and permissions to the database。

Specific steps are as follows:

First login cpanel background,Locate the database area,Then click on the icon to enter the database mysql "database operation page",As shown below:

1,First, a new database;
In the input box, enter the name you plan to use the database,For example cpdb,Then click on the background of the "Add Database" button,As shown below:

After a successful database creation,Click "Back" button,

2,Then establish a database user name and password;
As shown below,Sequentially inputted
username;
password;
confirm password;
Then click on the "Create" button.

3,Assign permissions to the database and add users,So that the database user has permission to use the database just created。
As shown below,Choose a username and database name,Then click the Add button,Assign access rights page,

As shown below,Check the "all rights"。Click the "Change" button。ok

At this time we have successfully created a new database,And added user permissions for this database。

A few additional points:
1,In the cPanel,Prefix created database with cPanel account,such as:Suppose you Cpanel user name cpanel12, database name you enter is cpdb,Then the name of the database cpanel12_cpdb

2,Database user name and the same as above。

3,Examples of the information database built:
Database name cpanel12_cpdb (front to fill out the database name,I remember prefix,)
Database user name cpanel12_cpanel1 (fill in front of their username,I remember prefix)
Database Password **** (Fill in your own password)
Server localhost
4,When you add a "privilege" for the database user,Usually check the "all rights"。Of course, you can also assign separate permissions for certain users。

Comments

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