Installing Community Server for Linux on a local server
Community Serverv.8.9current versionCommunity Server changeloghttps://helpcenter.onlyoffice.com/server/linux/community/linux-installation.aspx
Introduction
Community Server is a free open source collaborative system developed to manage documents, projects, customer relationship and email correspondence, all in one place.
Functionality
- Cross platform solution: Linux, Windows
- Document management
- Integration with Google Drive, Box, Dropbox, OneDrive, OwnCloud
- File sharing
- Document embedding
- Access rights management
- Customizable CRM
- Web-to-lead form
- Invoicing system
- Project Management
- Gantt Chart
- Milestones, task dependencies and subtasks
- Time tracking
- Automated reports
- Blogs, forums, polls, wiki
- Calendar
- Email Aggregator
- People module (employee database)
- Instant Messenger
- Support of more than 20 languages
If you want to use Community Server together with Document Server, they must be installed on two different machines.
This guide will show you how to install Community Server Linux version to your machine.
System requirements
- CPUdual-core 2 GHz or better
- RAM2 GB or more
- HDDat least 2 GB of free space
- Additional Requirementsat least 2 GB of swap
- OSamd64 Linux distribution with kernel version 3.10 or later
- Additional Requirements
- mono: version 4.2 or later
- MySQL: version 5.5 or laterMySQL 5.7 is not currently supported. If due to a certain reason you are nevertheless using MySQL 5.7, your portal will not work if you have not specified a password during the MySQL installation process.
- nginx
Installing Community Server for Debian, Ubuntu and derivatives
Installation with Debian based distributives also requires the presence of
mono
(version 4.2 or later), nginx
and mysql-server
in the system.
Adding the repository containing the up-to-date mono package versions (official instructions):
Add GPG key:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
Add repository:
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
Update repository:
sudo apt-get update
All the necessary instructions for other components and their dependencies installation can be found at their official websites.
Installing Community Server
Add GPG key:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5
Add Community Server repository:
sudo echo "deb http://download.onlyoffice.com/repo/debian squeeze main" | sudo tee /etc/apt/sources.list.d/onlyoffice.list
While the APT package is built against Debian Squeeze, it is compatible with a number of Debian derivatives (including Ubuntu) which means you can use the same repository across all these distributions.
Update the package manager cache:
sudo apt-get update
Install Community Server:
sudo apt-get install onlyoffice-communityserver
After that Community Server will become available at the http://localhost/ address and will be updated just like any other deb package.
Running Community Server using HTTPS
In most cases accessing the portal via HTTPS protocol is much more secure than via HTTP which is used by default. You can easily run Community Server using secure connection. Please see the details here to learn more on how this can be done.
Installing Community Server for Red Hat, CentOS and derivatives
Installing dependencies
Community Server uses
mono
(version 3.2 or later), nginx
and mysql-server
as database. Dependencies found in the system repository will be installed automatically at Community Server installation using the yum install command.
Adding the repository containing the up-to-date mono and xsp package versions (official instructions):
Add GPG key:
sudo rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"
Add repository:
sudo yum-config-manager --add-repo http://download.mono-project.com/repo/centos/
The yum-config-manager can be found in the yum-utils package
We recommend that you use Community Server together with mono version 3.10 or later. You can find out your current version running the mono --version command
Adding the nginx repository (official instructions):
Create the
/etc/yum.repos.d/nginx.repo
file with the following contents:
[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/centos/$releasever/$basearch/
gpgcheck=0
enabled=1
Change $releasever to your OS version manually (5 for versions 5.x, 6 for versions 6.x, 7 for versions 7.x and so on).
Adding the MySQL repository (official instructions):
Go to the package download page using the link. Select the most applicable package list for your OS. Download and install the package using the rpm -i command. After running the command the official repository for MySQL 5.6 will be added to your system.
You can add the MySQL repository to RHEL 7 using the following succession of commands:
wget http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm
sudo rpm -ivh mysql-community-release-el7-5.noarch.rpm
Adding the Redis repository (official instructions):
Add the link with the EPEL repository to the list of available ones (EPEL is the Extra Packages for Enterprise Linux repo, developed by the Fedora project with the intention of providing quality third-party packages for enterprise users of RHEL-based distros):
wget -r --no-parent -A 'epel-release-*.rpm' http://dl.fedoraproject.org/pub/epel/7/x86_64/e/
Now run:
sudo rpm -Uvh dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-*.rpm
And type in afterwards:
sudo yum -y update
Note that this may take a while to complete. Now you may install Redis on your machine, by running:
sudo yum install redis -y
Once the installation process has finished, starting the Redis service is done by entering the following command:
sudo systemctl start redis.service
And checking its status can be done with the following command:
sudo systemctl status redis.service
For more information on Redis please visit its official website. If you need more detailed instructions on how to install and run Redis, you can visit DigitalOcean website.
Installing Community Server
Add GPG key:
rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x8320CA65CB2DE8E5"
Add the yum Community Server repository by creating the
/etc/yum.repos.d/onlyoffice.repo
file with the following contents:
[onlyoffice]
name=onlyoffice repo
baseurl=http://download.onlyoffice.com/repo/centos/main/noarch/
gpgcheck=1
enabled=1
Install Community Server:
yum install onlyoffice-communityserver
Configuring Community Server
Before you start Community Server for the first time it is necessary to create the database and configure connection to it. To do that launch MySQL using the command:
sudo systemctl start mysql.service
And after that run the
/var/www/onlyoffice/configure.sh
configuration script. This script will interactively ask you to enter the MySQL connection parameters, create the database, update configuration files and run all services.
The script does not create users for the database and does not change passwords for existing users.
After the successful installation Community Server will become available at the http://localhost/ address.
Tidak ada komentar:
Posting Komentar