Installing Seafile (Secure Cloud Storage) with My. SQL Database in RHEL/Cent. OS/SL 7. x/6. x. Seafile is an advanced Open Source collaborative cloud storage application written in Python with file sharing and syncing support, team collaboration and privacy protection using client side encryption. It’s build as a multi- platform file syncing with clients that runs on all major platforms (Linux, Raspberry Pi, Windows, Mac, i. Phone and Android) and can be easily integrated with local services such as LDAP and Web. Scapy portability page. Linux native installation guide; generic Unix installation guide; OpenBSD installation guide; FreeBSD installation guide; Mac OS X 10.4 (Tiger.![]() Welcome to Rudix! “The hassle-free way to get Unix programs on OS X” Rudix is a collection of pre-built Unix software delivered as packages for OS X. More ways to shop: Visit an Apple Store, call 1-800-MY-APPLE, or find a reseller. DAV or can be deployed using advanced network services and databases like My.SQL, SQLite, Postgre. . SQL, Memcached, Nginx or Apache Web Server. Install Seafile in Linux. This tutorial will guide you on a step by step Seafile Server installation on RHEL/Cent. OS/Scientific Linux 7. My. SQL database, with start- up init scripts for running the server on default Seafile port (8. TCP) and default HTTP transaction port (8. TCP), create necessary Firewall rules to open required ports. Requirements. Minimal Cent. OS 6. 5 installation with static IP address. My. SQL/Maria. DB database. Python 2. 6. 5+ or 2. Python- setuptools. Python- simplejson. Python- imaging. Python- mysqldb. This installation procedure tested on Cent. OS 6. 4 6. 4- bit system, but can also be used on other Linux distributions with the specification that init start- up scripts differ from one distribution to another. Step 1: Install Python Modules. First do a system Update, then install all required Python modules using the following commands.# yum upgrade. My. SQL- python python- simplejson python- setuptools. If you use a Debian or Ubuntu server install all Python modules with the next commands.$ sudo apt- get update. Step 2: Install Seafile Server. After all Python modules are installed create a new system user with a strong password that will be used to host Seafile server configuration and all data on its home directory, then switch to newly user account created.# adduser seafile. Create Seafile User. Then login to My. SQL database and create three databases, one for every Seafile Server components: ccnet server, seafile server and seahub with a single user for all databases.$ mysql - u root - p. ![]() GRANT ALL PRIVILEGES ON `ccnet- db`.* to `seafile`@`localhost`. GRANT ALL PRIVILEGES ON `seafile- db`.* to `seafile`@`localhost`. GRANT ALL PRIVILEGES ON `seahub- db`.* to `seafile`@`localhost`. FLUSH PRIVILEGES. Create Seafile Database. Now it’s time to download and install Seafile Server. Go to Seafile official download page and grab the last . Tar Linux archive release for your server architecture using wget command, then extract it to your home Seafile user created earlier and enter Seafile extracted directory.$ wget https: //bitbucket. Download Seafile. To install Seafile Server using My. SQL database run setup- seafile- mysql. Python required modules.$ ./setup- seafile- mysql. What is the name of your server? What is the IP or domain of the server? IP address or your valid domain name. Which port do you want to use for ccnet server? Enter] – leave it default – 1. Where do you want to put seafile data? Enter] – the default location will be your $HOME/seafile- data directory. Which port do you want to use for seafile server? Enter] – leave it default – 1. Run Seafile My. SQL Script. Which port do you want to use for seafile httpserver? Enter] – leave it default – 8. Please choose a way to initialize seafile databases: = choose 1 and provide default My. SQL credentials: localhost, 3. Enter the name for My. SQL user of seafile: = seafile ( if you created other username enter that username) and seafile My. SQL user password. On ccnet- server, seafile- server and seahub databases just hit [Enter] key – default. Configure Seafile for My. SQLMy. SQL Seafile Configuration. After Seafile Server successfully installs, it will generate some useful information such as what ports needs to be open on your Firewall to allow external connection and what scripts to handle in order to start the server. Seafile Installation Confirmation. Step 3: Open Firewall and Create Seafile init Script. Before starting Seafile server from local script for a test, change back to root account and open iptables firewall file configuration located on /etc/sysconfig/ system path and add the following line rules before first REJECT line, then restart iptables to apply new rules.$ su - root. Append the following rules.- A INPUT - m state - -state NEW - m tcp - p tcp - -dport 8. ACCEPT. - A INPUT - m state - -state NEW - m tcp - p tcp - -dport 8. ACCEPT. - A INPUT - m state - -state NEW - m tcp - p tcp - -dport 8. ACCEPT. - A INPUT - m state - -state NEW - m tcp - p tcp - -dport 1. ACCEPT. - A INPUT - m state - -state NEW - m tcp - p tcp - -dport 1. ACCEPTOpen Ports for Seafile. Restart iptables to apply rules using the following command.# service iptables restart. NOTE: If you changed Seafile standard ports on installation process update your Firewall iptables rules accordingly. Now it’s time to test Seafile Server. Switch to Seafile user and seafile- server directory and start the server using seafile. The first time you start seahub. Seafile Server using your email address and choose a strong password for admin account, especially if you are deploying this configuration in a production environment.# su - seafile. Start Seafile Server. After the server is successfully started, open a browser and navigate to your server IP address or domain name on port 8. HTTP protocol, then login using you admin account created on the above step. IP: 8. 00. 0. http: //domain_name: 8. Seafile Login Screen. Seafile Dashboard. After first configuration tests, stop Seafile server and create an init script that will help you manage more easily the entire process, just like any other Linux system daemon processes.$ ./seafile. Add the following content on this init script – If Seafile is installed on other system user make sure to update user and paths accordingly on su – $USER - c lines.#!/bin/sh. Seafile auto start- stop script. Starting Seafile server..". Stopping Seafile process..". Stopping Seafile process..". Starting Seafile server..". Usage: $0 start stop restart". After init file has been created, make sure it has execution permissions and manage the process using start, stop and restart switches. Now you can add Seafile service on system start- up using chkconfig command.# chmod +x /etc/init. Start Seafile Service. Add Seafile Service on Startup. By default Seafile server uses 8. TCP HTTP port for web transactions. If you want to access Seafile Server from browser on standard HTTP port use the following init script which starts the server on port 8. Add the following content on this init script to start Seafile on standard HTTP port. If Seafile is installed on other system user make sure to update user and paths accordingly on su – $USER - c and $HOME lines.#!/bin/sh. Seafile auto start- stop script. Starting Seafile server..". Start on port default 8. Stopping Seafile process..". Stopping Seafile process..". Starting Seafile server..". Usage: $0 start stop restart". Esac. 13. If you previously started Seafile on port 8. Open a browser and direct it to the following address. Start Seafile Service on Port 8. Seafile Login Panel. You can also verify on what ports Seafile is running using netstat command.# netstat - tlpn. Verify Seafile Service. That’s it! Seafile can happily replace other cloud collaborative and file syncing platforms like public Dropbox, Owncloud, Pydio, One. Drive, etc on your Organization, being designed for better teamwork and full control over your storage with advanced security in user- space. In my upcoming article, I will cover how to install Seafile client on Linux and Windows systems and also show you how to connect to Seafile Server. Till then stay tuned to Tecmint and don’t forget to give your valuable comments. Windows or get the hot new stuff from our git repository. Prerequisites*nix (tested: Debian, Ubuntu, Arch Linux, Funtoo, Gentoo, Fedora, Macintosh OS X with Macports)We strongly recommend using a 6. Required packages. Optional: gcc > = 4. Ubuntu packages. We provide several PPAs to add to your Ubuntu installation: For stable releases add the Darktable Release PPA. If you are adventurous and are willing to deal with problems from time to time add the Darktable Unstable PPA. Don't use this PPA if you do time critical work with darktable! Follow the instructions on the Launchpad PPA page. Then search for "darktable" in the Software Center of Synaptic Package Manager and install it. You will find it under "Applications/Graphics/Darktable Photography Workflow Software"If you want to have nice packages on debian you can rebuild the PPA sources for debian: Download "darktable_$VERSION. VERSION. debian. tar. PPAs.$ sudo apt- get install debhelper dpkg- dev fakeroot$ sudo apt- get build- dep darktable$ tar zxvf darktable_$VERSION. VERSION$ tar zxvf ./darktable_$VERSION. Fedora packages. Fedora ships with Darktable. A simple command should be enough.# dnf install darktable. If you are adventurous and are willing to deal with problems from time to time add the Darktable 2. Snapshot repository. Don't use this repository if you do time critical work with darktable! And lastly, there is is a repository for nightly builds. Don't use this repository unless you understand what git master means! If you want to build darktable from the source on Fedora, here are the build dependencies: # dnf install intltool atk- devel cairo- devel exiv. Open. EXR- devel libcurl- devel libgphoto. Graphics. Magick openjpeg- devel json- glib- devel libwebp- devel SDL- developen. SUSE packagesopen. SUSE ships with Darktable. A simple 'zypper install darktable' should be enough. Arch Linux$ pacman - S darktablethx to chressie for this, arch is non- ancient : )Funtoo/Gentoo Linuxdarktable is in portage!# emerge darktable$ darktable. RHEL 6 / SL 6 / Centos 6. Only darktable- 1. Glib version available. Still, try it out, 1. Pascal - that's where the . OSThis bundle supports mac. OS versions starting with 1. Lion) running on 6. Intel architecture. What to do with dialog saying ""darktable" can't be opened because it was not downloaded from the Mac App Store": Locate darktable in Applications folder (or wherever you installed it) using Finder. Do "Open" via context menu. You will be presented with similar- looking dialog, but this time there will be second button allowing you to run the application. After that you will be able to start darktable without this trick (well, until you update it, then you will have to do above steps again)or you can prevent this from happening by running "xattr - d com. Downloads/darktable*. Applications/darktable. OS Mac. Portsdarktable can be installed through Mac. Ports: sudo port install darktable +quartz. Debian(Of course) there is a darktable package in the Debian repositories. The current stable version Jessie still has darktable 2. See package description here: https: //packages. A description on how to enable the backports repository can be found here: http: //backports. Instructions/Solaris. The darktable Solaris packages are provided and maintained by James. You can find his website here with all the packages provided: http: //www. He has both the darktable packages and a dependency package in case this is the first time you are installing darktable on your system. Free. BSDdarktable is packaged and compiled for Free. BSD, the binary package can be found here: http: //ftp. Free. BSD/ports/packages/graphics/To install darktable on your system, run# pkg_add - r darktableand have fun. Microsoft Windows. Unfortunately the community of this commercial distro didn't natively build dt yet. Read this blog post if you want to learn more about the reasons. As an alternative - give Linux a chance! Download and burn a live ISO of a Linux distribution, reboot and try darktable. Current release from source. Grab the latest source tarball (recent version: darktable 2. Install the dependencies. For details see the link below. Unpack. $ tar xvf darktable- 2. Then either do. $ ./build. DCMAKE_BUILD_TYPE=Release .$ make - j. In order to get darktable displayed along with your other applications you need to set a symlink. For a more complete set of instructions for different distributions have a look at our Wiki.First a word of warning: Using the development version of darktable might be risky in that it can break anytime, kill your edits, eat your kittens or do other nasty things.It is also not guaranteed that XMP sidecars written by a development version will work with a release version.It is also quite certain that any older version of darktable will NOT be able to read the database once a development build updated it to the latest schema.So for your own safety and our sanity, do make backups of your XMP files as well as your library.BEFORE upgrading to the self compiled git version.That being said, it should be quite safe to actually use it and never go back, so all of this might be no issue for you at all. Judge Dredd Dredd Vs Death more. Just keep in mind that IF you ever want to go back it might be hard. Be sure to have all the build dependencies installed. You can find a list of them here. If you don't have it already, install git from your distribution's repositories. For Ubuntu: $ sudo apt- get install git. Cloning for the first time$ cd$ git clone git: //github. The cloned files from the git repository are now stored in $HOME/darktable. Getting rawspeed submodule$ cd $HOME/darktable$ git submodule init$ git submodule update. Building with build. The files get prepared to be installed in /opt. If you want to install at another place, you have to type./build. After the build process finished you can install darktable: cd build & & sudo make install. Updating existing git- files$ cd $HOME/darktable$ git pull. Building manually$ mkdir $HOME/darktable/build$ cd $HOME/darktable/build$ cmake - DCMAKE_BUILD_TYPE=Release . HOME/darktable/build$ make$ sudo make install. Starting the program$ darktable.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |