• Alicloud builds a simple server


    Recently, I bought an alicloud server and prepared to build a simple server to visit static pages or develop projects later 1、 Purchase of alicloud server Purchase operation can see other bloggers Add a security group rule, the port is 80 / 80, and the Internet can access this IP 2、 Download JDK + Tomcat […]

  • Canvas draws poster + QR code to satisfy most scenes


    canvas_x No need to rely on any third party, lightweight tool library.Canvas draws the poster and generates the QR code with logo. It can also generate editing interface, user-defined input, one key generation and so on Cross domain image is enabled by default, but the server-side images also need corresponding cross domain settings on the […]

  • Installation and basic operation of Kafka in Linux


    Download Kafka http://archive.apache.org/dist/kafka/1.1.0/ Unzip and rename cd /usr/local tar zxvf kafka_2.12-1.1.0.tgz mv kafka_2.12-1.1.0 kafka_2.12-1.1.0/ Configure Kafka MKDIR / usr / local / Kafka / log / Kafka ා create Kafka log directory CD / usr / local / Kafka / config ා enter the configuration directory VI server.properties Edit and modify the corresponding parameters broker.id=0 […]

  • Django whoosh search engine uses Jieba participle


    Django version: 3.0.4Python package preparation: pip install django-haystack pip install jieba Use Jieba participle 1. CD to the haystack package in site packages, create and edit it ChineseAnalyzer.py file #(Note: PIP installed Django haystack, but the folder name of the actual package is haystack) cd /usr/local/lib/python3.8/site-packages/haystack/backends/ #Create and edit ChineseAnalyzer.py file vim ChineseAnalyzer.py   2. […]

  • Initial experience of Hadoop installation


    1. Linux system version [[email protected] local]# cat /proc/version Linux version 3.10.0-229.el7.x86_64 ([email protected]) (gcc version 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC) ) #1 SMP Fri Mar 6 11:36:42 UTC 2015 CentOS7 2. Environmental preparation 2.1. Download from Java official website Download from Java official website 2.2. Download from Hadoop official website Download from Hadoop official website […]

  • Help you to solve the problem of displaying garbled code in batch file of bat in win7 system — win10 Professional Edition


    Most of my friends like to install win7 system on the computer, but sometimes we will encounter the problem of displaying garbled code when win7 system executes bat batch processing. So there are many users to the site information win7 system to run bat batch file display garbled problem specific solutions. Don’t worry. Today, Xiaobian […]

  • Error report of centostom7 starting alicloud


    Error report of centostom7 starting alicloud Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these environment variable is needed to run this program This indicates that Linux can’t find the storage path of your JDK and JRE in your window The first solution: Instruction: enter the file where Tomcat […]

  • Binding configuration of dual network cards in Linux system


    System version [[email protected] ~]# cat /etc/redhat-release  CentOS release 6.8 (Final) [[email protected] ~]# uname -r 2.6.32-642.6.1.el6.x86_64 Network card description Eth0 (external network card of server)eth1eth2Two server network cards (intranet) Turn off the firewall [[email protected] ~]# /etc/init.d/iptables stop [[email protected] ~]#  chkconfig iptables off Shut down SELinux [[email protected] ~]#setenforce 0 [[email protected] ~]#sed -i ‘s/SELINUX=enforcing/SELINUX=disabled/‘ /etc/selinux/config Disable NetworkManager […]

  • Linux httpd startup can not access the problem


    In Linux (centos6.9), httpd is successfully installed. Before successful access, there are two problems:1. Launch times:httpd: Could not reliably determine the server’s fully qualified domain nameThis is because servername is not configured httpd.conf Enter edit, modifyServerName localhost:80You won’t report a mistake.In addition, check the installation path of httpd, and use where is httpd. Generally, the/etcperhaps/varAs […]

  • GitHub access is too slow, what to do?


    1、 Preface As a qualified programmer, how can GitHub open too slowly. But you can solve this problem by modifying the hosts file information. 2、 Mac OS solution Open the hosts file. Terminal inputsudo vim /private/etc/hosts In VIM editing, type I to edit the hosts file (if it doesn’t work, click enter again) You can […]

  • Devexpress gridcontrol usage


    1、 Common properties 1) Remove “drag a column header here to group by that column” on the GridView header     gridView.OptionsView.ShowGroupPanel = false; 2) It shows the search function of GridView     gridView.OptionsFind.AlwaysVisible = true; 3) Keep column heads from moving     gridView.OptionsCustomization.AllowColumnMoving = false; 4) Disallow sorting of column headers   […]

  • Enterprise cloud disk — File efficient management assistant


    With the advent of 5g era, information technology has been unprecedentedly developed. The fast-paced and massive information can not concentrate people’s time and energy, and how to effectively use the fragmented time to work is an important factor to improve work efficiency. Yotta enterprise cloud disk is born for this. It breaks the traditional office […]