12/24/2022 0 Comments Netatalk share drive![]() ![]() Under the Network section in the sidebar, you should see your Ubuntu machine listed. Once your drive is set up under Ubuntu, go to your Mac and open a Finder window. However, I never made it clear that you must make sure your backup drive is available and connected on your Mac before you can use it as a Time Machine backup drive. Since I first wrote this, I have updated to Ubuntu 20.04 and everything still seems to work. Now, on your Mac, you should be able to open the Time Machine settings in System Preferences and use Select Disk… to pick your new Time Machine backup drive. Restart netatalk: sudo service netatalk restart Sudo chmod 777 /srv/netatalk/time-machine Sudo chown nobody:nogroup /srv/netatalk/time-machine Install the needed packages: sudo apt install netatalk avahi-daemonĮdit the netatalk config file: sudo vi /etc/netatalk/afp.confĪdd a section for your Time Machine: Ĭreate a directory to act as the Time Machine drive: sudo mkdir -p /srv/netatalk/time-machine This example uses a directory on the boot drive ( /srv/netatalk/time-machine), but it’s more likely that you want to use a directory on a large disk. Setting up an Ubuntu machine to act as an Apple Time Machine server is surprisingly simple. ![]() Prefix_alias=`keytool -list -v -keystore $1.jks -storepass $2 | grep -i alias | grep $1`Įcho " ** something seems to have gone wrong, $1 not found in aliases"Įcho " Copy $1.jks to Tomcat's ssl directory, typically something like /etc/tomcat8/ssl/$1.jks"Įcho " Add or Update the entries in Tomcat's server.xml to be something like:"Īn example of using the tool, if your certificate files all start with. Keytool -import -alias bundle -trustcacerts -file $1.ca-bundle -keystore $1.jks -storepass $2 Keytool -importkeystore -deststorepass $2 -destkeystore $1.jks -srckeystore $1.p12 -srcstoretype PKCS12 -srcstorepass $2 Openssl pkcs12 -export -in $1.crt -inkey $1.key -name $1 -out $1.p12 -passout pass:$2 ca-bundle files exist."Įcho " For example, if your files are named, , -bundle, you would do:"Įcho "-" #!/bin/shĮcho " This tool requires that all files have the same prefix, and the. ca-bundle files all have the same prefix. To simplify the conversion, here is a shell script to perform the steps, under the assumption that the. jks (Java Key Store), and the Tomcat configuration set up to use that key store. ![]() These work fine for Apache’s HTTP server, but Apache’s Tomcat server needs these converted into a. Usually, when you get your SSL certificates, they are. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |