Brugerværktøjer

Webstedsværktøjer


cpanel_server_setup

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/05/28 23:43]
216.73.216.233 gammel revision gendannet (2017/02/22 17:06)
cpanel_server_setup [2026/05/28 23:44] (nuværende)
216.73.216.233 gammel revision gendannet (2017/03/08 15:23)
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 add the server in ''/etc/puppet/manifests/site.pp''. Then sign the request for the new server.
 +
 +Restart the puppet service with ''service puppet restart''. Check ''/var/log/messages'' for errors.
 +
 +
 +
 +
 +
 +
 +
  
cpanel_server_setup.1780011813.txt.gz · Sidst ændret: 2026/05/28 23:43 af 216.73.216.233