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

PHP 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

  1. Got instructions from this webpage: http://www.tecmint.com/install-google-chrome-on-redhat-centos-fedora-linux/

  2. 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".

  1. For CentOS 7 got instructions from this page: http://www.cyberciti.biz/faq/howto-install-google-chrome-on-redhat-rhel-fedora-centos-linux/