Changes

From SME Server
Jump to navigationJump to search
1,288 bytes added ,  19:45, 24 March 2021
no edit summary
Line 21: Line 21:  
[[User:Unnillennium|Jean-Philippe Pialasse]]  
 
[[User:Unnillennium|Jean-Philippe Pialasse]]  
   −
=== Version ===
+
===Version===
 
<!-- keep this first element as is, you can add some if needed -->
 
<!-- keep this first element as is, you can add some if needed -->
 
{{#smeversion: {{#var:smecontribname}} }}
 
{{#smeversion: {{#var:smecontribname}} }}
   −
=== Description ===
+
===Description===
 
This allow you to install SME on a minimal CentOS. All you need is network enabled to install the rpm.   
 
This allow you to install SME on a minimal CentOS. All you need is network enabled to install the rpm.   
   Line 52: Line 52:  
Be aware the first reboot might take awhile because of quota check...
 
Be aware the first reboot might take awhile because of quota check...
   −
=== Installation ===
+
===Installation===
 
You may have to install wget
 
You may have to install wget
 
  yum install wget
 
  yum install wget
    
Download the file and install (you might check the last available version in https://mirror.koozali.org/releases/9/smecontribs/x86_64/RPMS/ to adapte the following line)
 
Download the file and install (you might check the last available version in https://mirror.koozali.org/releases/9/smecontribs/x86_64/RPMS/ to adapte the following line)
  wget https://mirror.koozali.org/releases/9/smecontribs/x86_64/RPMS/smeserver-centos2sme-6.9.1-5.el6.sme.noarch.rpm
+
  wget https://mirror.koozali.org/releases/testing/10/smedev/x86_64/RPMS/smeserver-centos2sme-6.9.1-10.el7.sme.noarch.rpm
    
  yum install smeserver-centos2sme-6.9.1-5.el6.sme.noarch.rpm
 
  yum install smeserver-centos2sme-6.9.1-5.el6.sme.noarch.rpm
    +
=== SME Server Conversion ===
 +
We assume you were able to connect to your remote CentOS 7 server using SSH and you already have added your own public key to /root/.ssh/authorized_key. Alternatively you have a virtual or IP KVM access to your server.
 +
 +
==== Preparation ====
 +
Get the current network information of your server
 +
# ifconfig
 +
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
 +
        inet NY.IP.IS.HE.RE  netmask MY.MASK.IS.HE.RE  broadcast Z.Z.Z.Z
 +
Get the default gateway :
 +
# route -n
 +
Destination      Gateway          Genmask            Indic Metric Ref    Use Iface
 +
0.0.0.0          MY.GATE.WAY.IP  0.0.0.0            UG    0      0        0 eth0
 +
MY.NET.WORK.0    0.0.0.0          MY.MASK.IS.HE.RE  U    0      0        0 eth0
 +
 +
You might also want to get the IP /network you are connecting from, to add latter to ValidFrom to access to the server-manager.
 +
 +
==== Script Usage ====
 
Launch the script
 
Launch the script
 
  centos2sme
 
  centos2sme
Line 74: Line 91:  
Rerun install script
 
Rerun install script
 
  # centos2sme
 
  # centos2sme
 +
Final Steps
 +
 +
At the end of the script, you will get to the bootstrap console to configure your server. This is where you need the information about your network.
 +
 +
Then you will be offered to  enter a valid Network you want to authorize access to your server-manager.
 +
 +
At the end you will either need to reboot to get all your services running, or use console to restore a backup.
   −
=== Uninstall ===
+
===Uninstall===
 
  yum remove {{#var:smecontribname}}  
 
  yum remove {{#var:smecontribname}}  
   −
=== Bugs ===
+
===Bugs===
 
Please raise bugs under the SME-Contribs section in [http://bugs.contribs.org/enter_bug.cgi bugzilla]
 
Please raise bugs under the SME-Contribs section in [http://bugs.contribs.org/enter_bug.cgi bugzilla]
 
and select the {{#var:smecontribname}} component or use {{BugzillaFileBug|product=SME%20Contribs|component={{#var:smecontribname}}|title=this link}}
 
and select the {{#var:smecontribname}} component or use {{BugzillaFileBug|product=SME%20Contribs|component={{#var:smecontribname}}|title=this link}}
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,240

edits

Navigation menu