vim /etc/php/7.1/mods-available/xdebug.ini
将zend_extension=xdebug.so
注释掉
;zend_extension=xdebug.so
vim /etc/php/7.1/mods-available/xdebug.ini
将zend_extension=xdebug.so
注释掉
;zend_extension=xdebug.so
如果要使用 vendor 的代码,则:
git checkout --theirs readme.md
如果要使用 master 的代码,则:
git checkout --ours readme.md
$ vagrant init laravel/homestead $ vagrant up $ vagrant ssh
Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-81-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage 3 packages can be updated. 0 updates are security updates. vagrant@homestead:~$
$ sudo add-apt-repository ppa:ondrej/php $ sudo apt-get update $ sudo apt-get upgrade php
$ php -v Cannot load Xdebug - it was already loaded PHP 7.1.8-2+ubuntu16.04.1+deb.sury.org+4 (cli) (built: Aug 4 2017 13:04:12) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies with Zend OPcache v7.1.8-2+ubuntu16.04.1+deb.sury.org+4, Copyright (c) 1999-2017, by Zend Technologies with Xdebug v2.5.5, Copyright (c) 2002-2017, by Derick Rethans
默认安装的 Dashboard 没有统计 CPU 和内存用量的图表,装上 Heapster 后就可以直观地看到各个组件的资源消耗情况
在部署好 Kubernetes 单机版的基础上,首先让 apiserver 监听在 0.0.0.0
先使用 yum 安装必须得用到的 etcd 和 kubernetes 软件包
本次安装一共使用三个节点:
node01: eth1 192.168.33.101 node02: eth1 192.168.33.102 node03: eth1 192.168.33.103
这篇直接通过 CentOS 官方 yum 库安装
yum install -y docker systemctl enable docker systemctl start docker docker run hello-world
这个镜像不是私有 Registry,而是公有服务的 Mirror
# vim /etc/docker/daemon.json { "registry-mirrors": ["https://docker.mirrors.ustc.edu.cn"] } # systemctl restart docker