mac-cli — A command line interface to Mac’s App Store

Some days ago my pal @masolino discovered and linked me this project on Github: mas-cli which is a command line interface to Apple’s macOS App Store …
A project like this is clearly aimed at every business environment where a sysadmin can use scripts to install, upgrade or remove the licensed software on their machines.

mac-cli example (2016-12-10)

mas-cli →

Even if this kind of market seems “abandoned” by Apple, the reality is that reports of successfully Mac integration in business and enterprise environments grow every month so this kind of utility is going to be appreciated by the most skilled sysadmins … and, anyway, a super interesting one!

 

Tomcat 7, munin and Ubuntu 14.04

Lately I had to reconfigure an Ubuntu 14.04 server.
Dealing with Tomcat 7 I’ve encountered those two situations:

Enable larger file uploads via Tomcat manager

I had a ~180 war file to deploy. Ubuntu’s Tomcat setting put a limit at 50MB. This has been solved using the tips in this post by skotfred. Unfortunately I haven’t found a more orthodox way of achieving this other than modify the /usr/share/tomcat7-admin/manager/WEB-INF/web.xml in the values max-file-size and max-request-size.

Enable Tomcat monitoring in Munin

Here I’ve followed the tips over this Serverfault discussions.
Adding a [tomcat_ *] was the key.

password protect your Tomcat powered project

At work we’re in the middle of the development of a new Tomcat powered bioinformatics application, and have reached the stage were you have to show it to some peers but not make it publicly available. I do have an ubuntu 12.04 LTS server, so I took the most out of this Randeep’s post:

password protected directory in Tomcat

Here it is how to do it in few steps:

  1. Add user, password and role in conf/tomcat-users.xml
  2. In the webapps/examples/WEB-INF/web.xml specify role, method and urls.
  3. Restart Tomcat and check the result

MacJREInstaller and Oracle’s Java install application

Der Flounder

Part of Oracle’s new install application for Java is a binary named MacJREInstaller. This application appears to be what installs Java and governs whether or not the Ask.com toolbar gets deployed.

Screen Shot 2015-03-06 at 4.00.10 PM

For context, MacJREInstaller appears to be the helper tool referenced when the Java install application prompts for admin privileges.

Screen Shot 2015-03-03 at 3.52.13 PM

Based on observation, when running the Java install application, MacJREInstaller appears to run the following tasks:

1. Checks to see if it can contact the internet

2. If it can contact the internet, checks back with Oracle to see what country it’s in. Oracle apparently is selective about which nations it wants to have the Ask.com browser settings and toolbar installed (thanks to a Canadian colleague’s testing, it appears Canada is not one of the nations.)

3. If it determines the Mac in question is in a country where Oracle wants to deploy the Ask.com browser settings and toolbar…

View original post 639 more words

Zabbix, an Enterprise-class Monitoring Solution for Everyone

In these days I’m participating in the RECAS School of Cloud Computing by the Physics Faculty of University & Politecnico of Bari, and our teachers are showing us some technologies involved in their cloud infrastructure.

Zabbix is a monitoring solution deployed here, and illustrated to us by Vincenzo Spinoso, that has replaced old-school solutions like Nagios, Munin and such that caught my eye. I liked it so much, the documentations is so rich, I think I’ll dump my Munin installations and migrate everything to it ASAP when I’ll get back at the office…

Adagios – Web Based Nagios Configuration

Adagios is a web based Nagios configuration interface built to be simple and intuitive in design, exposing less of the clutter under the hood of nagios. Additionally adagios has a rest interface for both status and configuration data as well a feature complete status interface that can be used as an alternative to nagios web interface.

Project website is at http://adagios.org