install

[microk8s]从熟悉的地方开始学k8s--ubuntu

大城市里の小女人 提交于 2020-01-14 10:53:29
microk8s 如何在Ubuntu上安装Kubernetes 单节点集群 MicroK8s只需几秒钟即可安装经CNCF认证的单节点Kubernetes集群 MicroK8s可以在任何Linux上运行。它轻巧,可以在Ubuntu上本地部署所有Kubernetes服务(即无需虚拟机),同时打包所需的全部库和二进制文件。由于其占地面积小,因此适用于笔记本电脑,工作站,CI管道,IoT设备和小型边缘云。 安装最新的MicroK8 MicroK8s被打包为一个快照,需要安装快照。最新的Ubuntu版本已经内置了该版本。对于其他Linux系统,请先安装snap。使用以下命令获取最新版本的MicroK8: sudo snap install microk8s --classic 安装特定版本的MicroK8 列出特定的Kubernetes版本 以下命令将列出可以安装的所有MicroK8版本: snap info microk8s 安装特定的Kubernetes版本 此命令将安装稳定的1.14版本的MicroK8: sudo snap install microk8s --classic --channel=1.14/stable 有用的提示 此命令将安装稳定的1.14版本的MicroK8: 安装MicroK8s之后,您应该确认它已经准备就绪。使用此命令: microk8s.status

Python 2.7 32-bit install on Win 7: No registry keys?

杀马特。学长 韩版系。学妹 提交于 2020-01-14 08:14:09
问题 I have downloaded the Python 2.7.2 Windows x86 32-bit MSI from python.org and installed it on a 64-bit Windows 7 system. Everything works (at least the command-line interpreter starts and runs), but the install process does not create any Python entries under HKEY_LOCAL_MACHINE/SOFTWARE in the Windows registry. Various blogs refer to problems created by incomplete Python registry entries when attempting to configure third-party libraries, but I have not found a description of the complete

Python 2.7 32-bit install on Win 7: No registry keys?

十年热恋 提交于 2020-01-14 08:13:12
问题 I have downloaded the Python 2.7.2 Windows x86 32-bit MSI from python.org and installed it on a 64-bit Windows 7 system. Everything works (at least the command-line interpreter starts and runs), but the install process does not create any Python entries under HKEY_LOCAL_MACHINE/SOFTWARE in the Windows registry. Various blogs refer to problems created by incomplete Python registry entries when attempting to configure third-party libraries, but I have not found a description of the complete

Instaling PHP on Windows with IIS

£可爱£侵袭症+ 提交于 2020-01-14 06:44:06
问题 How can I install PHP on a Windows machine using Internet Information Services (IIS)? 回答1: This is more a guide than a question in the hope it helps many users who are looking for an easy beginner's proof installation guide: First of all you need to have installed and running IIS on your machine, IIS doesn't comes by default, you have to add the characteristic from control panel -> Programs -> Windows Characteristics. I had successfully installed PHP under IIS 5.1 (WinXP), IIS 7.5.7x (Win7)

./configure,make,make install的作用

百般思念 提交于 2020-01-14 06:13:48
这些都是典型的使用GNU的AUTOCONF和AUTOMAKE产生的程序的安装步骤。 ./configure是用来检测你的安装平台的目标特征的。比如它会检测你是不是有CC或GCC,并不是需要CC或GCC,它是个shell脚本。 make是用来编译的,它从Makefile中读取指令,然后编译。 make install是用来安装的,它也从Makefile中读取指令,安装到指定的位置。 AUTOMAKE和AUTOCONF是非常有用的用来发布C程序的东西。 ----- 1、configure,这一步一般用来生成 Makefile,为下一步的编译做准备,你可以通过在 configure 后加上参数来对安装进行控制,比如代码:./configure –prefix=/usr 意思是将该软件安装在 /usr 下面,执行文件就会安装在 /usr/bin (而不是默认的 /usr/local/bin),资源文件就会安装在 /usr/share(而不是默认的/usr/local/share)。同时一些软件的配置文件你可以通过指定 –sys-config= 参数进行设定。有一些软件还可以加上 –with、–enable、–without、–disable 等等参数对编译加以控制,你可以通过允许 ./configure –help 察看详细的说明帮助。 2、make,这一步就是编译

error when python pip install rrdtool on windows 7

假装没事ソ 提交于 2020-01-14 05:55:07
问题 I am running windows 7 64 bit, Python v2.7.10 and pip v9.0.1 I tried to install rrdtool but I get an error PS C:\Windows\system32> pip install rrdtool Collecting rrdtool Using cached rrdtool-0.1.11.tar.gz Complete output from command python setup.py egg_info: test_rrdtool.c c:\users\person\appdata\local\temp\tmp_python_rrdtoolvwty3u\test_rrdtool.c(2) : fatal error C1083: Cannot open incl ude file: 'rrd.h': No such file or directory Error: Unable to compile the binary module. Do you have the

这一次,真正掌握composer

百般思念 提交于 2020-01-14 04:45:49
composer是现代PHP的基石 转自: https://www.itshutong.com/337.html 现代高级编程语言,依赖管理工具是必不可少的。Java有Maven,Python有pip,Nodejs有npm, 而在composer出现之前,PHP只有被广为诟病的Pear, 由于Pear实在太难用,很少PHP开发者用到这个工具。以致于PHP的开发生态很糟糕。 连一个像样的依赖管理工具都没有,让PHP这门占据了web网站开发主流市场的语言很尴尬。开发过程中,要用到第三方的类库,需要去下载zip包,然后解压,放到相应的目录,处理好命名空间,自动加载的问题,如果这个第三方包还有其他依赖项,还要再次重复这个流程,看着隔壁家python和node.js一个命令行就搞定,显得php开发人员的操作既原始又滑稽。 这场面,好比: 所幸,金光闪闪的composer驾着七彩祥云来了,PHP终于有了真正意义的依赖管理工具。可以说,composer是现代PHP的基石。 composer解决了项目的依赖关系,且实现了自动加载。开发人员只需要几个命令行,就能获取其他开发者的包,PHP开发工作因此变得如同堆积木,可以根据业务的需求,快速方便地拆解组合代码。 奇怪的是,即使compoer已经诞生好些年了,而且所有主流框架都支持composer,可竟然还有不少PHP开发者不用这个工具

Install Restler problems

笑着哭i 提交于 2020-01-14 04:10:20
问题 Hi everyone i just have tried to understand how to install Restler to create a PHP web service but i can't did it. I don't understand the manual(https://github.com/Luracast/Restler), i just have install the composer and now i don't know what i having to do. I think i have to run in command some thing but i don't know and where i have to put the files that i have downloaded? In project folder or xampp folder? If anyone can help me i will appreciate. Best regards. 回答1: Install Composer Globally

[转+总结]Linux虚拟系统安装VMware Tools总结

时光怂恿深爱的人放手 提交于 2020-01-14 01:22:24
[转+总结]Linux虚拟系统安装VMware Tools总结 转自中国网络 一、VMware Tools安装手记(For Linux Guest OS) 为什么要装 VMware Tools? 因为它可以改善 Virtual Machine 的运行性能,而且可以让 Host OS 和 Guest OS 互通有无,这样我们就不用伤脑筋,要架设什么服务器,来沟通两个 OS,现在就让我们开始吧! VMware Tools所在位置:VMware 安装路径 \VMware\VMware Workstation\linux.iso [root@rd01 ~]# mount /cdrom # 有时可能加载不了,这时就要先将系统关闭,再手动指定 ISO 映像,看下图 [root@rd01 ~]# cd /cdrom [root@rd01 ~]# ls -a [root@rd01 ~]# cp VMwareTools-5.5.1-19175.tar.gz /tmp [root@rd01 ~]# cd /tmp [root@rd01 ~]# tar zxpf VMwareTools-5.5.1-19175.tar.gz [root@rd01 ~]# cd vmware-tools-distrib [root@rd01 vmware-tools-distrib]# ./vmware-install

centos-5.5安装vmvare tools

偶尔善良 提交于 2020-01-14 01:21:58
centos-5.5安装vmvare tools 虚拟机管理,安装tools 找到VMwareTools压缩包 解压到Desktop,桌面 终端进入桌面 执行程序# ./vmware-install.pl 按回车一直下去,有人说是选分辨率,有人说是看到 To use the vmxnet driver, restart networking using the following commands: /etc/init.d/network stop rmmod pcnet32 rmmod vmxnet depmod -a modprobe vmxnet /etc/init.d/network start Enjoy, --the VMware team 出现以上,则基本安装完! shutdown -r now 重启 我看到的123选择分辨率,我选择了3, 1024*768 [root@rd01 ~]# cd /media [root@rd01 ~]# ls -a [root@rd01 ~]# cp VMwareTools-5.5.1-19175.tar.gz /tmp [root@rd01 ~]# cd /tmp [root@rd01 ~]# tar zxpf VMwareTools-5.5.1-19175.tar.gz [root@rd01 ~]# cd vmware-tools