Micro Website
We launched a Micro-Business-Website for Peter Burits.
We launched a Micro-Business-Website for Peter Burits.
yum install net-tools wget mc unzip telnet
wget http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-1.noarch.rpm
yum install epel-release-7-1.noarch.rpm
yum install mariadb-server mariadb
systemctl start mariadb.service
systemctl enable mariadb.service
mysql_secure_installation
yum install httpd
systemctl start httpd.service
systemctl enable httpd.service
firewall-cmd --permanent --zone=public --add-service=http
firewall-cmd --permanent --zone=public --add-service=https
firewall-cmd --reload
yum install php
optional phpmyadmin
yum install phpMyAdmin
vi /etc/httpd/conf.d/phpMyAdmin.conf
-- restrict to your IP --
vi /etc/phpMyAdmin/config.inc.php
[...]
$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)?
[...]
CREATE DATABASE jos_hauser.cc;
CREATE USER 'jos_hauser.cc'@localhost;
GRANT ALL ON `jos_hauser.cc`.* TO `jos_hauser.cc`@`localhost` IDENTIFIED BY 'SAFE';
FLUSH PRIVILEGES;
wget http://joomlacode.org/gf/download/frsrelease/19665/160049/Joomla_3.3.3-Stable-Full_Package.zip
--virtualhost konfigurieren - und entpacken --
set correct owner (chown -R apache.apache)
Requirements:
Nextcloud Installation
Minimal server
yum install httpd php php-mysql mariadb-server mariadb php-dom php-mbstring php-gd php-pdo wget
mc bash-completion
/etc/selinux/config:
SELINUX=permissive
firewall-cmd --permanent --zone=public --add-service=http
firewall-cmd --permanent --zone=public --add-service=https
firewall-cmd –reload
systemctl start httpd.service
systemctl enable httpd.service
Mariadb
systemctl start mariadb.service
systemctl enable mariadb.service
Owncloud
wget https://download.owncloud.org/community/owncloud-7.0.2.tar.bz2
Extract + set owner to apache:apache
Create DB, all perms to serviceaccount
Set up vhost
Set up certificate
Edit configfile (typ: /var/www/html/owncloud/config/config.php
pvcreate /dev/sdb
vgcreate VG_ownclouddata /dev/sdb
lvcreate -n LV_ownclouddata -L 80G VG_ownclouddata
mkfs.ext3 /dev/VG_ownclouddata/LV_ownclouddata