$ssh-keygen
$rhc-create-domain -d -n mynamespace -l mymail@mailserver.com
Alter the namespace if you regret and want to change an existing one. Be aware that the name should not conflict with other namespaces !
$rhc-create-domain -d -n mynamespace -l mymail@mailserver.com --alterMy first PHP app on Openshift:
rhc-create-app -a App01 -t php-5.3 --enable-jenkins
Next add MySql support:$ rhc-ctl-app -a myapp -e add-mysql-5.1
Password:
RESULT:
Mysql 5.1 database added. Please make note of these credentials:
Root User: admin
Root Password: WE4GWEHJASDJSDKLSDJSDFJKFHSDJFHSDJFHSDJKFSD
Database Name: myapp
Connection URL: mysql://127.1.XX.XXX:XXX/
You can manage your new Mysql database by also embedding phpmyadmin-3.4.
You will find a directory named myapp with a php directory created.
Set up and unzip your osCommerce under php-directory:
git push
To manage your MySQL using phpmyadmin use the following command:
$rhc-ctl-app -a redmine -e add-phpmyadmin-3.4
To manage your MySQL using phpmyadmin use the following command:
$rhc-ctl-app -a redmine -e add-phpmyadmin-3.4
Inga kommentarer:
Skicka en kommentar