User Tools

Site Tools


wiki:prodserver

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:prodserver [2023/07/11 20:15] guidebeaconwiki:prodserver [2023/07/18 19:59] (current) guidebeacon
Line 1: Line 1:
 ====== Beacon Production Server ====== ====== Beacon Production Server ======
 +
  
 Beacon production is where the public visits beacontechnology.com Beacon production is where the public visits beacontechnology.com
Line 21: Line 22:
   - run ''screen''   - run ''screen''
   - Inside screen, update the server with: ''yum update -y; sync; sleep 1; reboot''   - Inside screen, update the server with: ''yum update -y; sync; sleep 1; reboot''
-  - Make sure the box has a valid hostname like cpanel.beacontechnology.com Run ''hostname'' to print the hostname. To change the hostname run: ''nmcli general hostname cpanel.beacontechnology.com''+  - Make sure the box has a valid hostname like chost.beacontechnology.com Run ''hostname'' to print the hostname. To change the hostname run: ''nmcli general hostname chost.beacontechnology.com''
   - Disable NetworkManager by following this guide: [[https://docs.cpanel.net/knowledge-base/general-systems-administration/how-to-disable-network-manager/|Click Here]]   - Disable NetworkManager by following this guide: [[https://docs.cpanel.net/knowledge-base/general-systems-administration/how-to-disable-network-manager/|Click Here]]
   - Install cPanel by following this guide: [[https://docs.cpanel.net/installation-guide/install/|Click Here]]   - Install cPanel by following this guide: [[https://docs.cpanel.net/installation-guide/install/|Click Here]]
Line 29: Line 30:
  
 ==== Additional Setup ==== ==== Additional Setup ====
 +
 +=== Install ImageMagick ===
 +
 +When reinstalling, you may get an error when running one of the admin scripts:
 +
 +<code>
 +Fatal error: Uncaught Error: Class 'Imagick' not found in /home/beacontechnology/public_html/admin/resize.php:64 Stack trace: #0 {main} thrown in /home/beacontechnology/public_html/admin/resize.php on line 64
 +</code>
 +
 +
 +https://support.cpanel.net/hc/en-us/articles/360037048673-How-to-Install-ImageMagick-for-EA-PHP-and-ALT-PHP
 +
 +<code>
 +dnf config-manager --set-enabled epel
 +dnf install ImageMagick ImageMagick-devel -y
 +</code>
 +
 +<code>
 +find /opt/cpanel/ -iname pecl | grep bin
 +</code>
 +
 +for each, run this command
 +
 +<code>
 +/opt/cpanel/ea-php74/root/usr/bin/pecl install imagick
 +/opt/cpanel/ea-php80/root/usr/bin/pecl install imagick
 +</code>
 +
 +Don't forget to start php-fpm
 +
 +<code>
 +/scripts/restartsrv_apache_php_fpm
 +</code>
  
 === Session Files === === Session Files ===
wiki/prodserver.1689106522.txt.gz · Last modified: 2023/07/11 20:15 by guidebeacon

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki