当前位置:网站首页>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
边栏推荐
- uniapp 处理过去时间对比现在时间的时间差 如刚刚、几分钟前,几小时前,几个月前
- Vanishing numbers
- 技术管理进阶——如何设计并跟进不同层级同学的绩效
- Batch distribution of SSH keys and batch execution of ansible
- Golang Modules
- Hands on deep learning (45) -- bundle search
- MySQL develops small mall management system
- PHP code audit 3 - system reload vulnerability
- Exercise 7-3 store the numbers in the array in reverse order (20 points)
- 2. Data type
猜你喜欢
Svg image quoted from CodeChina
【Day1】 deep-learning-basics
Some summaries of the third anniversary of joining Ping An in China
百度研发三面惨遭滑铁卢:面试官一套组合拳让我当场懵逼
leetcode1-3
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
Histogram equalization
技术管理进阶——如何设计并跟进不同层级同学的绩效
Machine learning -- neural network (IV): BP neural network
Baidu R & D suffered Waterloo on three sides: I was stunned by the interviewer's set of combination punches on the spot
随机推荐
今日睡眠质量记录78分
C # use smtpclient The sendasync method fails to send mail, and always returns canceled
C语言指针面试题——第二弹
AUTOSAR从入门到精通100讲(106)-域控制器中的SOA
Hands on deep learning (45) -- bundle search
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
Kubernetes CNI 插件之Fabric
转载:等比数列的求和公式,及其推导过程
百度研发三面惨遭滑铁卢:面试官一套组合拳让我当场懵逼
Sort out the power node, Mr. Wang he's SSM integration steps
System.currentTimeMillis() 和 System.nanoTime() 哪个更快?别用错了!
Exercise 9-3 plane vector addition (15 points)
MySQL develops small mall management system
How do microservices aggregate API documents? This wave of show~
Devop basic command
基于线性函数近似的安全强化学习 Safe RL with Linear Function Approximation 翻译 2
Upgrading Xcode 12 caused Carthage to build cartfile containing only rxswift to fail
Application of safety monitoring in zhizhilu Denggan reservoir area
Exercise 9-1 time conversion (15 points)
MySQL case