HOWTO.centos - raynaldmo/HOWTO GitHub Wiki
VirtualBox
See this site https://www.youtube.com/watch?v=7pQIIQ-mY90 for instructions for
- installing VirtualBox on MAC
- install and configure CentOS VM
CentOS ISO images : https://wiki.centos.org/Download
Install Guest additions : http://pc-freak.net/blog/installing-virtualbox-guest-additions-vboxadditions-centos-65-fedora-19-20-rhel-65-510/
Use USB devices on VM http://dedoimedo.com/computers/virtualbox-usb.html
Enable rpmforge repo
http://www.tecmint.com/enable-rpmforge-repository/
[root@centos67-vm raynald]# wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
[root@centos67-vm raynald]# rpm -Uvh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
Update git from 1.7.1 to 1.7.12
[root@centos67-vm raynald]# yum --enablerepo=rpmforge update git
CentOS 7
Resources
- SELinux In CentOS/RHEL 7
- How To Use Systemctl to Manage Systemd Services and Units
- How To Set Up a Firewall Using FirewallD on CentOS 7
- How To Install Linux, Apache, MySQL, PHP (LAMP) stack On CentOS 7
- How To Install the Apache Web Server on CentOS 7 and Virtual Hosts
- How To Set Up Apache Virtual Hosts on CentOS 7
- Install and Configure mod_rewrite for Apache on CentOS 7
PHP 7
- How To Upgrade to PHP 7 on CentOS 7
- How to Install PHP 7.3 in CentOS 7 )
- How To Install PHP 7, 7.2 & 7.3 On CentOS 7
PHP 7 extensions (for Drupal 8)
yum install php70u php70u-opcache php70u-mbstring php70u-xml php70u-pear php70u-fpm php70u-mysql
yum install php70u-json php70u-gd
Apache
Permissions
# configure apache as user/group for web site document dir
chown -R apache:apache /var/www/example.com
# add user to apache group - log out and login back in to take effect
usermod -aG apache raynaldmo
# check group(s) user belongs to
id
# check configuration file syntax
apachectl configtest
# restart apache
apachectl restart
# restart apache
systemctl restart httpd.service
Google Chrome
-
Got instructions from this webpage: http://www.tecmint.com/install-google-chrome-on-redhat-centos-fedora-linux/
-
Here the last few lines of output after running install_chrome.sh script.
Google Chrome 29.0.1547.65 and Fedora 15 libraries installed successfully. Please run the browser via the 'google-chrome' command as a non-root user.
To update Google Chrome, run "yum update google-chrome-stable" or simply re-run this script with "./install_chrome.sh". To uninstall Google Chrome and its dependencies added by this script, run "yum remove google-chrome-stable chrome-deps" or "./install_chrome.sh -u".
- For CentOS 7 got instructions from this page: http://www.cyberciti.biz/faq/howto-install-google-chrome-on-redhat-rhel-fedora-centos-linux/