Email: inbox [at] sysadmin.lk
LinkedIn: https://www.linkedin.com/in/prabatht
Facebook: https://www.facebook.com/prabath.hinoize
Related Articles
How To Save All Docker Images And Copy/Move To Another Host?
Follow the below steps to export all docker images and import them to another system. Step #1 Export or save all images to one tar file. docker save $(docker images –format ‘{{.Repository}}:{{.Tag}}’) -o allimages.tar Step #2 scp -i key.pem rocky@192.168.1.1:/tmp/allimages.tar . Step #3 Load all images to docker on new host. docker load -i allimages.tar
How to re-sync the Mysql DB if Master and slave have different database incase of Mysql replication?
This is the full step-by-step procedure to resync a master-slave replication from scratch: At the master: And copy the values of the result of the last command somewhere. Without closing the connection to the client (because it would release the read lock) issue the command to get a dump of the master: Now you can release the […]
Creating the SOAP server with NuSOAP
Creating the SOAP server Create a file called food.php and copy the and paste the below code into it. <?php require_once “lib/nusoap.php”; class food { public function getFood($type) { switch ($type) { case ‘starter’: return ‘Soup’; break; case ‘Main’: return ‘Curry’; break; case ‘Desert’: return ‘Ice Cream’; break; default: break; } } } $server = […]