Open /etc/avahi/services/afpd.service for editing
sudo vi /etc/avahi/services/afpd.service
Copy and paste the following XML
<?xml version=”1.0″ standalone=”no”?>
<!DOCTYPE service-group SYSTEM “avahi-service.dtd”>
Restart avahi daemon
sudo service avahi-daemon restart
For the purpose of demonstrating this tutorial I will be using Ubuntu 18.04 LTS.
Step1. Check Webmin version
Webmin can now request SSL certificates from Let’s Encrypt from within the UI. However to use this you will have to be at least on v 1.78
Step 2. Install Let’s Encrypt Client
sudo apt-get install letsencrypt
Step3 – Configure Webmin
Goto Webmin –> Webmin Configuration
Click on the gear icon on the top left corner called the “Module Config”
Fill in the Full path to Let’s Encrypt client command field with the absolute path of letsencrypt
Goto Webmin –> Webmin Configuration and client on the box “SSL Encryption”
Click on the “Let’s Encrypt” Tab.
Click on the “Request Certificate” button
Step 4 – Completed
Refresh the Webmin interface and the site would now appear properly secured via HTTPS.
In this post lets look at the steps to quickly reconfigure a Ubuntu / Debian server to function as a Time Machine server. TM backup tested with OSX Mountain Lion , Mavericks, Yosemite and El Capitan.
- Install following packages
sudo apt-get install netatalk avahi-daemon
- Create a new folder which will contain the TM backup.
mkdir -R /data/TimeMachineBackup
- Create a new user and grant access to the folder created in previous step
sudo adduser tux-networks
sudo chown -R tux-networks:tux-networks /data/TimeMachinebacku
- Backup the default configuration file installed by apt-get
sudo mv /etc/netatalk/AppleVolumes.default /etc/netatalk/AppleVolumes.default.back
- Create a new configuration file and edit using vi or other text editors
sudo vi /etc/netatalk/AppleVolumes.default
the following lines exist by default on my machine (this is default setting for all shares)
- Add the new folder that was created earlier
/data/TimeMachineBackup “Tux Networks’s TM Backup” options:tm volsizelimit:500000 allow:tux-networks
options:tm –> timemachine
volsizelimit –> 500GB of space available for Time Machine
allow –> user id having access to this folder
sudo service netatalk restart
- Connect to ubuntu server using Finder on your Mac in the “Go” menu, click “Connect to server…”. In the server address field type afp://192.168.x.x/ then click “Connect”, you will be asked to input a login and password which is the user created in step 3.
- After connected, type Time Machine in search to open Time Machine app and click “Select Disk…” and select the new Ubuntu Time Machine server under “Available Disks”.
- Provide login credentials if asked again.