liveinstall enable network, set hostname
install minimal
yum update
disable selinux
reboot
tools
yum -y install net-tools wget htop glances dkms autoconf.noarch automake.noarch gtk-murrine-engine.x86_64 gtk3-devel.x86_64 geany geany-plugins-common geany-plugins-spellcheck pkgconfig.x86_64 yum groupinstall "Development Tools" git clone https://github.com/horst3180/arc-theme --depth 1 && cd arc-theme ./autogen.sh --prefix=/usr make install
environment /etc/profile.d/custom.sh
alias l='ls -lh'
wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-9.noarch.rpm rpm -ivh epel-release-7-9.noarch.rpm
yum groupinstall "Server with GUI" yum -y install cinnamon* ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target
yum install lightdm systemctl disable gdm.service systemctl enable lightdm.service
yum install system-config-firewall.noarch system-config-keyboard.noarch system-config-users.noarch
yum install mariadb mariadb-server systemctl start mariadb systemctl enable mariadb /usr/bin/mysql_secure_installation
old site
export existing user rights
#!/bin/bash mygrants() { mysql -B -N $@ -e "SELECT DISTINCT CONCAT( 'SHOW GRANTS FOR \'', user, '\'@\'', host, '\';' ) AS query FROM mysql.user" | \ mysql -r $@ | \ sed 's/\(GRANT .*\)/\1;/;s/^\(Grants for .*\)/## \1 ##/;/##/{x;p;x;}' } mygrants --host=localhost --user=root --password=secret
./backup.db.users > /tmp/db.users.sql
new site
yum install httpd httpd-tools yum install mod_ssl yum install php phpMyAdmin systemctl enable httpd systemctl start httpd