I was trying to connect with an windows VM as part of testing out hardening - this is being pushed to my github. Once windows machine booted up, I set up WinRM using ansible WinRm enable sample script ConfigureRemotingForAnsible.ps1 -ForceNewSSLCert Trouble came when I tried to connect to windows machine via WinRM. This was solved … Continue reading WinRM connect to Virtualbox hosted Windows 2012R2 VM
I was checking an article on how to upload archived logs to azure blob. As initial set up I've updated logrotate.conf(/etc/logrotate.conf) with below settings. file to edit: /etc/logrotate.conf # see "man logrotate" for details # rotate log files weekly weekly # keep 4 weeks worth of backlogs rotate 1 # create new (empty) log files … Continue reading Linux Log Rotate and archive rotated file.
These series is on performing hardening Windows Server 2012 via ansible. I'm new to this side of work. So as I learn I'll update this series. I'm also planning to keep this as my work diary for future references or If I forget something 😉(how to emoji 🤪). For this series I'm using below … Continue reading Ansible windows hardening – 2012 R2 Part 1 – Installation
Yesterday I encountered an issue while publishing a web job to Azure. '_CheckAzureNet46Support' with error VerifyAzureNet46Support - [VerifyAzureNet46Support] C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.targets(4755, 7): Your hosting provider does not yet support ASP.NET 4.6, which your application is configured to use. I've encountered this issue intermittently, I was a little confused when the version of ASP.NET mentioned is … Continue reading MsBuild publishing failed with VerifyAzureNet46Support
Getting a mail when hard Disk space cross certain percentage. The best way is to have a script that runs under crontab in each hour. So here goes the script I uses. Primary scripts run at cron in it calls second script(python) that send smtp mail. The code as whole is not mine. I got … Continue reading Disk Usage analyzer mailer for Linux- SMTP
Prerequisites: Phone should be rooted.Install Hola-better internet from play-store. Enable Unblock(Screenshot below)Install aptroid to install Spotify. There you goes.To get spotify on Browser install Hola pluggins(Chrome,Firefox). Have an open internet.
It took me few days to figure out how to install Ubuntu on my Lenovo machine. I went through a series of issues before actually installing Ubuntu and getting things into working mode.1. The boot issue.The first issue was that after installing my first OS Windows 8.1 I was unable to move into UIEF boot … Continue reading Ubuntu in Lenovo G500.