How to build a privately deployed enterprise network disk in Linux

It is suitable for use by small and medium-sized enterprises with a scale of less than 200 people/50TB. The main services and data are on the same server, making it simple to deploy and easy to operate and maintain. If you need to support larger-scale access support, please use the cluster version.

Preparation
● Recommended server configuration in a production environment: CPU quad-core I5 ​​6th generation or above, 16G memory, one solid-state drive (for MySQL data) + two mechanical hard drives (for file storage and data backup respectively).

● Compatible with 64-bit X86/ARM systems of Ubuntu18 and CentOS7 and above, and Linux kernel version 3.10 and above. View kernel version command

● Configure a static IP address ( Ubuntu , CentOS ) for the server for client and web page login access.

● Online installation of dependent environments ( Ubuntu , CentOS ). If it is an intranet offline environment, please check the offline installation of CentOS dependency environment.

● Public cloud hosts need to open the external network access port, and the default port is 2020 ( Alibaba Cloud , Tencent Cloud ).

● If you install the professional version and configure domestic Docker image acceleration , you can quickly download the Docker image of the extended component.
Installation
Download and unzip the installation package

x86_64 platform

wget https://pkg.aimicloud.com/ydisks_docker_x64.tar.gz
tar -xzvf ydisks_docker_x64.tar.gz

ARM64 platform

wget https://pkg.aimicloud.com/ydisks_docker_arm64.tar.gz
tar -xzvf ydisks_docker_arm64.tar.gz

Run the installation script

cd ydisks
sudo chmod a+x setup.py
sudo ./setup.py

If you need to modify the configuration, edit the file: /opt/ydisks/config.josn.

After the installation is completed, access the server through port 2020. The default administrator account: admin, password: 666666

Upgrade
The upgrade process is the same as installation.

Uninstalling
Yueku server is a container deployed by Docker image. The data storage directory is accessed through mounting. Deleting the container will not delete the storage directory.

Close the Yueku service container

sudo docker stop ydisks

Delete Yueku service container

sudo docker rm ydisks

closure

sudo docker stop ydisks

start up

sudo docker start ydisks
[\[linux搭建企业网盘教程\]](https://www.ydisk.cn)

Guess you like

Origin blog.csdn.net/Yuku226/article/details/132212630