乡下人产国偷v产偷v自拍,国产午夜片在线观看,婷婷成人亚洲综合国产麻豆,久久综合给合久久狠狠狠9

  • <output id="e9wm2"></output>
    <s id="e9wm2"><nobr id="e9wm2"><ins id="e9wm2"></ins></nobr></s>

    • 分享

      Openshift常用命令

       sslit 2013-09-13

      檢測本地環(huán)境配置:rhc-chk 

      顯示用戶信息: rhc-user-info

      創(chuàng)建個人域 :rhc-create-domain :  

      創(chuàng)建應(yīng)用:rhc-create-app 

      刪除應(yīng)用:rhc app delete -a <app_name>

      應(yīng)用控制,可以開始、停止、重起應(yīng)用。還可以添加mysql數(shù)據(jù)庫等: rhc-ctl-app

      應(yīng)用備份:rhc-snapshot

      查看應(yīng)用日志:rhc-tail-files

       

      登錄:openshift: rhc setup

      創(chuàng)建php應(yīng)用: rhc app create -a <app_name>-t php-5.3

      創(chuàng)建wordpress: rhc app create -a wordpress -t php-5.3

      wordpress添加mysql支持:rhc app cartridge add -a wordpress -c mysql-5.1

      創(chuàng)建一個自定義應(yīng)用:rhc-create-app -a <app_name>-t diy-0.1

      創(chuàng)建命名空間:rhc domain create -n mydomain -l rhlogin

      創(chuàng)建phpmyadmin:rhc app cartridge add -a <app_name>-c phpmyadmin-3.4

      綁定域名:rhc alias add appname domian

      刪除綁定域名: rhc alias removeappname domian

      如果你是創(chuàng)建一個wordpress,需要MongoDB支持,可以輸入如下命令:rhc app cartridge add -a wordpress -c mongodb-2.2

       

      Openshift程序控制,需要ssh到openshift

      ctl_app

      啟動應(yīng)用程序:ctl_app start
      停止應(yīng)用程序:ctl_app stop
      重啟應(yīng)用程序:ctl_app restart
      查看應(yīng)用程序:ctl_app status

      或者

      ctl_all

      啟動應(yīng)用程序:ctl_all start 
      停止應(yīng)用程序:ctl_all stop 
      重啟應(yīng)用程序:ctl_all restart 
      查看應(yīng)用程序:ctl_all status

        本站是提供個人知識管理的網(wǎng)絡(luò)存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊一鍵舉報。
        轉(zhuǎn)藏 分享 獻花(0

        0條評論

        發(fā)表

        請遵守用戶 評論公約

        類似文章 更多