In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
CentOS6.5 Basic configuration of building owncloud private cloud disk
Close firewall service iptables stop
iptables -F(temporarily closed)
Close selinux vim /etc/selinux/config
Modified: SELINUX=disabled
Configure IP address vim /etc/sysconfig/network-scripts/ifcfg-eth0
Modified: ONBOOT=yes
BOOTPROTO=static
IPADDR=[fixed IP address]
NETMASK=[mask]
GETWAY=[Gateway]
DNS1=[preferred DNS address]
DNS2=[alternate DNS address]
Hu Xianer is trying to save trouble. He didn't set rules for iptables and directly closed them all.; I know I'm lazy (-_-)!!!
The requested URL/dev/cdrom /was not found on this server.
modify yum source vim /etc/yum.repos.d/CentOS-Media.repo
Modified: [c6-media]
name=CentOS-$releasever - Media
baseurl= file:///media/
gpgcheck=1
enabled=1
gpgkey= file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
1. Owncloud has no version requirements for apache and MySQL, Hu Xianer decided to go mirror package, but for PHP environment owncloud requirements must use version 5.5 or above.
2. Hu Xianer build environment under normal circumstances there is no connection to the outside network, so before installing PHP environment belongs to the disconnected network environment.
Install LAMP platform Install httpd, MySQL
Check if apache httpd -v is installed (if the apache version number is displayed, it is already installed, you can skip the next step)
install apache yum install httpd
Install MySQL yum install mysql-server mysql-devel
configure MySQL
mysqladmin -u root password password for MySQL
Configure apache and MySQL services to boot
chkconfig -add mysqld
chkconfig -add httpd
chkconfig mysqld on
chkconfig httpd on
Log in MySQL mysql -u root -p(Enter, then enter password; enter password does not display by default)
Create a database create database database name (database as cloud disk data store)
Install PHP environment (PHP 5.6 as an example)
Import PHP installation source rpm -ivh http://repo.webtatic.com/yum/el6/latest.rpm
Install PHP and its controls yum install php56w php56w-gd php56w-mysql php56 w-bcpath php56 w-mbstring php56w-xml php56w-ldap
Install owncloud(take owncloud-9.1.8 as an example)
Download the owncloud-9.1.8.tar.bz2 file and upload it to the server via another host browser at https://www.owncloud.org, or download the owncloud-9.18.tar.bz2 file directly via the server at https://www.owncloud.org.
Decompress owncloud-9.1.8.tar.bz2 tar jxvf owncloud-9.1.8.tar.bz2 -C /var/www/html
The requested URL/var/www/html/owncloud/was not found on this server.
chmod 777 /var/www/html/owncloud/config
1. This involves the issue of file permissions, which is quite troublesome to explain, so Hu Xian 'er won't say much ~~~
2. The following step is critical, if you do not operate on it cloud disk will not work...
vim /var/www/html/owncloud/config/config.php
Modify all the parameters with IP address inside, you can change it to the IP address of the machine itself, you can fill in the corresponding domain name of the machine. This profile doesn't need to do any other settings, and it will automatically complete all kinds of information when the last step is completed.
The configuration file is as follows:
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.