用户登录
用户注册

分享至

composer 配置全局

  • 作者: 带着闺蜜见段友
  • 来源: 51数据库
  • 2020-10-02
1在 View Administrator 中,您必须完成 [Add vCenter Server(添加 vCenter Server)] 向导中的 [vCenter Server Information(vCenter Server 信息)] 页面。

单击 [View Configuration(View 配置)] > [Server(服务器)]。

在 [vCenter Server] 选项卡中,单击 [Add(添加)]。

2 在 [View Composer Settings(View Composer 设置)] 页面中,如您未使用 View Composer,请选择 [Do not use View Composer(不使用 View Composer)]。
如您选择 [Do not use View Composer(不使用 View Composer)],则其他 View Composer 设置变为非活动状态。当您单击 [Next(下一步)] 时,[Add vCenter Server(添加 vCenter Server)] 向导会显示 [Host Cache Settings(主机缓存设置)] 页面。不会显示 [View Composer Domains(View Composer 域)] 页面。

3如您正在使用 View Composer,请选择 View Composer 主机的位置。



  xampp 环境下
#which php // 输入命令- 出现如下请修改配置
/usr/bin/php
1>修改配置
#vim ~/.bash_profile // 编辑配置文件
#export path=/applications/xampp/bin:$path // 复制这一段到文件中 并且保存退出 (按esc 在 :wq)
#source ~/.bash_profile //运行一下 .bash_profile 文件
确认当前正在运行哪个 php
#which php
/applications/xampp/bin/php // 出现这个就是xampp路径
2>安装composer
#cd /usr/local/bin
#curl -ss -k https://getcomposer.org/installer | php
ps:如果出现
all settings correct for using composer
the installation directory "/usr/local/bin" is not writable
#sudo chown -r $(whoami):admin /usr/local/bin 请输入这一条 -- 然后提示计算机输入密码 -
在重新执行#curl -ss -k https://getcomposer.org/installer | php
// 出现如下输出 正常
all settings correct for using composer
downloading...
composer (version 1.3.2) successfully installed to: /usr/local/bin/composer.phar
use it: php composer.phar
#mv composer.phar /usr/local/bin/composer // 全局
软件
前端设计
程序设计
Java相关