当前位置: 首页 > news >正文

网站模板助手出售自己的网站

网站模板助手,出售自己的网站,专业建公司网站,网络编程创建 Portfile 以下是我参考 nginx 调整后的 Portfile#xff0c;如需安装指定版本#xff0c;除了修改版本号之外还需要修改 checksums 里的 sha256 sha256 值需下载 Tengine 源码文件#xff08;tar.gz#xff09;进行计算 模块的调整在最后的 configure.args-append …创建 Portfile 以下是我参考 nginx 调整后的 Portfile如需安装指定版本除了修改版本号之外还需要修改 checksums 里的 sha256 sha256 值需下载 Tengine 源码文件tar.gz进行计算 模块的调整在最后的 configure.args-append 部分参考 https://tengine.taobao.org/document/install.html 和 Nginx 编译参数 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fencutf-8:fttcl:et:sw4:ts4:sts4PortSystem 1.0name tengine version 3.1.0 revision 0 categories www license BSD maintainers nomaintainerconflicts nginx nginx-develdescription A high performance web server based on Nginx long_description Tengine is a web server originated by Taobao, \compatible with Nginx, with additional features.homepage http://tengine.taobao.org master_sites http://tengine.taobao.org/downloaddistname ${name}-${version} checksums sha256 64ed7155c0c904ce0fe7199c21b8eb6c2abfc267278fa8af832c0cb781e864dcdepends_lib port:pcre \port:openssl \port:zlibset nginx_share ${prefix}/share/${name} set nginx_examples ${nginx_share}/examples set nginx_confdir ${prefix}/etc/${name} set nginx_logdir ${prefix}/var/log/${name} set nginx_rundir ${prefix}/var/run/${name} set nginx_pidfile ${nginx_rundir}/${name}.pid set nginx_all_confs {fastcgi.conf fastcgi_params mime.types nginx.conf scgi_params uwsgi_params} set auto_activate_confs {nginx.conf mime.types fastcgi.conf}configure.args-append \--with-cc-opt\${configure.cppflags} ${configure.cflags}\ \--with-ld-opt\${configure.ldflags}\ \--conf-path${nginx_confdir}/nginx.conf \--error-log-path${nginx_logdir}/error.log \--http-log-path${nginx_logdir}/access.log \--pid-path${nginx_pidfile} \--lock-path${nginx_rundir}/${name}.lock \--http-client-body-temp-path${nginx_rundir}/client_body_temp \--http-proxy-temp-path${nginx_rundir}/proxy_temp \--http-fastcgi-temp-path${nginx_rundir}/fastcgi_temp \--http-uwsgi-temp-path${nginx_rundir}/uwsgi_temp \--http-scgi-temp-path${nginx_rundir}/scgi_temp \--with-compat# pcre2 breaks the lua module (https://trac.macports.org/ticket/65150) configure.args-append --without-pcre2# remove --disable-dependency-tracking configure.universal_args-delete --disable-dependency-trackingbuild.target build destroot.keepdirs ${destroot}${nginx_logdir} \${destroot}${nginx_rundir}post-destroot {xinstall -d -m 755 ${destroot}${nginx_share}xinstall -d -m 755 ${destroot}${nginx_examples}foreach conf ${nginx_all_confs} {set conf_path ${destroot}${nginx_confdir}/${conf}if {[file exists ${conf_path}]} {file delete ${conf_path}}if {[file exists ${conf_path}.default]} {move ${conf_path}.default ${destroot}${nginx_examples}}}file rename ${destroot}${prefix}/html ${destroot}${nginx_share}# Install the manpageset man_path ${destroot}${prefix}/share/man/man8xinstall -d -m 0755 ${man_path}xinstall -m 0644 ${worksrcpath}/man/nginx.8 ${man_path}reinplace -q s|/var/run/mytengine.pid|${nginx_pidfile}/|g ${man_path}/nginx.8 }post-activate {foreach conf ${auto_activate_confs} {if {![file exists ${nginx_confdir}/${conf}]} {xinstall -m 644 ${nginx_examples}/${conf}.default ${nginx_confdir}/${conf}}} }startupitem.create yes startupitem.pidfile auto ${nginx_pidfile} startupitem.executable ${prefix}/sbin/nginx -g daemon off;notes \A set of sample configuration files has been installed in ${nginx_examples}.\n\n\Additionally, the files [join ${auto_activate_confs} , ] have been copied to ${nginx_confdir} if they didnt exist yet.\n\Adjust these files to your needs before starting Tengine.configure.args-append --prefix${prefix} \--with-http_ssl_module \--with-http_v2_module \--with-http_realip_module \--with-http_addition_module \--with-http_xslt_module \--with-http_geoip_module \--with-http_flv_module \--with-http_mp4_module \--with-http_gunzip_module \--with-http_gzip_static_module \--with-http_auth_request_module \--with-pcre \--with-threads \--with-stream \--with-stream_ssl_module \--with-stream_realip_module \--with-stream_geoip_module \--with-stream_ssl_preread_modulelivecheck.type regexm livecheck.url ${homepage}/en/download.html将文件保存至 ~/Ports/www/tengine/Portfile 添加自定义源 编辑 /opt/local/etc/macports/sources.conf在最下方加上一行 # 默认 rsync://rsync.macports.org/macports/release/tarballs/ports.tar.gz [default] # 增加该行注意替换用户名 file:///Users/用户名/Ports运行 sudo portindex ~/Ports 加入索引 安装 运行 port info tengine 可以查看到信息后就能通过 install 安装了 sudo port install tengine配置 配置文件目录/opt/local/etc/tengine同样的修改 nginx.conf 文件即可 日志文件目录/opt/local/var/log/tengine建议修改文件夹权限方便通过编辑器查看日志 sudo chown _www:admin /opt/local/var/log/tengine运行目录/opt/local/var/run/tengine 启停 sudo port load tengine sudo port unload tengine
http://www.hkea.cn/news/14289703/

相关文章:

  • 做网站是上海市建设工程材料网站
  • 三灶网站建设自适应网站导航怎么做
  • 电商网站运营流程从哪个网站设置宽带主机
  • 自我做t恤的网站网站外链建设大揭秘
  • 东莞网站推广团队wordpress 模板函数
  • 成都高端网站设计做网站竞价还需要推广公司
  • 高端模板网站建设价格苏州专业网站建设设计公司排名
  • 网站规划 评价网站建设公司如何发展
  • 郑州网站开发顾问网站的 联系我们怎么做
  • 网页就是一个网站的首页php sqlite 做网站
  • 性价比最高网站建设价格wordpress主题两边空白区域怎么添加图案
  • 军人运动会官方网站建设目标黄骅港属于哪个市
  • 怎样建网站买东西网站开发技术规范要求
  • logo123罗湖区seo排名
  • 巴中建设网站织梦网站如何做伪静态
  • 精通网站建设工资多少钱广州房地产最新消息
  • 商城网站建设课设wordpress 没有权限
  • 网页设计设计网站建设wordpress搬家后文章
  • 设计一个个人网站的基本步骤百度2019旧版本下载
  • 提供网站建设服务平台上海服饰网站建设
  • 网站用哪个软件做网站开发的私活
  • 爱站网综合查询辽宁省建设局网站
  • 做网站做论坛赚钱吗邮箱网站架构
  • 广告公司 网站模板网页页面制作流程
  • 网站设计论文开题报告长页在线制作网站
  • 宠物寄养网站毕业设计服务器维护
  • asp做企业网站很好啊源代码网站开发
  • 泰安做网站建设的公司哪家好WordPress蜘蛛爬行插件
  • 网站建设与维护课难吗做百度企业网站有什么好处
  • 建立 wiki 网站wordpress 更改ico