Common commands of docker container

1. Main contents of docker (1) . docker is a cs architecture (2) . docker: image container warehouse network storage monitoring (3) . docker is a software packaging technology 2.docker image basic command 1.docker search Nginx (search image) [root@docker03 ~]# docker search nginx NAME DESCRIPTION ...

Posted on Mon, 06 Jan 2020 19:20:09 -0500 by hendoyeah

centos7 redis boot-up self-start

Last login: Thu Jul 13 15:28:02 2017 from 192.168.1.102 [root@minimal ~]# ps -ef |grep redis redis 1015 1 0 16:09 ? 00:00:00 /usr/bin/redis-server 127.0.0.1:6379 root 2361 2343 0 16:10 pts/0 00:00:00 grep --color=auto redis [root@minimal ~]# ps -ef |grep nginx root 1039 1 0 16:09 ? 00: ...

Posted on Mon, 06 Jan 2020 16:08:08 -0500 by fatmcgav

Ubuntu 16.04 apt get build LAMP environment (make sure to try to use it)

Reprinted from https://blog.csdn.net/pythonshell/article/details/52958075 Ubuntu installation will not be explained, there are many on the Internet. Apache2 $ sudo apt-get install apache2 // Install Apache2 $ apache2 -v // Verify Apache2 Server version: Apache/2.4.18 (Ubuntu) Ser ...

Posted on Mon, 06 Jan 2020 15:27:42 -0500 by milsaw

thinkphp calls the sqlserver stored procedure to return multiple result sets

Install extensions first windows There are two steps Find the pdo extension for your own PHP version, download it, unzip it, and enable the extension in php.ini. The issues to note are the PHP version and whether it is a secure version Download ODBC Driver https://docs.microsoft.com/zh-cn/sql/connect/odbc/download-odbc-driver-for-sql-server?v ...

Posted on Mon, 06 Jan 2020 12:23:27 -0500 by manchuwok

python3 calls Microsoft js engine ChakraCore

For an introduction to ChakraCore, please move: https://github.com/Microsoft/ChakraCore Use Case GitHub Source: https://github.com/pyAppman/ChakraCore This article focuses on python's call to ChakraCore.dll References are: https://xz.aliyun.com/t/2450 And https://bbs.125.la/forum.php?mod=viewthread&tid=14495171&highlight=ChakraCore Pyth ...

Posted on Mon, 06 Jan 2020 12:06:50 -0500 by tdelobe

Zabbix server installation under CentOS6 system

1, Preparations 1. Turn off firewall service iptables stop chkconfig iptables off vi /etc/selinux/config SELINUX=disabled 2. Configure the local YUM source (using CentOS 6.5 mirroring) CentOS 6.5 http://archive.kernel.org/centos-vault/6.5/isos/x86_64/CentOS-6.5-x86_64-bin-DVD1.iso mkdir -p /etc/yum.repos.d/yum.bak ...

Posted on Mon, 06 Jan 2020 11:45:02 -0500 by rawisjp

zabbix 4.04 installation documentation - CentOS 7.6 based

1. Preparation before installation: 1.1 installation of JDK Uninstall openjdk # rpm -qa | grep java # yum remove java-1.8.0-openjdk # yum remove java-1.8.0-openjdk-headless Install JDK package # rpm -ivh jdk-8u191-linux-x64.rpm   1.2 installation dependency package # yum install -y net-snmp net-snmp-devel OpenIPMI-devel libssh2-devel openl ...

Posted on Mon, 06 Jan 2020 11:22:32 -0500 by gere06

PHP strtotime() +1 month / -1 month does not match the expected result

If you want to use PHP's strtotime() method to get the year and month of next month / last month through + 1 month / -1 month, you have encountered a problem that does not match the expected result. Observe the output of the following test code and find the cause of the problem: public function actionTestDate() { $startTi ...

Posted on Mon, 06 Jan 2020 11:17:57 -0500 by mccormr7

LAMP architecture (PHP extension module installation)

redis for php dynamic extension module installation php private extension area View module /usr/local/php/bin/php -m Install a redis module 1. Download the redis module of php to the directory / usr/local/src / cd /usr/local/src/ wget https://Codeload. GitHub. COM / phpredis / phpredis / zip / development / / get the download 2. Modify the do ...

Posted on Mon, 06 Jan 2020 01:12:43 -0500 by cac_azure03

Tp5.0 redis (original)

Seeing that many interviews ask about the design pattern, I have a simple understanding of it. By the way, I made a modification to the previously sealed Reis Singleton Pattern (singleton Pattern or singleton Pattern) The singleton pattern ensures that a class has only one instance, and that it instantiates itself and provides this instance t ...

Posted on Sun, 05 Jan 2020 23:05:29 -0500 by jamesdk