Feed aggregator

Bridgwater man arrested after suspicious death in Taunton

Somerset Gazette - latest news - Wed, 11/22/2017 - 17:02
A MAN has been arrested after a man died in suspicious circumstances in Taunton. 
Categories: Somerset News

Now you see it, now you don't - demolition of tower block charted in photos

Somerset Gazette - latest news - Wed, 11/22/2017 - 16:38
QUANTOCK House office block has been finally reduced to rubble following demolition work lasting several weeks.
Categories: Somerset News

Grieving family's heartfelt tribute to 'caring and helpful' teenager who died suddenly

Somerset Gazette - latest news - Wed, 11/22/2017 - 16:02
THE family of a super fit, boxing-mad teenager are struggling to come to terms with his sudden death.
Categories: Somerset News

Former manager at Minehead Tesco sentenced for possessing hundreds of indecent images of children

Somerset Gazette - latest news - Wed, 11/22/2017 - 14:04
A WASHFORD man who downloaded hundreds of explicit images of children being sexually abused has been spared jail.
Categories: Somerset News

Installing Older Docker Client Binaries on Fedora

Scott Lowe's Blog - Wed, 11/22/2017 - 13:00

Sometimes there’s a need to have different versions of the Docker client binary available. On Linux this can be a bit challenging because you don’t want to install a “full” Docker package (which would also include the Docker daemon); you only need the binary. In this article, I’ll outline a process I followed to get multiple (older) versions of the Docker client binary on my Fedora 27 laptop.

The process has two steps:

  1. Download the RPMs for the older releases from the Docker Yum repository (for Fedora, that repository is here).
  2. Extract the files from the RPM without actually installing the RPM.

For step 1, you can use the curl program to download specific RPMs. For example, to download version 1.12.6 of the Docker client binary, you’d download the appropriate RPM like this:

curl -LO https://yum.dockerproject.org/repo/main/fedora/24/Packages/docker-engine-1.12.6-1.fc24.x86_64.rpm

You’ll note that the URL above appears to be tied to a particular Fedora version (24, in this case). However, that’s only significant/applicable for the entire RPM package; once you extract the specific binaries, you should have no issues running the binaries on a different version (I was able to run older versions of Docker—ranging from 1.9.1 to 1.13.1—on Fedora 27 with no issues).

Once you have the RPM, you can use rpm2cpio and cpio (as outlined in this article) to extract the files inside the RPM. For example, to extract the files from the RPM downloaded above, you’d use a command like this:

rpm2cpio docker-engine-1.12.6-1.fc24.x86_64.rpm | cpio -idmv

This will extract all the individual files in the RPM package. In this specific example, you’ll see two directories created: a usr directory and an etc directory. Digging into the usr directory, you’ll find the docker client binary in a bin subdirectory. This client binary is really the only thing we need from the package, so we can copy it out:

cp usr/bin/docker ./docker-1.12.6

You’ll note that I “versioned” the file in the name, so as to make it easier for multiple versions of the Docker client binary to co-exist on the same Linux system.

With the Docker client binary extracted, we can remove the extracted files and the downloaded RPM package:

rm -rf etc rm -rf usr rm docker-engine-1.12.6-1.fc24.x86_64.rpm

(Important warning: you’ll note that my references to usr and etc lack a preceding forward slash, meaning I’m referencing directories named usr and etc in the current directory. Be sure you do not include the leading slash, or you’ll be in a world of hurt.)

You can place the extracted binary wherever you’d like (I like to use /opt/docker/bin), and repeat the process for a different version. Whenever you need to run a particular version of the Docker client, you have (at least) three options:

  1. Somewhere in your PATH, create a symbolic link named docker that points to the version you want to run. Then, just run docker like you normally would.
  2. Specify the full path to the client binary you want to run.
  3. Temporarily alias docker to the particular binary version you want.

If you plan on having a “full” Docker package installed on your Linux system (quite handy, by the way), then option #1 may be a bit more complicated; you may prefer option #2 or option #3. Option #3 probably provides the best balance between ease-of-use and flexibility. Your mileage may vary, of course.

Here’s hoping others find this information useful as well!

Categories: Scott Lowe

Walkers vow to defy 'red tape' in Blue Anchor path row

Somerset Gazette - latest news - Wed, 11/22/2017 - 13:00
CAMPAIGNERS have vowed to keep using a hotly disputed coastal footpath at Blue Anchor as 'the red tape is proving too slow'.
Categories: Somerset News

What the Autumn Budget means for Somerset

Somerset Gazette - latest news - Wed, 11/22/2017 - 12:15
Philip Hammond will deliver the the budget at 12.30pm. Prime Minister Theresa May has promised a budget to make Britain "fit for the future". He is expected to announce moves to boost house-building and invest in infrastructure in a strong signal that he is ready to start bringing down the curtain on the age of austerity.
Categories: Somerset News

'Miracle' boy Wilf completes Quantock Hills marathon walk - and meets Pudsey Bear

Somerset Gazette - latest news - Wed, 11/22/2017 - 12:08
A ‘MIRACLE’ boy had to be slowed down when he took on a walking challenge that would have been like a marathon to most people.
Categories: Somerset News

Wellington's heritage in good hands as new risk manager appointed

Somerset Gazette - latest news - Wed, 11/22/2017 - 11:54
WELLINGTON’S heritage is in good hands as a person has been appointed to oversee it.
Categories: Somerset News

Project that gives Christmas gifts to under-privileged children running for its third year

Somerset Gazette - latest news - Wed, 11/22/2017 - 11:19
A PROJECT that gives the gift of Christmas to children across Taunton and Wellington is returning for its third year.
Categories: Somerset News

Seashells Nursery becomes part of Minehead First School

Somerset Gazette - latest news - Wed, 11/22/2017 - 08:53
AFTER years of planning, Seashells Nursery has finally become a part of Minehead First School.
Categories: Somerset News

Donations worth double for one week for Somerset Wildlife Trust

Somerset Gazette - latest news - Wed, 11/22/2017 - 08:25
SOMERSET Wildlife Trust has been selected to take part in The Big Give Christmas Challenge, a national UK match funding campaign.
Categories: Somerset News

Electricity bills WILL rise after 'grave errors' in Hinkley C deal, say MPs

Somerset Gazette - latest news - Wed, 11/22/2017 - 07:25
CONSUMERS have been dealt a 'bad hand' by the Government over the near £20 billion Hinkley Point C nuclear power station, facing costs running to many times the original estimate, it has been warned.
Categories: Somerset News

Installing Postman on Fedora 27

Scott Lowe's Blog - Tue, 11/21/2017 - 20:00

I recently had a need to install the Postman native app on Fedora 27. The Postman site itself only provides a link to the download and a rather generic set of instructions for installing the Postman native app (a link to these instructions for Ubuntu 16.04 is also provided). There were not, however, any directions for Fedora. Hence, I’m posting the steps I took to set up the Postman native app on my Fedora 27 laptop.

(Note that these instructions will probably work with other versions of Fedora as well, but I’ve only used them on Fedora 27.)

Here are the steps I followed:

  1. Download the installation tarball, either via your browser of choice or via the command line. If you’d prefer to use the command line, this command should take care of you:

    curl -L https://www.getpostman.com/app/download/linux64 -O postman-linux-x64.tar.gz
  2. Unpack the tarball into the directory of your choice. I prefer to put third-party applications such as this into the /opt directory; you can (obviously) put it wherever you prefer. This command should do the trick:

    sudo tar xvzf postman-linux-x64.tar.gz -C /opt

    If you prefer a directory other than /opt, specify the appropriate directory in the command above.

  3. In my particular case, tar created a directory with an uppercase character (/opt/Postman) and some odd permissions (a strange user and group for ownership). I fixed those with mv and chown, respectively. You may or may not need to do anything.

  4. Create a symbolic link in a directory included in your PATH. In this example, I’m creating the symbolic link in /usr/local/bin, but you could use any directory included in your PATH:

    sudo ln -s /opt/postman/Postman /usr/local/bin/postman
  5. At this point, you should be able to launch Postman by just running postman from the terminal. However, ideally you’ll want to be able to use a graphical launcher. To do that, you need to create a “desktop launcher.” Create a file named postman.desktop in ~/.local/share/applications with these contents:

    [Desktop Entry] Name=Postman GenericName=API Client X-GNOME-FullName=Postman API Client Comment=Make and view REST API calls and responses Keywords=api; Exec=/opt/bin/postman Terminal=false Type=Application Icon=/opt/postman/resources/app/assets/icon.png Categories=Development;Utilities;
  6. Log out and log back in, and after a few minutes you should be able to see a Postman icon in your list of applications. You can now launch Postman either by using the graphical launcher or by running postman in the terminal.

Enjoy!

Categories: Scott Lowe

Restrictions in place after norovirus outbreak at Musgrove Park Hospital

Somerset Gazette - latest news - Tue, 11/21/2017 - 17:27
A NOROVIRUS outbreak has led to restrictions at Musgrove Park Hospital. 
Categories: Somerset News

See which shops in Taunton are offering what for Black Friday

Somerset Gazette - latest news - Tue, 11/21/2017 - 17:14
PURSES and wallets at the ready - Black Friday is only a few days away.
Categories: Somerset News

Residents angered over incidents described as 'unusual' for Cotford St Luke

Somerset Gazette - latest news - Tue, 11/21/2017 - 17:06
RESIDENTS in a sleepy Somerset village are outraged by a recent spate of thefts and anti-social behaviour.
Categories: Somerset News

Is this the world's toughest race? It cost a solicitor $550 to enter

Somerset Gazette - latest news - Tue, 11/21/2017 - 16:16
SOLICITOR Kieran Hughes has just completed the most extreme obstacle course on the planet - and paid $550 for the pleasure.
Categories: Somerset News

Updated A History of Watchet book launched

Somerset Gazette - latest news - Tue, 11/21/2017 - 15:56
WITH Watchet going through a turbulent time with many changes in recent years, one man has taken upon himself to update the town's most popular history book.
Categories: Somerset News

Police apologise to HIV community after spit hood comments

Somerset Gazette - latest news - Tue, 11/21/2017 - 15:37
AVON and Somerset Police have apologised for suggesting HIV can be contracted through spitting after announcing the introduction of spit hoods to protect officers.
Categories: Somerset News
Syndicate content