当前位置:网站首页>Set up personal network disk with nextcloud
Set up personal network disk with nextcloud
2022-07-07 23:53:00 【Raring_ Ringtail】
The perfect network disk in my mind should be like this : Large capacity without speed limit 、 It's cheap 、 Safe and reliable 、 The usage scenario is unlimited . Some foreign brands can meet the above requirements at the same time , Such as Dropbox、Google Drive、Microsoft OneDrive、MEGA etc. , Due to the suppression and blockade of China's science and technology by the United States . These network disks are not easy to use normally . And domestic network disk is not easy to use , So I want to have a good online disk experience , You need to do it yourself .
Today's article mainly talks about how to install Nextcloud Set up a personal network disk in the LAN . The next few articles will introduce Nextcloud Some configuration problems of .
Nextcloud Is an open source network disk program , Its official website address is :https://nextcloud.com/ The official server-side 、 Desktop and mobile . After a period of use , There are still some small problems on its desktop and mobile terminals . The web side is doing better , Basically, there is no problem .
Before setting up the network disk, you must first prepare the hardware . Here I choose a second-hand Mini host on Taobao . The motherboard of this machine is a non-standard motherboard removed from the miner ,CPU by AMD A6 3420M, Memory 4GB, Hard disk is 32GB NVME solid state .
There are two on the motherboard sata Interface , Two hard disks can be connected externally . Because the chassis is small , Threading will be troublesome . I asked my friend to help me cut off two iron bars on the side of the chassis , Convenient connection of hard disk cable . The external hard disk in the picture was removed from a mobile hard disk with a broken interface . I haven't used this mobile hard disk several times , Just because SATA turn USB The conversion head of is broken , I have been idle for a long time , Now it can be used as a storage disk .

The front of the chassis has 4 individual USB Interface , There are two USB3.0 Interface and two USB2.0 Interface . stay USB There are two gigabit network ports above the interface .USB Next to the interface is 12 V power interface . Power button and HDMI The interface is on the side .


The whole machine cost me 350 A big ocean , When I bought it, I preinstalled the aikuai soft routing system . After receiving the goods , I immediately painted it Ubuntu 20.04.
install Nextcloud There are many ways . You can manually install and configure each package it needs , You can also use it directly Snap Package management system one click installation , You can also use docker To install .
I don't recommend manual installation here , It's too troublesome . Recommended snap Install or docker install .
Please refer to the official installation tutorial :https://docs.nextcloud.com/server/latest/admin_manual/installation/source_installation.html
Please refer to the manual installation tutorial :https://www.higgs.xyz/archives/6/
adopt snap Installation requires only one line of command :sudo snap install nextcloud
Use snap There is a very big problem with the installation ,snap In the environment Nextcloud What is used Apache、PHP、MySQL、redis Etc. cannot be configured , That is, all environments are pre configured by developers and cannot be changed by users . In this way, if you encounter some problems that need to modify the configuration , There is no solution .
therefore snap How to install , Suitable for people who don't want to toss , Students who can use it can use . This is also the easiest way to upgrade . If there's a new version , Directly through snap You can upgrade .
docker The installation method balances ease of use and configurability .docker install Nextcloud You can refer to :https://www.wo66.cc/archives/docker Deploy nextcloud Quickly build private cloud disks
There are mainly the following steps
- Install well docker,docker For installation, please refer to :https://docs.docker.com/engine/install/ubuntu/
sudo docker pull nextclouddownload Nextcloud Mirror image .sudo docker pull mysqldownload MySQL Mirror image .sudo docker pull redisdownload redis Mirror image .- Create the persistence directory corresponding to these three images , Map the corresponding folder in the image . When the image is updated , Just map the corresponding directory with the new image to complete the upgrade , Without losing configuration .
- Configure and start three containers respectively , it is to be noted that nextcloud The container should be last started .
- After the container is started, it can be accessed through the browser 【ip: port 】 Came to visit. .
The first 1 visit nextcloud You will enter the wizard interface , First, create an administrator account and configure the database , After setting, you can use .

The interface after login is shown in the figure below :
Welcome to my official account. Notes on Jiangda
边栏推荐
- Preliminary test of optical flow sensor: gl9306
- 507 field D - extraterrestrial relics
- mysql8.0 ubuntu20.4
- Alibaba cloud MySQL cannot connect
- C - Fibonacci sequence again
- One of the anti climbing methods
- 【LeetCode】20、有效的括号
- Aitm3.0005 smoke toxicity test
- C language greedy snake
- Redis caching tool class, worth owning~
猜你喜欢

One click free translation of more than 300 pages of PDF documents

Ora-02437 failed to verify the primary key violation

数据湖(十五):Spark与Iceberg整合写操作
![Arbre binaire équilibré [Arbre AVL] - Insérer et supprimer](/img/1f/cd38b7c6f00f2b3e85d4560181a9d2.png)
Arbre binaire équilibré [Arbre AVL] - Insérer et supprimer

How did a fake offer steal $540million from "axie infinity"?

The result of innovation in professional courses such as robotics (Automation)
![[experiment sharing] log in to Cisco devices through the console port](/img/e4/fc72ed57de74a0dd51c484a1c2f348.png)
[experiment sharing] log in to Cisco devices through the console port

快速回复二极管整流特性

Get started with mongodb

用语雀写文章了,功能真心强大!
随机推荐
Orthodontic precautions (continuously updated)
Rectification characteristics of fast recovery diode
Chisel tutorial - 03 Combinatorial logic in chisel (chisel3 cheat sheet is attached at the end)
10 schemes to ensure interface data security
c—线性表
Pycharm basic settings latest version 2022
35岁那年,我做了一个面临失业的决定
About the difference between ch32 library function and STM32 library function
MySQL Architecture
Archery installation test
一鍵免費翻譯300多頁的pdf文檔
一份假Offer如何盗走了「Axie infinity」5.4亿美元?
Kubectl 好用的命令行工具:oh-my-zsh 技巧和窍门
postgres timestamp转人眼时间字符串或者毫秒值
HDU - 1260 tickets (linear DP)
保证接口数据安全的10种方案
QT creator add JSON based Wizard
LinkedBlockingQueue源码分析-新增和删除
How did a fake offer steal $540million from "axie infinity"?
第四期SFO销毁,Starfish OS如何对SFO价值赋能?