vagrant openshift origin how-to connect to console? - vagrant

I am a openshift origin noob and I try to install it on my laptop & play with it...
On windows 7 I have installed vagrant, virtualbox and Vagrant-openshift plugin (https://github.com/openshift/vagrant-openshift)
I have created the box & is starting when I do vagrant up & I can connect using ssh to the machine
My question is what do I need to do next?
How can I connect to the web console of openshift?
Where do i need to install rhc and how? to be able to create/deploy apps?
Thank you,
Bogdan

Once installed, you can access Openshift console at https://hostname-OR-IP:8443/console
If you can't access check the status of your routes with ip route and verify that the vagrant default interface(usually eth0) is not configured as the default route.
If you are able to login in the server, you can run oc and oadm commands to create/configure apps.

i think that windows isn't a good plataform to install openshift, if you have a VM try to install CentOS 6 or fedora (or RHEL 6 if you have access to any distribution) there's a very larger amount of information to these OS than windows, or you just can install the openshift OS distribution that is supposed to do everything for you, you only have to configure the DNS server and DHCP and a few thing that scripts doesn't can do for you.
If you try to install it on one of the Linux distribution mentioned above you can just install it from the webpage or try to install from the deployment guide that is very complete: www.openshift.org/documentation/oo_deployment_guide_comprehensive.html
In my personal experience i had a very hard time with the deployment guide but it worth if you think in the knowledge and experience that you gain.
all is there, hope it weren't too late to answer you.

Related

Can one create an MIQ Dev Appliance in Linux or Windows environment?

This README file provides a link to instructions on how to create the ManageIQ Appliance dev setup for a MAC OSX environment, but it says that Linux instructions are TBD. See Screenshot:
Are we truly limited to MAC OS for development? Are there no instructions out there for setting up in a Linux or Windows environment?
Thank you!
Can one create an MIQ Dev Appliance in Linux or Windows environment?
You can find the detailed guide here for different Linux distros.
Are we truly limited to MAC OS for development?
The main limitation is that Podman client On MacOS doesn't work properly. Since podman a tool for running Linux containers, you gonna need some remote linux machine running, in order to install the remote client and then setup ssh connection information in the podman-remote.conf file. (here)

Upgrade Jenkins remotely

I need to upgrade a version of Jenkins on a remote machine. The machine (a Mac mini) is running on a LAN but no one is able to locate the actual computer and no one has access to the password (I only have the IP address and Mac username). Is it possible to upgrade the current version of Jenkins on the machine remotely through the Jenkins web interface?
There is a link from within Jenkins
which is detailed here
http://jenkins-le-guide-complet.batmat.cloudbees.net/html/sect-installation-upgrading.html
I would suggest you find the machine as it could go down if you lose power and also it might need upgrades

Create a dev/test cloud on a box or two

So I have a similar question to Recommended setup for a "hom dev cloud"? I want to run VM's on an old desktop basically. Everything I've seen for installing EC2 eucalyptus or openstack has been on bare metal. I tried to install on ISO on a vm, but it wouldn't install to a VM. Is it possible to have test environment on one server where I can programmatically spin up vms as I would with a public cloud?
Thanks!
Since you are interested in deploying your cloud as a VM, you should also consider Apache Cloudstack. Have a look at DevCloud for a VM image.
It appears this will work for openstack http://devstack.org/guides/single-vm.html. Is there anything similar for ec2 eucalyptus?
For eucalyptus you could take a look at eucadev:
http://sigtt.in/articles/2013/11/25/introducing-eucadev/

I have a windows pc, can I develop with LAMP?

I have a pc running windows but I want to use a linux server. Is there a way for me to develop my website on my computer before I rent space on a server? Also its probably important to note that I have no linux experience. Should I just stick with wamp?
Unless you specifically and purposely use .NET features in your PHP Application, then an application developed in WAMP will work fine on a LAMP Server as long as you have included all the same PHP plugins.
PHP is independent from Linux or Windows. 99.9% of the time you have to knowingly use features from the host OS.
You should try ubuntu in a virtualbox, there are lots of well written guides that'll get you up and running.
For best performance, use coLinux. Install a linux distro like ubuntu (easier for beginners) and you should be ok.
Yes. I have developed and maintained a website like this before. My development environment was WAMP and the server was a LAMP shared server. Shouldn't be a problem till your site is using fairly basic libraries and they are available both for windows/linux.
However as others mentioned, its wiser to have the development environment as close possible to the production environment. You don't hit any surprises that way. And hey its not difficult and involves no cost:
You can use dual boot to have linux as other operating system.
Depending on your machine, you can just install VirtualBox and install a Linux VM.

How can I share a local Subversion repository between a Mac workstation and a Windows virtual machine?

I would like to share a Subversion repository between my main computer running OS X Lion and a virtual machine running Windows 7 hosted in this computer (via VMware). I am unsure what is the best way to go about this.
I am thinking of setting up Apache and Subversion server on the OS X side and hopefully that would allow my virtual to access the repository from the Windows virtual using something like Tortoise SVN and accessing the repository at http://macHostName/pathToRepository. This seems feasible since the OS X side is always running.
An alternative could be setting up Apache and Subversion on the Windows virtual, which would require me to run the virtual everytime I want to access the repository from the OS X side. Perhaps Subversion can be set up in IIS? That would save some time if I don't need to install Apache.
Either way, I am unsure of the best way to go about this set up and what the caveats of each option are. I also haven't found a good walkthrough that will show how to set up a Subversion server on any OS using Apache.
Then, there is also the option of using svnserve, which I am unfamiliar with. Will a repository not served by an HTTP server like Apache be accessible for whoever is not serving it from the OS X host and the Windows virtual?
Any pointers will be appreciated.
Both Apache and svnserve are using network protocols, so the basic network setup between your host and your guest regarding routing and firewalls will be the same.
If you already have Apache installed and are familiar to it, I recommend to use it. Otherwise my recommendation is svnserve, because it is much simpler to setup and configure. The SVN-Book has a chapter for setting up svnserve both in Windows and in OSX.

Resources