Centos6 安装配置owncloud8
具体过程不再说了。直接上安装命令记录。
shutdown -h now
cat /etc/redhat-cat /etc/redhat-release
yum update -y
reboot
cd /opt/
wget https://download.owncloud.org/community/owncloud-8.0.0.tar.bz2
cd /opt/
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
rpm -ivh remi-release-6.rpm
rpm ivh remi-release-6.rpm
rpm -Uvh remi-release-6.rpm
yum install epel* -y
rpm -Uvh remi-release-6.rpm
yum install httpd php php-mysql sqlite php-dom php-mbstring php-gd php-pdo php-json php-xml php-zip php-gd curl php-curl php-mcrypt php-pear -y
yum remove php
yum -y install httpd php mysql mysql-server php-mysql httpd-manual mod_ssl mod_perl mod_auth_mysql php-mcrypt php-gd php-xml php-mbstring php-ldap php-pear php-xmlrpc mysql-connector-odbc mysql-devel libdbi-dbd-mysql
wget -q -O - http://www.atomicorp.com/installers/atomic | sh
yum update php
ls
tar -jxvf owncloud-8.0.0.tar.bz2
mv owncloud /var/www/html
cd /var/www/html/
ls
mv owncloud ../
cd ..
ls
mv owncloud html
ls
cd html/
ls
mv owncloud ../
cd ..
ls
rm html -rf
mv owncloud html
ls
chown -R apache:apache /var/www/html
vi /etc/httpd/conf/httpd.conf
/etc/init.d/httpd restart
ifconfig
chkconfig httpd on
chkconfig iptables off
/etc/init.d/iptables stop
/etc/init.d/httpd restart
ls
ls -al
chmod -R 775 html
/etc/init.d/httpd restart
mysql_secure_installation
mysql -uroot -p
exit
/etc/init.d/mysqld restart
exit
目录 返回
首页