当前位置:网站首页>Network disk installation
Network disk installation
2022-07-04 10:10:00 【Stestack】
brief introduction :
Nextcloud Is an open source free private cloud storage network disk project , It allows you to quickly and easily build a set of cloud synchronization network disks belonging to yourself or your team , So as to achieve cross platform and cross device file synchronization 、 share 、 version control 、 Teamwork and other functions . Its clients cover Windows、Mac、Android、iOS、Linux And other platforms , It also provides the web side and WebDAV Interface , So you can easily access your cloud disk on almost all kinds of devices .
Install and configure the operating system :Centos7.x Environmental Science :Apache,Mysql,PHP
1 Installation dependency :shell> yum install -y epel-release yum-utils unzip curl wget \bash-completion policycoreutils-python mlocate bzip2shell> yum update -y
2、 install Apacheshell> yum install -y httpdshell> systemctl enable httpd.serviceshell> systemctl start httpd.service
2. install MariaDBshell> yum install mariadb-server -yshell> systemctl start mariadb # Start the service shell> systemctl enable mariadb # Set boot up # Set up MySQL Account root password :shell> mysqladmin -u root password 'pwd123’3. install php If php It uses php7.2 The old version , You need to uninstall the old version and install the new version .# Uninstall the old version phpshell> yum remove php* php-common # install php7 yum Source shell> rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpmshell> yum install -y php72w php72w-cli php72w-common php72w-curl php72w-gd \php72w-mbstring php72w-mysqlnd php72w-process php72w-xml php72w-zip \php72w-opcache php72w-pecl-apcu php72w-intl php72w-pecl-redisshell> systemctl restart httpd If php7 analysis php File failed , It can be executed yum -y install php* --skip-broken Then execute the above php7 Installation command
4. install nextcloudshell> cd var/www/html/shell> wget https://download.nextcloud.com/server/releases/nextcloud-15.0.0.zipshell> yum -y install wget unzipshell> unzip nextcloud-15.0.0.zipshell> chown -R apache:apache /var/www/html/nextcloudshell> chmod -R 775 /var/www/html/nextcloud
5. 5. To configure apache Virtual directory shell> vim /etc/httpd/conf.d/vhost.conf<VirtualHost *:80> DocumentRoot “/var/www/html” ServerName cloud.magedu.com ServerAlias cloud.magedu.com <Directory “/var/www/html/”> Options FollowSymLinks AllowOverride All Require all granted # restart apacheshell> systemctl restart httpd 6. To configure nextcloud\ The user name and password must be remembered , The data directory can be selected by default , The user name and password of the database depend on your own situation ; The database name is arbitrary ,nextcloud This database will be created automatically , It is unnecessary to create ; If the database is operating vps On ,url Can be written as localhost:33067、 Login authentication source :https://www.qcmoke.site/tools/nextcload.html
边栏推荐
- 六月份阶段性大总结之Doris/Clickhouse/Hudi一网打尽
- leetcode1-3
- Write a jison parser from scratch (6/10): parse, not define syntax
- Hands on deep learning (33) -- style transfer
- QTreeView+自定义Model实现示例
- Web端自动化测试失败原因汇总
- Write a mobile date selector component by yourself
- 2. Data type
- 什么是 DevSecOps?2022 年的定义、流程、框架和最佳实践
- Qtreeview+ custom model implementation example
猜你喜欢

对于程序员来说,伤害力度最大的话。。。

Some summaries of the third anniversary of joining Ping An in China

Safety reinforcement learning based on linear function approximation safe RL with linear function approximation translation 2

Hands on deep learning (36) -- language model and data set

基于线性函数近似的安全强化学习 Safe RL with Linear Function Approximation 翻译 1

Intelligent gateway helps improve industrial data acquisition and utilization

PHP student achievement management system, the database uses mysql, including source code and database SQL files, with the login management function of students and teachers

Sort out the power node, Mr. Wang he's SSM integration steps

技术管理进阶——如何设计并跟进不同层级同学的绩效

mmclassification 标注文件生成
随机推荐
C语言指针经典面试题——第一弹
Kotlin:集合使用
xxl-job惊艳的设计,怎能叫人不爱
浅谈Multus CNI
el-table单选并隐藏全选框
Check 15 developer tools of Alibaba
Hands on deep learning (36) -- language model and data set
今日睡眠质量记录78分
Write a jison parser (7/10) from scratch: the iterative development process of the parser generator 'parser generator'
Write a jison parser from scratch (4/10): detailed explanation of the syntax format of the jison parser generator
leetcode1-3
Hands on deep learning (37) -- cyclic neural network
Exercise 9-3 plane vector addition (15 points)
How to teach yourself to learn programming
Hands on deep learning (III) -- Torch Operation (sorting out documents in detail)
Get the source code in the mask with the help of shims
Some summaries of the third anniversary of joining Ping An in China
How can Huawei online match improve the success rate of player matching
智能网关助力提高工业数据采集和利用
技术管理进阶——如何设计并跟进不同层级同学的绩效