created Jenkins environment in ec2 ubuntu instance - amazon-ec2

created Jenkins environment in ec2 ubuntu instance
and created drupal instance in another ec2 instance how to transfer files from jenkins environment to drupal environmen

I am not good in linux skills. If you are windows user. You can use WinSCP in your windows OS. You can login jenkins linux os and drupal linux os for files transfer. You can achieve file copying between linux system in this way.
Another way is to use linux commands.
http://www.mpipks-dresden.mpg.de/~mueller/docs/suse10.2/html/opensuse-manual_en/manual/sec.filetrans.copy.html
Hope it helps!!!

Related

pycharm on host machine, file ONLY on guest/remote machine

Is it possible to use pycharm installed on the host machine, to use remote interpreter and files on a vagrant guest machine, without having a copy of them on the host machine?
It is possible but you have to pay the licencse to do it. yYou'll need to use Pycharm Professional Edition
See pycharm info

How to run Windows 7 in docker?

Can I run a full Windows 7 or 10 on Docker for Windows?
I am not aware of any fully dockerized Windows 7 OS.
You can acheive that in an indirect way. You can start virualbox inside a container and run Windows7 from there. Check the following Dockerfile to start virtualbox inside a container (Instructions are in the comments)
Docker runs containers. Containers are fundamentally different from a virtual machine. A VM runs an entire operating system. A container is used to run an isolated application with the same host OS kernel. So by definition of the tool, docker cannot run an entire operating system.

How can I run a docker windows container on osx?

I'm running docker for mac and want to start up a windows container. From what I see this should work via a virtual machine. But I'm unclear where to find out how to get it to work? Or does it only work for linux containers? Thanks in advance!
docker build nanoserver/
Sending build context to Docker daemon 2.56kB
Step 1/6 : FROM microsoft/nanoserver:10.0.14393.1480
10.0.14393.1480: Pulling from microsoft/nanoserver
bce2fbc256ea: Pulling fs layer
baa0507b781f: Pulling fs layer
image operating system "windows" cannot be used on this platform
I know I am late to the party but as of 2021, this is the easiest setup to get a windows container running on macOS:
https://github.com/StefanScherer/windows-docker-machine
Install vagrant and virtual box
Clone the repository above and change directory into it
vagrant up --provider virtualbox 2019-box
docker context use 2019-box
I followed this setup and I could use the following windows image
mcr.microsoft.com/windows/servercore:ltsc2019
Please note that the windows version of your host must match the container image. This is mentioned here: https://hub.docker.com/_/microsoft-windows
Windows requires the host OS version to match the container OS
version. If you want to run a container based on a newer Windows
build, make sure you have an equivalent host build.
See this link:
https://forums.docker.com/t/how-do-i-start-a-windows-docker-container-on-my-mac-os-x/12953/2
Text if you can't follow the link:
On OS X, get VirtualBox.
Get Windows Server 2016 Tech Preview 5 ISO167 (free download from Microsoft)
Create WS 2016 TP5 VM in virtualbox
Run this206 in the new VM
Now you can run Windows Containers in the VM. To make the setup a little easier to use, see this: https://forums.docker.com/t/windows-server-2016-tp5-docker-server-remote-management/10315/5317
You could also install Bootcamp on your machine which allows you to dual boot your computer between OS X and Windows 10. You could then use the full power of your hardware dedicated to Windows and docker instead of virtualization.
Additionally, you can make the use of VMWare Fusion for Mac OS or Parallels, which allow you to ALSO access the dual boot windows partition from within the Mac OS for maximum flexibility. During installation make sure you do not create a Virtual Machine drive, but instead access the bootcamp partition directly.

How to work on a windows IDE while my Git repository is on Linux (using VMPlayer)

I want to develop on 2 systems - using Linux (ubuntu) for server/git repo while having my IDE (RubyMine) in Win7. What is the best approach to configure my environment so the files will be shared between the systems, and also that my Win RubyMine will work correctly with git?
You need git on Windows installed for starters. Then you can setup a shared directory that both Linux and Windows can use. In there you put your repo so that it can be accessed from both sides. Or you use dropbox and access it from both systems. Why don't you use Rubymine in Linux? Is it Win/Mac only?
VirtualBox for hosting and share the folder through the guest add ins. You don't want to switch to the vm while working. Terminal into the vm from windows.

Accessing files outsude VMWare

I am running Oracle Enterprise Linux on VMWare. I now want to install Oracle which is is located on my C drive in Windows. Is there a way to copy this file to a folder in my virtual machine?
If its just once off, easiest way is to install winscp onto your windows host, setup a bridged or host only network on the vmware server and using winscp to copy the files in.
I think you can install vmware tools which would allow for shared folders, but last time I tried I ran into some issues and gave up.

Resources