![]() ![]() vice-timeout=10: Don't wait more than 10 seconds for connection (default is 90 seconds). Nofail: I don't want errors reported if system can't connect (as might be the case when my laptop is not on my local network). In my case, here is the rational for the arguments I've used: You may need to fiddle around with the cifs arguments based on your particular sitation and NAS. servername/sharename /mnt/filmrolls cifs vers=3.0,nofail,tomount,vice-timeout=10,workgroup=workgroup,credentials=/home/stewart/.smbcredentials,iocharset=utf8,sec=ntlmssp,uid=1000,gid=1000 0 0 If you haven't already done so, install the cifs-utils: Here are the steps to setup the credentials file and then edit fstab (under ubuntu 18.04): Therefore, I first created a credientials file, and then pointed my fstab entry to it. As fstab is readable by everyone on my system, I don't want to store my cifs/samba credentials in the fstab line. To mount the shared folder housing my photos on the NAS, I've edited my fstab file to automatically mount the folder for me. (For information on how to configure a Synology NAS to share folders via cifs, see Create a Shared Folder.) As some of my computers are Windows boxes, I have elected to use cifs/samba. digiKam is able to access image files on remote systems via cifs/samba and nfs. Since I am going to be accessing the photos from multiple computers, I have located my photo files on a Synology NAS. With the database and user created, we'll shift focus to setting up the cifs/samba network share for use with digiKam. If you are interested in more detail, the digiKam configuration documentation is quite well written and worth a read. Log on to the MariaDB command line interface as root (when prompted enter your root password): To prepare MariaDB for digiKam, perform the following steps to create a database and user: Setting up MariaDB for digiKamĪlthough it is possible to use a local "internal" version of mySQL that only runs when digiKam runs, I will use the external "remote" option so that I can access the same data from both my laptop and desktop computers using MariaDB. For purposes of this post, I will assume that you already have a MariaDB (or mySQL) server available and you can be log in as root. Installing MariaDB is relatively straight foward and there are many good articles explaining how to install MariaDB on a server. However, if you intend to use digiKam from multiple computers, you will need to use a database server such as MariaDB, a popular database server based on mySQL. SQLite is a self contained database system that is automatically bundled and installed with digiKam. For use on a single computer, the 'out of the box' database is SQLite. The software was originally developed using the Qt toolset for KDE Linux, but current versions are also available for Mac and Windows systems.ĭigiKam uses a database to manage its images and metadata. It can easily handle bulk image organization and RAW image processing. If you set it to 127.0.0.1 then it will try to use a regular tcp connection.Summary: In this post, I describe how I setup the latest digiKam release on my Kubuntu 18.04 system with remote storage and database using an existing cifs/samba network share, MariaDB, and a custom color correction profile (.icc).ĭigiKam is a popular open-source photo management system which provides the ability to organize and manage photos, edit metadata, and perform light editing. Ok, go to the Digikam Database configuration: Settings > Configure digikam > Database But let’s use sockets and sock it to that latency. By default your install will probably use tcp connections. And they have lower latency (no three way handshake). Unix sockets are a lot faster than tcp connections. Then once you’ve done so, set your MySQL settings under Settings > Configure digikam > Database. You can find more on that from the user docs. You’ll choose your current database, and then on the right you’ll choose the one it’s going to. Once you get that going use the Database Migration tool under Settings to move it over. A quick search will give you move than enough articles to do so.Īnd to use digikam’s internal Mysql server, go to Settings > Configure digikam > Database and it’s in the dropdown. I’m not going to go into installing a database here. If you don’t have digikam using MySQL yet, first you’ll need to setup MySQL on your desktop, or you can use the built in MySQL server that digikam can run. Migrate to MySQLįirst, make a backup of your current database. And I’ll show you some options that help speed up MySQL even more. The migration process is very easy since Digikam can migrate the data for you. Improving the Speed of Digikam using MySQLĭigikam is great for organizing pictures, yet above 20,000 pictures it can begin to slow down.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |