当前位置:网站首页>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
边栏推荐
- Write a jison parser from scratch (3/10): a good beginning is half the success -- "politics" (Aristotle)
- Exercise 7-2 finding the maximum value and its subscript (20 points)
- Deep learning 500 questions
- Write a jison parser (7/10) from scratch: the iterative development process of the parser generator 'parser generator'
- If the uniapp is less than 1000, it will be displayed according to the original number. If the number exceeds 1000, it will be converted into 10w+ 1.3k+ display
- Golang defer
- PHP代码审计3—系统重装漏洞
- AUTOSAR from getting started to mastering 100 lectures (106) - SOA in domain controllers
- C语言指针面试题——第二弹
- Log cannot be recorded after log4net is deployed to the server
猜你喜欢
Dynamic address book
Normal vector point cloud rotation
Mmclassification annotation file generation
Devop basic command
六月份阶段性大总结之Doris/Clickhouse/Hudi一网打尽
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
How can Huawei online match improve the success rate of player matching
MySQL develops small mall management system
ASP. Net to access directory files outside the project website
QTreeView+自定义Model实现示例
随机推荐
If the uniapp is less than 1000, it will be displayed according to the original number. If the number exceeds 1000, it will be converted into 10w+ 1.3k+ display
How to teach yourself to learn programming
mmclassification 标注文件生成
Exercise 8-10 output student grades (20 points)
基于线性函数近似的安全强化学习 Safe RL with Linear Function Approximation 翻译 1
What are the advantages of automation?
有老师知道 继承RichSourceFunction自定义读mysql怎么做增量吗?
智慧路灯杆水库区安全监测应用
View CSDN personal resource download details
H5 audio tag custom style modification and adding playback control events
Hands on deep learning (45) -- bundle search
【Day2】 convolutional-neural-networks
Native div has editing ability
Mmclassification annotation file generation
Golang Modules
华为联机对战如何提升玩家匹配成功几率
Kubernetes CNI 插件之Fabric
Button wizard business running learning - commodity quantity, price reminder, judgment Backpack
Kotlin:集合使用
Hands on deep learning (41) -- Deep recurrent neural network (deep RNN)