Apache.v7

From Access Information
Jump to: navigation, search


Installing New Server Mrepo smartd RAID Hardening YUM Crontabs LogWatch systemctl firewalld CentOS 7
Packages
Apache Bind Cacti DHCP mariadb Samba Sarg Sendmail Smokeping Rsync Work Apps
Problems VPN VPN Win Extras Bash MailScanner Horde Google CE Wake Up KVM
Other Computer Lab ISO2USB aiContact Google CE Android USB Live SRS XML


Apache

YUM

yum install php php-pear php-devel geoip MySQL-python php-mysql php-snmp httpd  \
   mariadb mariadb-devel mariadb-libs phpMyAdmin mutt mariadb-server mariadb

Hostname & httpd

To get httpd to run correctly.

echo name.backup.geek.nz > /etc/hostname
/bin/hostname -F /etc/hostname
emacs -nw /etc/hosts

Enter correct ip address for servers host name

systemctl restart httpd
systemctl status httpd
systemctl enable httpd
firewall-cmd --zone=public --add-service=http --permanent
firewall-cmd --reload
firewall-cmd --zone=public --list-all

mariadb

Run from this page

http://ai.net.nz/wiki/index.php?title=Mariadb.v7

php.ini

sed -ie 's/.*memory_limit.*$/memory_limit = 128M/' /etc/php.ini \
  && grep memory_limit /etc/php.ini
emacs -nw /etc/php.ini
[Date]
; Defines the default timezone used by the date functions
; http://www.php.net/manual/en/datetime.configuration.php
date.timezone = Pacific/Auckland
  • Did you find this page useful?
  • Do you have an issue that you have not yet fixed?

We can do this for you.

I am available for technical support. Please follow this link. Tech Support Request.
+64-6-880-0000 : ++1-808-498-7146 : help@ai.net.nz
Getting us to help you