Apache instalacja Pokaż
apt -y update
apt-get install -y apache2; \
a2enmod ssl; \
a2enmod rewrite; \
a2enmod cgi; \
service apache2 restart; \
mkdir -p /etc/gen/firewall/host\:`ip ad|grep inet|grep eth0|awk '{print $2}'|cut -d/ -f1`/80\:tcp\:http/; \
mkdir -p /etc/gen/firewall/host\:`ip ad|grep inet|grep eth0|awk '{print $2}'|cut -d/ -f1`/443\:tcp\:https/; \
/etc/init.d/ip_firewall restart;