JunOS : How to add a DHCP address reservation

On Juniper devices acting as DHCP server, static reservation (static lease based on MAC address) can be achieved as followed : set access address-assignment pool <dhcp-pool-name> family inet host <client-host-name> hardware-address <client-mac-address> ip-address <client-static-ip> Example : set access address-assignment pool DHCP_Grp_v128_Pool1 family inet host mtrlpqm1lt0276 hardware-address 8c:ae:4c:c8:45:c5 ip-address 10.10.128.72 Then apply the configuration : commit… Read More »

Linux : How to test Apache mod_rewrite

Apache mod_rewrite is a very popular server module that, as per name, manage URL rewriting in a very flexible manner. With the constant run around between server admins and developers (developers claiming : that’s the server, not the code – and the other way around for sysadmins : that’s the code, not the server); testing… Read More »

Web : How to disable NextCloud app from CLI

There are many reasons why you’d like to disable an app from the server terminal, such as when an app upgrade went wrong and NextCloud is stuck in the process. Once logged with SSH to your server, do the following : 1. Go to your NextCloud installation folder : cd /path/to/nextcloud Optional : If you… Read More »