A small script to automate the installation of webmin and adding it to source.list.d. sudo apt-get install apt-transport-https gnupg2 wget -y wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add – echo ‘deb https://download.webmin.com/download/repository sarge contrib’ | sudo tee /etc/apt/sources.list.d/webmin.list sudo apt-get update sudo apt-get install webmin -y Or without sudo: apt-get install apt-transport-https gnupg2 wget […]
Posts in the Linux category:
Find big files in unix
find / -xdev -type f -size +100M
Letting Ubuntu resolve .local domains from network DNS servers
Ubuntu uses the Avahi Daemon to rewrite .local domains to always be localhost. This can be prevented by editing the config file sudo gedit /etc/avahi/avahi-daemon.conf and setting changing #domain-name=local into domain-name=.localhost (note that there needs to be a . between the name you select and the = mark. After doing this run sudo service avahi-daemon […]
OneDrive running under Ubuntu
Found and installed a great project to use OneDrive on Ubuntu; https://github.com/xybu/onedrive-d-old Only issue I had was that I needed to run the following command before the daemon would start but now it runs fine! sudo pip3 install click –upgrade After running the install I did the following commands to make sure my Documents folder on […]
Using G729 codec on Asterisk 13 with FreePBX 13 (on a x64 modern kernel)
We started using FreePBX instead of Lync recently and after a while we ran into the following error: WARNING[30830][C-00001548] channel.c: Unable to find a codec translation path: (slin) -> (g729) Turns out that even though G729 is by default shown in the GUI of FreePBX it is not turned on by default since it requires […]
Webmin “Linux RAID” on Debian
Building my new NAS I am using a single laptop disk (for now, possibly an SSD later) for my OS and will by adding several 1 TB disks into a RAID. While in Webmin trying to setup the “Linux RAID” feature I ran into an error: The kernel RAID status file /proc/mdstat does not exist […]
VI Cheat sheet
Found an excellent vi cheat-sheet here
SNMP on Debian
After running through several rather unreadable “help” pages on the internet I found the two most important settings in de snmpd.conf file which actually allowed me to access the machine from the network. agentAddress, which is by default set to only allow local connections but on line 17 there is a pre-made setting which allows […]
Installing Debian on a CH3SNAS
I came across a cool installation image that will allow you to reflash your Conceptronic CH3SNAS to be able to run a Debian install. I will be doing some experiments with this environment on my local NAS to check out if this is any good and how the performance will be. You can find the […]