RHEL

You are here:
Estimated reading time: < 1 min

Test Apache Config

apachectl configtest

Source

Restart Apache Service

apachectl restart

Stop Apache Service

Start Apache Server

apachectl start

Apache status

systemctl status httpd

Source

Virtual Host configuration

#NameVirtualHost *:80 #<VirtualHost *:80> # ServerAdmin webmaster@dummy-host.example.com # DocumentRoot /www/docs/dummy-host.example.com # ServerName dummy-host.example.com # ErrorLog logs/dummy-host.example.com-error_log # CustomLog logs/dummy-host.example.com-access_log common #</VirtualHost>

Source

Install Git

yum update yum install git git --version

Source

Install Composer

curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
chmod +x /usr/local/bin/composer
composer -V
./composer.phar -V

Source

RHEL Version

cat /etc/redhat-release

Source

Was this article helpful?
Dislike 0
Views: 25