I'm basing this on a CentOS 7.2 install.
Base system only, no additional peripherals.
Network configuration is in /etc/sysconfig/network-scripts/ifcfg-$INTERFACE . Generally you want ONBOOT=yes. Beyond that RTFM.
yum -y install openssh-clients lsof vim screen nmap links lynx sudo curl wget zsh unzip zip net-snmp mlocate traceroute bind-utils man pciutils rsync wireshark ntpdate ntp mailx cpan telnet /etc/cron.daily/mlocate.cron # build the locate database in advance of needing it adduser $USER && passwd $USER # vigr # add $USER to wheel group visudo # let %wheel run anything they want. That will get you a good base system with a non-privileged $USER which you can use for non-admin tasks. /etc/firewalld/ will give you a good default firewall setup without you intervening. yum -y install mysql mariadb-server yum -y install epel-release yum -y install phpmyadmin openssl mod_ssl php-imap Review /usr/share/doc/mysql-server-*/my-*.cnf to see how to configure mysqld at /etc/my.cnf . At minimum, set server-id (e.g. use last octet of IP) and log-bin (for transactional logs). For SugarCRM install: firewall-cmd --add-service=http firewall-cmd --add-service=https yum -f install java-1.8.0-openjdk-headless rpm --import https://packages.elastic.co/GPG-KEY-elasticsearch Add the following in your /etc/yum.repos.d/ directory in a file with a .repo suffix, for example, elasticsearch.repo: [elasticsearch-2.x] name=Elasticsearch repository for 2.x packages baseurl=https://packages.elastic.co/elasticsearch/2.x/centos gpgcheck=1 gpgkey=https://packages.elastic.co/GPG-KEY-elasticsearch enabled=1 yum -f install elasticsearch http://support.sugarcrm.com/Knowledge_Base/Installation_Upgrade/Installing_and_Administering_Elasticsearch_for_Sugar_7/index.html#Installation has particulars beyond that point. yum -f install php-mcrypt yum install memcached php-pecl-memcached systemctl enable memcached systemctl start memcached yum -y install php-imap Within /etc/php.ini set date.timezone and session.gc_maxlifetime . Edit /etc/php.ini and set display_errors=0, max_execution_time=120, memory_limit=512M, post_max_size=30M, upload_max_filesize=30M |
Howto >