Tag:Executive order

  • Installing elastic search in CentOS


    Install Java environment (tar package mode) Download Java tar package: https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Unzip: tar-zxvf jdk-8u60-linux-x64.tar.gz Create a soft link: Ln-S / usr / Java / jdk1.8.0_ // usr / JDK // / usr / Java / jdk1.8.0_isthe path of tar package decompression file Edit the configuration file and configure the environment variables: vim /etc/profile Add at […]

  • Winserver 2012 Wamp building


    Building Wamp environment (non integrated environment) based on Alibaba ecswinserver2012 Download APAche Download address: http://httpd.apache.org/ Select the required version and click download Select Windows version Select apachehaus Select the required version and download it Install Apache Take a look at the Apache directory~ Enter the bin directory and execute the command: httpd – K install […]

  • CentOS firewall instructions


    CentOS firewall instruction 1. View firewalld status To view the firewalld service status instruction: systemctl status firewalld To view the firewalld status command: firewall-cmd –state 2. Turn on, restart and turn off the firewalld service Opening: service firewalld start Close: service firewalld stop Restart: service firewalld restart 3. Query, open and close the firewalld port […]

  • 2019 latest react native / typescript / Redux / saga practice


    Recently, we have researched the content related to react native, Redux saga and typescript, and organized it into a react native template. You can directly use the following command to create a new application: react-native init MyApp –template=parcmg After initialization, execute the command as follows: cd MyApp node setup.js npm install react-native link react-native-gesture-handler After […]

  • Mac Navicat link error


    Can’t connect to MySQL server on ‘XX. XX. XX. XX’ (61) Can’t connect to MySQL server on ‘XX. XX. XX. XX’ (10038) 1. Check whether the user has remote login permission mysql> SELECT * FROM mysql.user; +———–+———–+ | User | Host | +———–+———–+ | M | % | | mysql.sys | localhost | | root […]

  • Build the docker image locally and publish it to the remote server using the docker Maven plug-in


    1. Log in https://start.spring.io/ to generate a basic spring boot application. 2. Import the application into the eclipse IDE and create the application class. The directory structure is as follows: The application code is as follows: package com.example.demo.controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @RestController public class Application { @RequestMapping(value=”/phone”) public String index(){ return “Hello World!”; } […]

  • ES6+ to ES5


    I recently received a big “good news”: some customers of zxbc project want to support ie for insurance industry and other reasonsIn 2013, the draft of ES6 was frozen. In June 2015, ES6 was officially adopted as an international standard. All 9102, chrome is OK. Upgrade to the latest version, most ES6 is OK, but […]

  • Git basic commands


    git cherry -v: list the current to commit listgit reset –soft HEAD^: undo last commitgit reset –soft HEAD~2: undo last 2 commit New project synchronization process 1. Create a local project and execute git init command in the root directory of the project git init 2. Create a warehouse on git server and execute the […]

  • Ora-14061: cannot change data type or length of index partition column


    Error occurred when modifying the primary key of partition table: Error starting command on line: 2-alter table KC23 modify AAZ210 VARCHAR2(50)Error reporting–SQL error: ora-14061: cannot change data type or length of index partition column14061. 00000 –  “data type or length of an index partitioning column may not be changed”*Cause:    User issued ALTER TABLE statement attempting […]

  • How to record user’s IP and command by shell


    Record the command entered The history command can view the commands entered by the user. The output of a typical history command is as follows: 980 2017-05-29 20:17:37 cd – 981 2017-05-29 20:17:41 cat index.html 982 2017-05-29 20:20:11 vim index.html 983 2017-05-29 20:39:18 cd – 984 2017-05-29 20:39:25 cd /var/log/nginx/ 985 2017-05-29 20:39:27 vim access.log […]

  • IOS component development – release private library


    Remote index library Associate remote index library add to local Pod repo view local associated warehouse source Pod repo add local index library name remote index library warehouse address Pod repo update index library name Pod repo remove local index library name Execute the command to add a remote index library ‘ktpodspecs’ and clone it […]

  • Third party software g6ftp rights


    step 1. Download configuration file takeadministrator 2. make use ofLCX port forwarding only allows local connection by default 3.lcx.exe -tran 8027 8021 4. Use client to log in as administrator user 5. Create users and set permissions and execute batch files 6. Upload batch processing 7. Create normal user loginftp 8. Execution of orders […]