This week we discuss what we have been up to which includes building switches stack,Network cards in linux, IP tables and logic gates.
Show Notes: http://www.adminadminpodcast.co.uk/ep49sn/
Podcast: Play in new window | Download
This week we discuss what we have been up to which includes building switches stack,Network cards in linux, IP tables and logic gates.
Show Notes: http://www.adminadminpodcast.co.uk/ep49sn/
Podcast: Play in new window | Download
This week we discuss branches in windows 10 and Windows Server 2016:
Show Notes: http://www.adminadminpodcast.co.uk/ep48sn/
Podcast: Play in new window | Download
This week Jerry has start a new Job and We discuses how to find a new job, dealing with recruiters and how to start Contracting.
Show Notes: http://www.adminadminpodcast.co.uk/ep47sn/
Podcast: Play in new window | Download
i = Insert mode
o = instert new line
h = left
j = Move down
k = Move up
l =right
r = replace current character
x = remove a current character
dd = delete line
dw = delete Word
wq = Write and Quit Vim
q! = Quit with out saving
To search
/searchterm and press enter and then press N to next occurrence,
Copy and Pasting lines in VIM
Esc to be sure. Then copy the entire line by pressing yy (more info :help yy). Y stands for “yank“. Instead, you can also press Y (shift + y) but I find the former a bit more convenient.p. That will put the yanked line right under your cursor (on the next line). You can also paste before your current line by pressing the capital letter P. Again, to get some help you can use :help p.Copy and Pasting in VIM
v to select characters (or uppercase V to select whole lines, or Ctrl-v to select rectangular blocks).d to cut (or y to copy).P to paste before the cursor, or p to paste after.
This week we discuses all things Docker and Containers.
Show Notes: http://www.adminadminpodcast.co.uk/ep46sn/
Podcast: Play in new window | Download
So today i was playing with Docker and Containers on windows 2016 technical preview 5 with the following this guide:
I am running this a Virtual Machine in VMware 6 in my demo environment and was now planing ton use hyper-v containers just windows containers as i did not want to get involed with Nested Virtualization.
Every thing work until i try to start docker:
PS C:\Users\Administrator> Start-Service docker Start-Service : Failed to start service 'Docker Engine (docker)'. At line:1 char:1 + Start-Service docker + ~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service], ServiceCommandException + FullyQualifiedErrorId : StartServiceFailed,Microsoft.PowerShell.Commands.StartServiceCommand
And in event viewer it display this:
Log Name: Application Source: docker Date: 23/09/2016 08:44:01 Event ID: 4 Task Category: None Level: Error Keywords: Classic User: N/A Computer: dockerwinhost Description: fatal: Error starting daemon: Error initializing network controller: Error creating default network: HNS failed with error : Failed to create network Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="docker" /> <EventID Qualifiers="0">4</EventID> <Level>2</Level> <Task>0</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2016-09-23T07:44:01.595966100Z" /> <EventRecordID>297</EventRecordID> <Channel>Application</Channel> <Computer>dockerwinhost</Computer> <Security /> </System> <EventData> <Data>Error starting daemon: Error initializing network controller: Error creating default network: HNS failed with error : Failed to create network</Data> </EventData> </Event>
When Dockers first starts it try to create a nat network on the 172.16.0.0/12 network. As my Demo Suite is on the 172.30.0.0 Network this class with the nat network and cause network not to be created. To fix this Open up two powershell windows (Remember to run as Administrator). In the first windows type:
dockerd -H npipe:// -b "none"
This start docker with no network.Switch to the other power shell windows And type the following command to create a network which is not the 172.16.0.0/12 network
docker network create -d nat --subnet=192.168.0.0/24 --gateway=192.168.0.1 MyNatNetwork
Switch back to the other Powershell windows and close it. On the Powershell which is open type to start docker:
Start-Service docker
You should be able to carry on creating containers, The only problem is that i faced after that is that i could not access the containers using the nat mapping from a remote machone. Hopefully this a bug and fixed in RTM. I could access the container via the NAT IP address directly on the container host. To get the NAT IP address of the container type:
docker inspect "ID or Name of the container"
Again you will need to install firefox/chrome on the server if you trying acess to web application from the the container host.As edge does not seem to install by default in windows 2016 Server.
More info on these bugs see:
https://github.com/Microsoft/Virtualization-Documentation/issues/273
This week Al has migrated his VPS to FreeBSD and it is really cool!
Show Notes: http://www.adminadminpodcast.co.uk/ep45sn/
Podcast: Play in new window | Download
This week we catch up on what we have been up to over the last couple of weeks and give some tips and tricks
Show Notes: http://www.adminadminpodcast.co.uk/admin-admin-podcast-044-show-notes-some-quick-tips-and-tricks/
Podcast: Play in new window | Download
This week Andy discover the wonders Linux Server and tell us about the story of what he has been messing around with Ubuntu Server.
Show Notes: http://www.adminadminpodcast.co.uk/admin-admin-podcast-043-show-notes-andy-finds-out-about-the-wonders-of-linux/
Podcast: Play in new window | Download
#This Docs describes how to attached a new HD in linux this is blog is design to works with Ubuntu.
#Display all attched DISK
sudo lshw -class disk
#Show all attched HD
sudo fdisk -l
—
Disk /dev/sda: 64.4 GB, 64424509440 bytes
255 heads, 63 sectors/track, 7832 cylinders, total 125829120 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0003fa82
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 121634815 60816384 83 Linux
/dev/sda2 121636862 125827071 2095105 5 Extended
/dev/sda5 121636864 125827071 2095104 82 Linux swap / Solaris
Disk /dev/sdb: 21.5 GB, 21474836480 bytes
213 heads, 34 sectors/track, 5791 cylinders, total 41943040 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x36e7606e
Device Boot Start End Blocks Id System
/dev/sdb1 2048 41943039 20970496 83 Linux
Disk /dev/sdc: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders, total 20971520 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
### Initiate fdisk to partition the disk:
sudo fdisk /dev/sdb
# Select n to a add a new partition
# Select 1 to a add it as primary partition
#Format it as ext3
sudo mkfs -t ext3 /dev/sdb1
##Monut the New Disk
#Create a direcory
sudo mkdir /media/mynewdrive
#Mount into manually:
sudo mount /dev/sdb1 /media/mynewdrive
#Unmount into manually:
sudo mount /dev/sdb1 /media/mynewdrive
#Automatic Mount At Boot
sudo nano -Bw /etc/fstab
#add this line
/dev/sdb1 /media/backupdrive ext4 defaults 0 2
After a little Break. Al,Andy and Jerry are back. As normal we chat about what we have been up to and discuss SSH not SSL.
Show Notes:http://www.adminadminpodcast.co.uk/admin-admin-podcast-042-show-notes-its-ssh-not-ssl/
Podcast: Play in new window | Download
This episode we talk about what we have been up to and how usefully the NET command is.
Show Notes: http://www.adminadminpodcast.co.uk/admin-admin-podcast-041-show-notes-the-net-command/
Podcast: Play in new window | Download