Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Installation of nextcloud and Docker related to Ubuntu Server 19.04 system

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

According to the relevant tests of nextcloud and Docker, the ubuntu system is well compatible with nextcloud/onlyoffice and other Docker.

Application, the author likes to taste fresh, carry on the latest version of the application test, first sort out the test steps, first install ubuntu server 19.0.4

System, then install Nextcloud 16 and Docker.

Wanzhan high-rise buildings rise from the ground, so the installation of the system and data storage zoning planning is still more important, while the creation of volume groups

Build, for beginners' difficulty, this chapter Ubuntu Server installation emphasis on LVM partition planning, you follow the following steps

There should be no problem.

Official download address of 1.ISO image

Https://ubuntu.com/download/server

The 2.VM configuration is as follows

Hang the ubuntu-19.04-live-server-amd64.iso file and open the VM to install the following screen.

3. Choose the English language

4. Choose English KB.

5. Install Ubuntu

6. Network settings (here you can set DHCP or manually set IP)

The manual settings are as follows:

Enter and proceed to the next step.

7. Proxy settings (no direct enter)

8. Update the settings of the source

9. To set up the partition, select manual (hint: create the boot zone first, then allocate all the remaining space to the second partition, and then in the

VG and LV are built on top of the second partition.

Create boot

Boot partition assigns 200MB.

10. Create a second partition

Enter directly after all the remaining space is allocated, and choose to keep the unformatted "leave unforatted" in Format format. Remember this step.

11. Enter the following screen to create a volume group.

twelve。 The name of the volume group is VolGroup. Check the third partition and select Create to enter directly.

13. Create a logical volume (LV), highlighting the steps, first swap, then the root partition, and then the data partition.

14. Create a swap partition.

15. The root logical volume is then created, and the LV is named root, allocating 20g of space.

16. Then create a data or apply a logical volume.

17. After completing the VG/LV, it is as follows:

18. Set up account secret

19. After you enter, enable the SSH service, that is, complete the installation.

20. Update the system and confirm the installation results

# apt update & & apt upgrade

Root@docker:/# uname-r

5.0.0-20-generic

Root@docker:/# lsb_release-a

No LSB modules are available.

Distributor ID: Ubuntu

Description: Ubuntu 19.04

Release: 19.04

Codename: disco

Root@docker:/# df-h

Filesystem Size Used Avail Use% Mounted on

Udev 3.9G 0 3.9G 0% / dev

Tmpfs 798M 1.2m 797m 1% / run

/ dev/mapper/VolGroup-root 20G 2.0G 19G 10% /

Tmpfs 3.9G 0 3.9G 0% / dev/shm

Tmpfs 5.0M 0 5.0M 0% / run/lock

Tmpfs 3.9G 0 3.9G 0% / sys/fs/cgroup

/ dev/sda2 190m 82m 95m 47% / boot

/ dev/mapper/VolGroup-data 4.8G 38M 4.8G 1% / data

/ dev/loop0 90m 90m 0 100% / snap/core/6673

/ dev/loop1 54M 54M 0100% / snap/lxd/10601

Tmpfs 798M 0 798M 0% / run/user/1000

Root@docker:/#

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report