Linux serverNETWORK ADMINISTRATIONS Owncloud Configuration centos 7 January 7, 2024 Owncloud Configuration centos 7 source centos 7
This issue is seen after successful installation:Can't write into config directory! This can usually be fixed by giving the webserver write access to the config directory.
yum -y update yum install httpd php php-mysql mariadb-server mariadb sqlite php-dom php-mbstring php-gd php-pdo wget vim setsebool -P httpd_unified 1 firewall-cmd –permanent –zone=public –add-service=http firewall-cmd –permanent –zone=public –add-service=https firewall-cmd –reload systemctl start httpd.service systemctl start mariadb.service systemctl enable httpd.service systemctl enable mariadb.service /usr/bin/mysql_secure_installation enter passwor:123456 newpassword: 123456 y y y y systemctl restart httpd.service copy file from usb,WinSCP or any other device [ cd /var/www/html] this location] cd /var/www/html [ https://drive.google.com/file/d/1EfkZezCZBiAFh4pYwKDzx9pa3YXQ5ve9/view?usp=sharing ] ls owncloud-9.1.5.tar.bz2 tar -xjf owncloud-9.1.5.tar.bz2 ls owncloud owncloud-9.1.5.tar.bz2 chown -R apache.apache owncloud chmod -R 755 owncloud mysql -u root -p Enter password:123456 mysql> CREATE DATABASE owncloud; grant all privileges on owncloud.* to owncloud@'localhost' identified by '123456'; flush privileges; exit init 6 http://ipaddress/owncloud user: admin (default) pass: admin (default)
This issue is seen after successful installation:
Can't write into config directory!
This can usually be fixed by giving the webserver write access to the config directory.
yum -y update
yum install httpd php php-mysql mariadb-server mariadb sqlite php-dom php-mbstring php-gd php-pdo wget vim
setsebool -P httpd_unified 1
firewall-cmd –permanent –zone=public –add-service=http
firewall-cmd –permanent –zone=public –add-service=https
firewall-cmd –reload
systemctl start httpd.service
systemctl start mariadb.service
systemctl enable httpd.service
systemctl enable mariadb.service
/usr/bin/mysql_secure_installation
enter
passwor:123456
newpassword: 123456
y
y
y
y
systemctl restart httpd.service
copy file from usb,WinSCP or any other device [ cd /var/www/html] this location]
cd /var/www/html [ https://drive.google.com/file/d/1EfkZezCZBiAFh4pYwKDzx9pa3YXQ5ve9/view?usp=sharing ]
ls
owncloud-9.1.5.tar.bz2
tar -xjf owncloud-9.1.5.tar.bz2
ls
owncloud owncloud-9.1.5.tar.bz2
chown -R apache.apache owncloud
chmod -R 755 owncloud
mysql -u root -p
Enter password:123456
mysql> CREATE DATABASE owncloud;
grant all privileges on owncloud.* to owncloud@'localhost' identified by '123456';
flush privileges;
exit
init 6
http://ipaddress/owncloud
user: admin (default)
pass: admin (default)