install

php配置GD库

匆匆过客 提交于 2020-03-02 11:42:40
一 所需软件 jpegsrc.v6b.tar.gz freetype-2.1.10.tar.gz zlib-1.2.3.tar.gz libpng-1.2.12.tar.gz gd-2.0.33.tar.gz libxml2-2.6.23.tar.bz2 ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz 二 安装顺序 1 mysql 2 apache 3 JPEG包 4 TTF包 5 zlib包(libpng包) 6 libpng包 7 GD包 8 XML包(libxml) 9 php 10 Zend 三 安装过程 1 mysql 看mysql、php配置 2 apache # tar zxvf httpd-2.2.6.tar.gz # cd httpd-2.2.6 # ./configure --prefix=/usr/local/apache2 --enable-so --enable-track-vars --enable-proxy --enable-vhost-alias --enable-cache --enable-disk-cache --enable-mem-cache --enable-rewrite --enable-mods-shared=all # make # make install 3 JPEG包 # tar

Ubuntu下安装python package

依然范特西╮ 提交于 2020-03-02 09:01:42
Ubuntu Intrepid sudo apt-get install python-xxx 例如搭建科学计算与模拟环境需要安装以下package:numpy、scipy、matplotlib、tk 只需要依次敲入命令: sudo apt-get install python-numpy sudo apt-get install python-scipy sudo apt-get install python-matplotlib sudo apt-get install python-tk 来源: oschina 链接: https://my.oschina.net/u/77646/blog/7846

React Native iOS环境搭建

倖福魔咒の 提交于 2020-03-02 06:49:57
感觉React Native会越来越多的公司开始研究、使用。所以周六也抽空搭建了iOS的开发环境,以便以后利用空闲的时间能够学习一下。 废话不多说了,下面简单的列出步骤吧。 1. 安装Homebrew Homebrew主要用于安装后面需要安装的watchman、flow 打开MAC的终端,输入如下命令: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 经过漫长的等待后,安装完成。执行 brew doctor 命令。这是homebrew 完成后必须做的一件事,检查homebrew 各模块是否正常 2. 安装nvm和nodejs nvm是用于nodejs版本管理的工具,用于安装nodejs。 对于nvm应该可以使用brew直接安装,但是我没有用这个安装,读者可以自己使用如下命令试试: brew install nvm 我使用的另一种方式,在终端中输入如下的命令: brew install node . 该命令执行后,自动装好node和npm 这个用于安装nodejs和npm。npm用于nodejs包依赖管理的工具。 3. 安装watchman watchman是用于监听文件变化的工具,应该是用于监听文件变化,然后界面做出响应。执行如下命令: brew

Airbnb开源 快速搭建企业级BI数据平台

≡放荡痞女 提交于 2020-03-02 06:20:44
最近在公司做一个数据可视化相关的项目,使用了Airbnb开源维护的企业级BI数据平台superset,相较于tableau这种收费的商业软件,Superset是开源维护的,同时图表的种类和颜值普遍偏高。以下效果图: ![时间序列_柱状图.gif](https://img2018.cnblogs.com/blog/1821710/201909/1821710-20190930112118784-853879599.gif) ![饼状图.gif](https://img2018.cnblogs.com/blog/1821710/201909/1821710-20190930112124212-953945562.gif) ![折线图.gif](https://img2018.cnblogs.com/blog/1821710/201909/1821710-20190930112135242-514586707.gif) 以及另外几十种图表格式 ![图标概览.gif](https://img2018.cnblogs.com/blog/1821710/201909/1821710-20190930112143373-910271645.gif) 话不多说,开始搭建吧。 ##1.前期准备 **Linux服务器CentOS7(Windows系统的不作概述 一般缺少的whl文件在 [此网站]

项目上线全程

我的未来我决定 提交于 2020-03-02 01:48:08
1.买服务器,掏钱吧 2.连上服务器,22端口改一下,默认密码改复杂一点.其他的随意, 再adduser 一个个人账户, 没事别用root 给它加上sudo权限 usermod -a -G sudo wqk # 再确认一下 groups wqk切换到wqksu wqk 3.安装虚拟环境,隔离项目 可以用pip或者apt安装,这里我们选择pip a. 查看pip版本 查看pip版本: pip -V 查看pip3版本: pip3 -V b. 安装pip(如果存在则不需要安装) 安装pip3: apt install python3-pip 安装pip2: apt install python-pip c. 更新pip 更新pip (如果pip版本高于9.0则不需要更新): 更新pip3: pip3 install --upgrade pip 更新pip: pip install --upgrade pip 注意: 更新后如出现以下错误(这是pip 10.0.0版本的BUG): Traceback (most recent call last): File “/usr/bin/pip”, line 9, in from pip import main 解决方法:修改对应pip文件中的代码(pip和pip3类似) 例如更新pip时报错则需要修改 /usr/bin/pip 文件中的代码,

MAMP Pro 3 “The installation failed.”

时光总嘲笑我的痴心妄想 提交于 2020-03-01 19:02:41
问题 I have just purchased an upgrade to MAMP Pro 3, downloaded the file ( MAMP_MAMP_PRO_3.0.5.pkg) and continued on to the Install. Unfortunately after three attempts I'm unable to complete the instal, the files are written and at the end I get an error msg: The installation failed. The installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. (need to work on my reputation before I can post a screen grab unfortunately) Has anyone else

MAMP Pro 3 “The installation failed.”

那年仲夏 提交于 2020-03-01 18:58:50
问题 I have just purchased an upgrade to MAMP Pro 3, downloaded the file ( MAMP_MAMP_PRO_3.0.5.pkg) and continued on to the Install. Unfortunately after three attempts I'm unable to complete the instal, the files are written and at the end I get an error msg: The installation failed. The installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. (need to work on my reputation before I can post a screen grab unfortunately) Has anyone else

npm 命令大全

廉价感情. 提交于 2020-03-01 18:58:05
一、npm简介 npm(Node Package Manager)是随同node.js 一起安装的包管理工具,为了解决nodejs代码部署上的很多问题,常用以下场景: 允许用户从npm服务器下载别人编写的地方包到本地使用。 允许用户将自己编写的包或明显杭程序上传到NPM服务器供别人使用。 二、npm使用前提 必须先安装node.js,安装地址官网http://nodejs.cn/,安装完成以后通过“node -v”查看版本号 三、第一次git了项目 第一次git上获取项目,记得一定要先npm install 因为刚下载的项目,没有node_modules,只有通过npm install命令以后会根据package.json 去下载相关依赖包。 四、npm命令大全 1、 npm install 安装模块 PS D:\Source2019\TestGit\TestGit> npm install webpack -g PS D:\Source2019\TestGit\TestGit> npm install webpack 全局安装是安装一个工具,他不是安装在一个文件夹下,而是安装在某个全局环境下,一般安装的路径为,C:\Users\XXX\ 下面(PS:暂时未找到在那个目录下),全局安装在命令行中任何地方都可以直接调用。 局部安装是将项目安装以后,安装在./node_modules

MAMP Pro 3 “The installation failed.”

北城以北 提交于 2020-03-01 18:54:43
问题 I have just purchased an upgrade to MAMP Pro 3, downloaded the file ( MAMP_MAMP_PRO_3.0.5.pkg) and continued on to the Install. Unfortunately after three attempts I'm unable to complete the instal, the files are written and at the end I get an error msg: The installation failed. The installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. (need to work on my reputation before I can post a screen grab unfortunately) Has anyone else

VUE环境搭建

末鹿安然 提交于 2020-03-01 17:59:53
https://www.cnblogs.com/lq102855zm/p/7727310.html 一、先介绍一下我接下来要做的项目 项目:ide可视化工具 技术应用:   Vue2.0(js框架): https://cn.vuejs.org/   ElementUi(饿了吗ui框架基于vue的): http://element.eleme.io/#/zh-CN   Ecahrts(图表): http://echarts.baidu.com/   vue-power-drag(仿grister的vue拖拽插件): https://xiongcaihu.github.io/#/ 项目介绍:ide要实现的是供企业或者个人编辑可视化图表,适应不同分辨率的屏幕,配置的基本默认样式达到客户要求,项目模块分为仪表盘、工作表、数据源、编辑图表等。 二、项目环境搭建   vue环境配置:   首先安装node: http://www.runoob.com/nodejs/nodejs-install-setup.html   1、安装淘宝镜像:npm install -g cnpm --registry=https://registry.npm.taobao.org   注:下面的npm可换成cnpm下载快   2、安装webpack:npm install webpack -g   3