Apache & Webroot

Where’s Apache and webroot for the different distros?

Webroot:

# Redhat, Fedora, Centos, Amazon Linux
/var/www/html
# Debian, Ubuntu, Mint
/var/www/html

Apache Configuration:

# Redhat, Fedora, Centos, Amazon Linux
/etc/httpd/conf/httpd.conf
# Debian, Ubuntu, Mint
/etc/apache2/sites-available/default

ReiserFS

Install ReiserFS

rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh https://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
yum update
yum install kmod-reiserfs kmod-reiserfs

Make a ReiserFS

fdisk /dev/xvdf
n, p, 1
[return]
[return]
mkreiserfs /dev/xvdf1
mount -t reiserfs /dev/xvdf1 /data

Other Reiserfs commands

reiserfsck /dev/xvdf1
resize_reiserfs /dev/xvdf1