• Microservice data analysis architecture with three years of operation and millions of daily activities


    Language knowledge of Architecture In recent years, data analysis has developed rapidly, and we have also made a micro data analysis tool. The product has been running successfully for three years, meeting the needs of millions of enterprises in daily life. The product structure is very simple, using the world’s simplest language PHP, the most […]

  • CentOS installs geoip support for Apache


    Install GeoIP yum install GeoIP GeoIP-devel GeoIP-data zlib-devel Download the latest IP data mkdir /usr/local/share/GeoIP cd /usr/local/share/GeoIP wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz gunzip GeoIP.dat.gz gunzip GeoLiteCity.dat.gz Install mod? Geoip yum install mod_geoip Modify Apache configuration <IfModule mod_geoip.c> GeoIPEnable On GeoIPDBFile /usr/local/share/GeoIP/GeoIP.dat Standard GeoIPDBFile /usr/local/share/GeoIP/GeoLiteCity.dat Standard </IfModule> 5. check phpinfo();

  • Set up and configure L (A / N) MP environment


    How to compile and install software Compiling and installing is an important way to install Linux Software Preparation before compilation:. / configure Compiling: make Install: make install Install PHP 1. Download software Download link of WGet PHP image source file 2. Decompression software Tar – zxvf mirror (the image file downloaded in the first step) […]

  • Zurmo — a guide for beginners


    Beginner’s Guide – creating modules Customizing Zurmo—-CustomZurmo For example, the official Zoo: link: http://zurmo.org/wiki/customi New module All extension classes will be defined in their own modules; in this case, modules will be referred to asanimals。 The file directory structure is as follows: staymodulesCreate a new folder namedanimalsNew folder for. PS: it doesn’t matter if the […]

  • Zurmo — internationalization (translation)


    Zurmo–Internationalization (translation) 1:ZurmoThe translation mechanism of is: first store the corresponding translation in the database, save it in the blog field, then read it in the code and present it on the page. The official has files in many languages, and you can manually set what language you want to translate. The default language of […]

  • Zurmo — trademark and modification


    1: Introduction As for the trademark and logo of zurmo, the official source code says: inZurmo / APP / protected / modules / zurmo / views / footerview.php 48 lines Do not remove the Zurmo logo or Zurmo Copyright notice.The interactive user interfaces in original and modified versions of this program must display Appropriate Legal […]

  • Zurmo — command line tool


    1: Introduction 1. ZurmoA command line tool is provided to facilitate the quick operation of update version, password change, installation, database mode update and other functions. File location..app/protected/commands/Next. Two: detailed explanation ZurmoThere are 15zurmocThe commands are: -Help view help -Change password – database – elevate – email -Import import data -Install installation – installlanguage – […]

  • Zurmo — global configuration


    Introduction: many functions of zurmo are completed through configuration Global configuration (metadata) Independent configuration of each module (metadata) Some functions of global configuration are reflected in the top navigation line, the left navigation line, etc., which are public parts. In addition, there are other functions, which are not listed here. The module independent configuration is […]

  • Zurmo — installation and deployment


    1: installation Introduction: the official installation of zurmo has provided documents, but they are all very old, PHP version and so on. However, there are still reference values. The address is as follows. PS: you don’t have to follow all the conditions on the document to start the installation. I suggest that you start the […]

  • Zurmo — catalog introduction


    Catalogue introduction The first level directory under the root directory appCode home directory redbean redbeanCode directory yiiFrame source index.phpA file for jump License.txtLicense file README.textSome introduction information documents The second level directory, inappinside assetsSome for storing run generationcss,jsAnd so on. Initially, there is only one empty cache fileindex.htmlfile protectedCode home directory themesOf stored itemscss , […]

  • Summary of Apache installation under CentOS


    Summary of Apache installation under CentOS Environment Operating system: CentOS 6.8Server: Apache 2.4.29Other key dependency libraries: Apr 1.6.3, APR util 1.6.1, pcre-8.41 Command Decompression command Command format Command specification Command parameter interpretation tar zxvf [dir1] -C [dir2] Extract the files under dir1 to the directory specified by dir2 nothing rpm -qa [software-name] Query the specified […]

  • Apache virtual host domain name configuration


    Apache virtual host domain name configuration There are two different projects, Sitea and SiteB, in the server. We need to bind the top-level domain name www.sitea.com to project Sitea and the secondary domain name siteb.sitea.com to project SiteB. Therefore, we use the name based virtual host to set up. Domain name resolution First, before you […]