Want a terrific syncing software on your Linux server that works quick, and helps shoppers on a number of platforms? Take a look at Seafile on Linux. It’s an enterprise-grade file syncing resolution that makes it straightforward to switch knowledge from place to position over LAN, in addition to the web.
Set up
On account of what number of various kinds of Linux server working methods are on the market, the builders have opted to make a generic “Linux installer”. To arrange Seafile on Linux, open up a terminal and use the wget obtain software to obtain the newest bundle.
64 bit:
wget
32 bit:
wget
After grabbing the server software program, you’ll must extract the archive that it’s packed in. Do that with tar.
tar xvzf seafile-server_*.tar.gz
Operating the tar command with these letters will unpack the whole archive, extract it, and place it in the identical folder it was downloaded to. From right here, you’ll want to make use of the CD command to enter the extracted archive listing.
cd seafile-server_6.2.3_x86-64
or
cd seafile-server_6.2.3_i386
As talked about earlier than, the Seafile server software program is a generic installer. As a substitute of packaging for numerous Linux distributions, the builders have included a number of completely different shell scripts that the consumer can run to get every part going. To view all the particular person shell scripts included inside the listing, use the ls command.
ls
To filter out the shell scripts particularly, take into account combining the ls command with a wildcard, and the .sh file extension:
ls *.sh
Set Up
There are a lot of completely different scripts to run. For many customers, the script to run is “setup-seafile.sh”. If you happen to’d prefer to arrange the server software program with SQL, slightly than the default settings, strive working “setup-seafile-mysql.sh”. Do take into account that the default setup script is finest for many customers, and the opposite scripts are meant for advance customers who particularly need extra management over their server. Check out the Seafile website for more information.
Begin the set up with:
sudo sh setup-seafile.sh
The primary a part of the method is to call your Seafile server. Underneath “What would you like to use as the name of this seafile server?”, enter the title on your server. Press the enter key to proceed.
Subsequent, you’ll must specify the LAN IP tackle of the server. Use the command beneath to find the IP tackle of the host machine, then enter it into the immediate within the terminal.
Notice: chances are you’ll must open a separate terminal to do that.
ip addr present | grep "inet 192.168"
Within the third step, the script asks the consumer to specify the place Seafile ought to save all the knowledge it syncs. By default, this listing is ~/seafile-data. For many customers, it will do. If you happen to’d like to alter it, specify the trail to the situation within the installer.
If you happen to’d like to alter the default port that the server software program operates on, the following web page will allow you to do this. In any other case, press enter to make use of the default ports and transfer on to the following step.
When the server software program has been put in and configured, the script will print out the IP, server title, port, and many others, and ask if “this is OK”. Learn it over, and press the enter key to maneuver on by means of the set up.
Seafile is put in. To run the server, do the next:
./seafile.sh begin
To cease the server, do:
./seafile.sh cease
Restart the server with
./seafile.sh restart
Putting in Sync Purchasers
Together with the server software program, customers may set up the Seafile sync software to their Linux PC’s as properly. Formally, the GUI sync software helps Ubuntu, Debian, Fedora, Arch Linux, in addition to RHEL/CentOS. To set up it, select your working system and observe the command directions.
Notice: If you happen to use an working system aside from those listed beneath, you’ll want to make use of the generic model of Seafile-GUI as an alternative. Download it here.
Ubuntu Directions
The Seafile sync software program is appropriate with Ubuntu and distributed through a PPA, slightly than a downloadable Debian bundle file. This can be a sensible choice, as a result of it permits the builders to often distribute software program updates to the software program working in your server. To Set up the software program to your Ubuntu machine, open up a terminal and do the next:
sudo add-apt-repository ppa:seafile/seafile-client sudo apt-get replace sudo apt-get set up seafile-gui
Debian Directions
Like Ubuntu, Debian has a software program repository to ship Seafile. This software program repository has help for Debian 7, 8 and 9. To add the Seafile software program repository to your Debian machine, first open up a terminal and achieve root entry utilizing su.
Whenever you’ve received root entry, add the repo key to your system to make sure that Debian will set up the software program. Then, select your model of Debian and use the command beneath it to routinely add the software program supply to your machine.
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 8756C4F765C9AC3CB6B85D62379CE192D401AB61
Debian 7
echo deb wheezy foremost | sudo tee /and many others/apt/sources.record.d/seafile.record
Debian 8
echo deb jessie foremost | sudo tee /and many others/apt/sources.record.d/seafile.record
Debian 9
echo deb stretch foremost | sudo tee /and many others/apt/sources.record.d/seafile.record
After including the brand new software program supply to Debian, replace the software program sources and apt cache. As soon as the replace finishes, set up Seafile sync consumer to the system with:
sudo apt-get set up seafile-gui
Fedora Directions
sudo dnf set up seafile-client
Arch Linux Directions
The official Seafile sync software program is in the Arch Linux AUR. Observe our information right here to discover ways to set up software program from the AUR to get it going.
Setting Up Seafile Sync
To sync together with your Seafile server, you’ll must log within the credentials into the sync consumer.
Open the consumer, and enter the server data. Begin out with the IP tackle and port quantity. Use the IP tackle entered into the installer earlier, and add the default port quantity. For instance:
Subsequent, open a terminal, and enter the Seafile setup folder from earlier.
cd seafile-server_6.2.3_x86-64
or
cd seafile-server_6.2.3_i386
Run the “reset-admin.sh” script to arrange a consumer.
sudo sh reset-admin.sh
Enter your electronic mail tackle, and set the password. Then return to the sync consumer, and enter that as your login data. If the data is right, the sync consumer will log in. From right here, begin syncing all of your knowledge by putting recordsdata and folders into /house/username/Seafile/