From Dave's wiki
Jump to navigation Jump to search
#check for update
sudo yum check-update
#update all packages and dependencies
sudo yum update
sudo yum search screen
sudo yum list readline\*
#listing package groups
sudo yum groups summary
sudo yum group list ids
sudo yum group install "Development Tools"


sudo yum install readline-devel
./configure --with-x=no
sudo yum install java-1.8.0-openjdk
sudo yum install java-1.8.0-openjdk-devel
sudo yum install java-1.8.0-openjdk-headless

Web server

Root is at /var/www/html

Log files are in /var/log/httpd/

sudo yum group install "Basic Web Server"
apachectl start
apachectl stop
apachectl restart
apachectl status

chkconfig httpd on
chkconfig --list
chkconfig --list httpd

cat /etc/httpd/conf/httpd.conf


curl -O