Hadoop Shell 命令0 码力 | 10 页 | 99.34 KB | 1 年前3
Hyperledger Fabric 1.4 中文文档的库和命令行工具,用来提高基于 SSH 的 应用部署和系统管理效率。 更具体地说,Fabric 是: 一个让你通过 命令行 执行 无参数 Python 函数 的工具; 一个让通过 SSH 执行 Shell 命令更加 容易 、 更符合 Python 风格 的命令 库(建立于一个更低层次的库)。 自然而然地,大部分用户把这两件事结合着用,使用 Fabric 来写和执行 Python 函数或 task 中完成。 参见 Execution strategy, 定义任务, fab 选项和参数 任务参数 和你平时的 Python 编程一样,给任务函数传递参数很有必要``。Fabric 支持 Shell 兼容的参数用法: <任务名>:<参数>, <关键字参数名>=<参数值>,... 用起来就 是这样,下面我们用一个 say hello 的实例来展开说明一下: def hello(name="world"): 本地命令 在前面的例子中, fab 实际上只节省了数行 if __name__ == "__main__" 这样 的惯例代码而已。Fabric 的设计目的更是为了使用它自己的 API,包括执行 Shell 命令、传送文件等函数(或操作)接口。 假设我们需要为一个 web 应用创建 fabfile 。具体的情景如下:这个 web 应用 的代码使用 git 托管在一台远程服务器 vcshost 上,我们把它的代码库克隆到0 码力 | 145 页 | 161.53 KB | 1 年前3
Hyperledger Fabric 2.5 中文文档的库和命令行工具,用来提高基于 SSH 的 应用部署和系统管理效率。 更具体地说,Fabric 是: 一个让你通过 命令行 执行 无参数 Python 函数 的工具; 一个让通过 SSH 执行 Shell 命令更加 容易 、 更符合 Python 风格 的命令 库(建立于一个更低层次的库)。 自然而然地,大部分用户把这两件事结合着用,使用 Fabric 来写和执行 Python 函数或 task 中完成。 参见 Execution strategy, 定义任务, fab 选项和参数 任务参数 和你平时的 Python 编程一样,给任务函数传递参数很有必要``。Fabric 支持 Shell 兼容的参数用法: <任务名>:<参数>, <关键字参数名>=<参数值>,... 用起来就 是这样,下面我们用一个 say hello 的实例来展开说明一下: def hello(name="world"): 本地命令 在前面的例子中, fab 实际上只节省了数行 if __name__ == "__main__" 这样 的惯例代码而已。Fabric 的设计目的更是为了使用它自己的 API,包括执行 Shell 命令、传送文件等函数(或操作)接口。 假设我们需要为一个 web 应用创建 fabfile 。具体的情景如下:这个 web 应用 的代码使用 git 托管在一台远程服务器 vcshost 上,我们把它的代码库克隆到0 码力 | 138 页 | 154.00 KB | 1 年前3
Zabbix 4.4 中文手册a Zabbix proxy database, only schema.sql should be imported (no images.sql nor data.sql) MySQL shell> mysql -uroot -pmysql> create database zabbix character set utf8 collate utf8_bin; mysql> database. shell> cd database/mysql shell> mysql -uzabbix -p zabbix < schema.sql # 下 面 步 骤 当 创 建Zabbix proxy数 据 库 时 不 需 要 执 行 shell> mysql -uzabbix -p zabbix < images.sql shell> mysql -uzabbix 需要使用有权限的用户去创建数据库对象。以下 shell 命令将创建 zabbix 用户。在提示下请输入密码并再次确认密码。(注意,可能首 先要求输入 sudo 命令对应的用户密码): You need to have database user with permissions to create database objects. The following shell command will create 0 码力 | 1850 页 | 13.52 MB | 1 年前3
Zabbix 5.4 中文手册a Zabbix proxy database, only schema.sql should be imported (no images.sql nor data.sql) MySQL shell> mysql -uroot -pmysql> create database zabbix character set utf8 collate utf8_bin; mysql> database. shell> cd database/mysql shell> mysql -uzabbix -p zabbix < schema.sql # 下 面 步 骤 当 创 建Zabbix proxy数 据 库 时 不 需 要 执 行 shell> mysql -uzabbix -p zabbix < images.sql shell> mysql -uzabbix 需要使用有权限的用户去创建数据库对象。以下 shell 命令将创建 zabbix 用户。在提示下请输入密码并再次确认密码。(注意,可能首 先要求输入 sudo 命令对应的用户密码): You need to have database user with permissions to create database objects. The following shell command will create 0 码力 | 2339 页 | 19.57 MB | 1 年前3
Zabbix 4.2 中文手册a Zabbix proxy database, only schema.sql should be imported (no images.sql nor data.sql) MySQL shell> mysql -uroot -pmysql> create database zabbix character set utf8 collate utf8_bin; mysql> database. shell> cd database/mysql shell> mysql -uzabbix -p zabbix < schema.sql # 下 面 步 骤 当 创 建Zabbix proxy数 据 库 时 不 需 要 执 行 shell> mysql -uzabbix -p zabbix < images.sql shell> mysql -uzabbix 需要使用有权限的用户去创建数据库对象。以下 shell 命令将创建 zabbix 用户。在提示下请输入密码并再次确认密码。(注意,可能首 先要求输入 sudo 命令对应的用户密码): You need to have database user with permissions to create database objects. The following shell command will create 0 码力 | 1869 页 | 13.68 MB | 1 年前3
Debian GNU/Linux 安裝手冊 January 8, 20246.3.9.1 保存安裝記錄 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 6.3.9.2 使用 Shell 查看記錄 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 6.3.10 Installation over network-console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 B.5.1 Running custom commands during the installation . . . . . . . . . . . . . . . . . . 87 B.5.2 Using preseeding to change in any operating system, there are quite a few models which only understand proprietary control commands for which no usable documentation is available and therefore either cannot be used at all on free0 码力 | 120 页 | 643.51 KB | 1 年前3
Zabbix 4.0 中文手册a Zabbix proxy database, only schema.sql should be imported (no images.sql nor data.sql) MySQL shell> mysql -uroot -pmysql> create database zabbix character set utf8 collate utf8_bin; mysql> database. shell> cd database/mysql shell> mysql -uzabbix -p zabbix < schema.sql # 下 面 步 骤 当 创 建Zabbix proxy数 据 库 时 不 需 要 执 行 shell> mysql -uzabbix -p zabbix < images.sql shell> mysql -uzabbix 需要使用有权限的用户去创建数据库对象。以下 shell 命令将创建 zabbix 用户。在提示下请输入密码并再次确认密码。(注意,可能首 先要求输入 sudo 命令对应的用户密码): You need to have database user with permissions to create database objects. The following shell command will create 0 码力 | 1992 页 | 17.90 MB | 1 年前3
Zabbix 3.4 中文手册:::对于 Zabbix proxy 数据库, 只需要导入 schema.sql (不需要 images.sql 和 data.sql) ::: 脚本 MySQL shell> mysql -uroot -p mysql> create database zabbix character set utf8 collate utf8_bin; mysql> by ' '; mysql> quit; shell> cd database/mysql shell> mysql -uzabbix -p zabbix < schema.sql # stop here if you are creating database for Zabbix proxy shell> mysql -uzabbix -p images.sql shell> mysql -uzabbix -p zabbix < data.sql PostgreSQL 我们假定存在一个用户,并且有权限创建数据库。 shell> psql -U psql> create database zabbix; psql> \q shell> cd database/postgresql shell> psql 0 码力 | 1757 页 | 12.63 MB | 1 年前3
httpd 2.2.31 中文文档is ignored, so you may indent directives for clarity. Blank lines are also ignored. The values of shell environment variables can be used in configuration file lines using the syntax ${ENVVAR}. If "ENVVAR" Wildcards and Regular Expressions The, , and directives can each use shell-style wildcard characters as in fnmatch from the C standard library. The character "*" matches any the Apache children. In particular, this will control resources used by CGI scripts and SSI exec commands. The ThreadStackSize directive is used with some platforms to control the stack size. Modules 0 码力 | 1860 页 | 1.48 MB | 1 年前3
共 437 条
- 1
- 2
- 3
- 4
- 5
- 6
- 44













