linux under the compilation installation kangle web server tutorial details

  • 2020-08-22 23:01:08
  • OfStack

First download the kangle kangle web server source code.

kangle linux Download

kangle source code (tar. gz package, non-ES15en version installed)

Make sure you have g++,libz,libpcre,libiconv on your system. If your system is centos/rhel, run the following command to install these packages:


yum -y install wget make automake gcc gcc-c++ pcre-devel zlib-devel sqlite-devel openssl-devel

Step 1 Download the kangle linux source code:

After downloading we will get ES32en-3.4.8.tar.gz


wget http://download.kangleweb.com/zcore.php?os=src

Step 2: Unpack the kangle package:


tar xzf kangle-3.4.8-jb51.tar.gz
cd kangle-3.4.8-jb51

Step 3: Configure kangle:

This step is used to configure the kangle source code.


./configure --prefix=/vhs/kangle --enable-disk-cache --enable-ipv6 --enable-ssl --enable-vh-limit

Step 4 Compile and install kangle:


make
make install

Step 5 Start kangle


/vhs/kangle/bin/kangle

Step 6 goes into kangle management

Open it in a browser

http:// Server ip address :3311/

Enter the username admin and password kangle at the first entry

It is strongly recommended to modify the user name and password of the administrative background after the first entry

Parameters of kangle:
The following parameters are added in:

/ vhs/kangle/bin/kangle behind

[-ES87en --help] you can see the detailed parameters
[-ES90en level] Debug the running program
[-ES93en --reload] reloads all configuration files
[--revh] Reload the etc/ vh. xml file (etc/ vh. xml)
[--reboot] Smooth restart program (the original program will ensure that the customer service), 1 generally used for upgrading
[-z [disk_dir]] creates cache directory on hard disk
[-v --version] View program version
[-ES114en apache_config_file] conversion Apache configuration
[-q] Close the program
[-n] start program not in daemon

linux Installation kangle web server is simple and suitable for beginners to learn.


Related articles: