Play Framework OpenShift 常用命令
Common Commands
rhc-tail-files 檢視指定app的log資訊
help
Displays a list of common commands to use
ctl_app
control your application
ctl_app start
ctl_app stop
ctl_app restart
ctl_app status
ctl_all
Similar to ctl_app but controlls application and deps like mysql in one command
ctl_all start
ctl_all stop
ctl_all restart
ctl_all status
export
Prints out all available environment variables and their current values which you may use in your application
rm
Removes a file or directory
Use this with care
Remove a file:
rm file
Remove a directory and all files and directories under it
rm -rf <dir>
tail_all
Displays the last entries in your log files as they are written to
You can hit <ctrl>-c to exit this command
ls
List files and directories
ps
List running applications
kill
Kill running applications using the process id found by calling ps
Be careful when using this command as it should only be used to kill runaway processes, otherwise it is preferable to stop them using the appropriate command such as ctl_app stop
mysql
Opens an interactive MySQL shell
mongo
Opens an interactive MongoDB shell
quota
Lists your application's current disk usage
相關文章
- Play! Framework 系列(一):初探 play 框架Framework框架
- sbt建立play framework(play!)scala web專案FrameworkWeb
- Play framework橫空出世Framework
- Play! Framework 系列(二):play 的專案結構Framework
- Play! Framework 系列(三):依賴注入Framework依賴注入
- Play! Framework 系列(四):DI 模式比較Framework模式
- 在學習play framework中碰到的問題Framework
- Play Framework 2.5 環境搭建與新建專案(一)Framework
- Play Framework 2.5 環境搭建與新建專案(二)Framework
- 致Play Framework開發者們的一封信Framework
- 教程: Play Framework 2 with Scala, Anorm, JSON, CoffeeScript, jQuery & HerokuFrameworkORMJSONjQuery
- 在Scala IDE 2.0中設定使用 Play framework 2.0IDEFramework
- openshift scc解析
- Openshift部署教程
- Portworx on OpenShift 原理講解
- 003.OpenShift網路
- 在OpenShift中執行容器
- OpenShift新增URLRewrite重寫支援
- 004.OpenShift命令及故障排查
- OpenShift與Docker全方位比較Docker
- 在AWS中部署OpenShift平臺
- openshift 新增cron定時任務
- 002.OpenShift安裝與部署
- 006.OpenShift永續性儲存
- 007.OpenShift管理應用部署
- OpenShift S2I 概念及流程
- 在Ubuntu上安裝OpenShift並使用Ubuntu
- Play Arch LinuxLinux
- JS Array play aroundJS
- Play框架學習框架
- 010.OpenShift綜合實驗及應用
- F5與Openshift整合,實現灰度釋出
- OpenShift 本地開發環境配置(基於 Minishift)開發環境
- Entity Framework Tutorial Basics(20):Persistence in Entity FrameworkFramework
- Entity Framework Tutorial Basics(2):What is Entity Framework?Framework
- 改造動態framework為靜態frameworkFramework
- Openshift-F5整合(總結)——與Router方案對比
- 解析 | openshift原始碼簡析之pod網路配置(下)原始碼