Brugerværktøjer

Webstedsværktøjer


cpanel_server_setup

Warning: Undefined array key -1 in /home/noergl/dokuwiki.noer.gl/inc/html.php on line 1458

Forskelle

Dette viser forskellene mellem den valgte og den nuværende udgave af dokumentet. Gul er linjer der findes i den gamle udgave, og grøn er linjer der findes i den nuværende.

Link til denne sammenlinings vising

Begge sider forrige revision Forrige revision
Næste revision
Forrige revision
cpanel_server_setup [2026/07/13 02:44]
216.73.216.243 gammel revision gendannet (2017/02/22 17:06)
cpanel_server_setup [2026/09/19 12:52] (nuværende)
213.209.159.133 gammel revision gendannet (2026/07/13 02:45)
Linje 2: Linje 2:
  
 Install CentOS 7 on the server Install CentOS 7 on the server
 +
 +Create ''/home'' partition
  
 Install extra packages Install extra packages
Linje 25: Linje 27:
 ==== Install cPanel ==== ==== Install cPanel ====
 https://documentation.cpanel.net/display/ALD/Installation+Guide https://documentation.cpanel.net/display/ALD/Installation+Guide
 +
 +Setup services according to the guide
 <code> <code>
 systemctl stop firewalld.service systemctl stop firewalld.service
Linje 35: Linje 39:
 </code> </code>
  
 +== Install cPanel ==
 <code> <code>
 +cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
 </code> </code>
 +
 +==== Setup cPanel ====
 +Install ClamAV using "Manage Plugins"
 +
 +Copy configuration from existing cPanel server using "Transfer Tool"
 +
 +Update setting "Host to publish in the SRV records for Outlook autodiscover support" to the current hostname.
 +
 +==== Setup CloudLinux Features ====
 +
 +
 +<code>
 +
 +</code>
 +
 +==== System Setup ====
 +
 +Change ''/etc/ssh/sshd_config''
 +<code>
 +Port 223
 +</code>
 +
 +Add firewall rule
 +<code>
 +firewall-cmd --permanent --zone=public --add-port=223/tcp
 +firewall-cmd --reload
 +</code>
 +
 +Add group ''groupadd ininova''
 +Create file ''/etc/sudoers.d/ininova'' containing this snippet
 +<code>
 +# Allow members of group ininova to execute any command
 +%ininova   ALL=(ALL:ALL) ALL
 +</code>
 +
 +== Install Puppet ==
 +<code>
 +yum install puppet
 +</code>
 +
 +Now, go to the puppet.hosting.gl and sign the request for the new server. Then restart the puppet service with ''service puppet restart''. Check ''/var/log/messages'' for errors.
 +
 +
 +
 +
 +
 +
 +
  
cpanel_server_setup.1783910675.txt.gz · Sidst ændret: 2026/07/13 02:44 af 216.73.216.243