Tag: windows

  • Control windows docker with Windows 10 Ubuntu Linux subsystem

    Windows 10 Linux subsystems are a very powerful feature and expand the capabilities for Windows based developers greatly, without the need to use VMs or dual booting. One of these is controlling your windows based docker host via your Linux subsystem.

    Why?

    Linux command line is much more powerful that windows standard cmd line, you can combine a number of tools using piping to perform complex operations all via cli. Many of the tutorials, guides and normal operating commands used by docker and other tools are written using Linux based command line.

    1. Setup Linux Subsystem

    First you need to have your linux subsystem all setup and running. here is a guide I previous wrote to do just that.

    All commands below will be via your linux subsystem.

    Windows 10 Subsystem for Linux Ubuntu

    2. Updates and packages

    3. Add Docker’s official GPG key

    4. Add repository

    5. Install docker client

    6. Add docker host to bash profile

    This is so that you dont have to keep telling docker client how to access the docker service.

    7. Enable exposed daemon with docker

    We are almost done, now we just need to go back to our windows system and enabled exposed daemon via the docker settings.

    Right click the docker icon within your task area and choose settings.

    The general tab should have a “Expose daemon on tcp://localhost:2375 without TLS”, enable this option.

    You should now be able to control your Windows docker service via your Linux subsystem.

    Note

    There is a more secure way to establish a connect between your subsystem and docker client, have a look at the following guide.

    [Cross Post] WSL Interoperability with Docker

  • Windows 10 Subsystem for Linux Ubuntu

    I have always been more of a Windows based developer and used Linux based systems for server technologies, I have tried in the past to move to Linux but I am to fixed in my way and prefer the tools I have on windows! Is that a bad thing, I dont no? however with Windows 10 comes Subsystems which allows you to run a Linux based Ubuntu as part of a subsystem working jointly with your windows 10 operating system.

    Im not talking about a VM or dual booting, I am talking about the ability to go to windows command line and type “ubuntu” and a full fledged ubuntu system from the command line starts up and allows you to run various tools, applications and services all within Ubuntu within Windows 10!

    Microsoft site has a simple guide to follow to install the linux subsystem here.

     

    1. Enabled windows subsystems for Linux

     

    2. Install Ubuntu via Windows Store

    Open Microsoft Store and search for Ubuntu and click install
     

    3. Initialise Setup

    Open command line and type ubuntu to start the ubuntu instance, it will take you throught a initialisation stage

     

    What next? have play around with Ubuntu on windows. For development purposes I am going to be using it with Docker! allowing me to control my Windows Docker environment from the Ubuntu Linux, as it allows me to use all the Linux based command structures and pipes making the experience even smoother and more powerful.

  • How to open a .Pages file using windows

    How to open a .Pages file using windows

    Today I was asked by a client how they open a .Pages files using a windows. Their computer didn’t recognise the file.

    What is a .PAGES file?

    A .PAGES file is an archive technology created by Apple for use on its Mac OS, it is very similar to .zip files. They are normally created when using iWorks a Mac OS program similar to Microsoft Office, Mac users can share there documents however it defaults to using a .PAGES archive format which is only supported on Mac devices.

    How to open it?

    It’s actually quite simple, just rename the file and change the .Pages extension to .zip and you can open it as a normal zip archive.

    • Right click file and select Rename
    • Replace .pages with .zip
    • Click yes when it popups up with “Are you sure?”
    • You should now be able to open the file
  • Combine multiple files into one using Windows Command Prompt

    Combine multiple files into one using Windows Command Prompt

    Combine multiple files into a single file is very simple on Windows as long as the files you are wanting to combine are text (binary). Its not possible to merge multiple images, videos and other none binary related content using this method. Here is the Command Prompt (cmd) command we will be using to achieve this. (more…)

  • What is a server

    What is a server

    A server is a computer designed for a specific task such as running a website, a server tends to be powered up more often compared to a regular computer with most servers running 24/7. Servers are a major part of our everyday live, the internet is a collection of hundreds of thousands of servers all working together performing various tasks. (more…)

  • Why a VPS (virtual private server)?

    Why a VPS (virtual private server)?

    VPS are a cheap and efficient way of owning a server without having to maintain the physical hardware, infrastructure and costs involved when renting server space. You can purchase a new VPS from most providers and within 15 minutes you can be installing your software and services. A VPS is just like owning a physical server you can install and do what you want with it. (more…)

  • What is a VM (virtual machine) or VPS (virtual private server)

    What is a VM (virtual machine) or VPS (virtual private server)

    I’m going to talk about virtual machines (VM) before I go onto virtual private servers (vps), to understand what a vps is you need to understand what a vm is as they are very similar (practically the same thing). A VM is a virtualized (virtual) operating system running inside a master operating system, for example we have a physical computer running windows XP this is known as the master, we install virtualization software which allows us to create virtual computers inside the master, multiple virtual machines can be installed on a single master. (more…)

  • How to create VMs (virtual machines) using VirtualBox

    How to create VMs (virtual machines) using VirtualBox

    Virtualisation is used to run multiple operating systems on a single computer, if you want to know more about virtual machines (vm), virtual private servers (vps) then please read this post. In this guide I will be teaching you how to install, setup and start a virtual machine using some software called VirtualBox, there is alternative software available but I have chosen this one due to its ability to run on most operating systems such as Windows, Linux and it’s free. (more…)