Changes

Jump to navigation Jump to search
1,087 bytes added ,  06:33, 8 September 2022
Line 41: Line 41:     
SSH access is open, with root login allowed, but only RSA SSH key allowed.
 
SSH access is open, with root login allowed, but only RSA SSH key allowed.
  −
System restoration using usb disk is disable to avoid locking you out on reboot, as it is considered you might not have a KVM access, and only ssh access.
  −
  −
The following can be performed once install/reboot is complete to initiate restore of a backup as per default behaviour on first reboot. 
  −
  −
config delete PasswordSet
  −
config setprop bootstrap-console Run Yes
  −
signal-event reboot
      
Be aware the first reboot might take awhile because of quota check...
 
Be aware the first reboot might take awhile because of quota check...
Line 56: Line 48:  
  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/10/smecontribs/x86_64/RPMS/ to adapte the following line)
  wget https://mirror.koozali.org/releases/testing/10/smedev/x86_64/RPMS/smeserver-centos2sme-6.9.1-10.el7.sme.noarch.rpm
+
  wget https://mirror.koozali.org/releases/10/smecontribs/x86_64/RPMS/smeserver-centos2sme-6.9.1-13.el7.sme.noarch.rpm
   −
  yum install smeserver-centos2sme-6.9.1-5.el6.sme.noarch.rpm
+
  yum install smeserver-centos2sme-6.9.1-13.el7.sme.noarch.rpm
    
=== SME Server Conversion ===
 
=== SME Server Conversion ===
Line 65: Line 57:     
==== Preparation ====
 
==== Preparation ====
 +
get the needed tools
 +
yum install -y net-tools
 
Get the current network information of your server
 
Get the current network information of your server
 
  # ifconfig  
 
  # ifconfig  
Line 101: Line 95:  
===Uninstall===
 
===Uninstall===
 
  yum remove {{#var:smecontribname}}  
 
  yum remove {{#var:smecontribname}}  
 +
 +
=== Other Information ===
 +
==== using restore on reboot ====
 +
Usual System restoration on boot using usb disk is disable to avoid locking you out on reboot, as it is considered you might not have a KVM access, and only ssh access.
 +
 +
IF you HAVE KVM access, then the following can be performed once install/reboot is complete to initiate restore of a backup as per default behaviour on first reboot. 
 +
 +
config delete PasswordSet
 +
config setprop bootstrap-console Run Yes
 +
signal-event reboot
 +
 +
DO this only if you have kvm access, Remember you still can use the option 9 in the console to restore from disk without rebooting.
 +
 +
==== unable to login in server-manager ====
 +
if you are unable to login to manager and see this log error in /var/log/httpd/admin_error_log
 +
AH01215: Can't exec "/usr/bin/pwauth": Permission denied at /etc/e-smith/web/common/cgi-bin/login line 56., referer: https://...
 +
just do
 +
yum reinstall /usr/bin/pwauth -y
 +
 +
==== Issue with Screen====
 +
Some installation of Centos do have declared devpts in fstab and are missing the gid=5. This will prevent non root user to use screen
 +
 +
change this
 +
devpts          /dev/pts        devpts  defaults  0      0
 +
to this
 +
devpts          /dev/pts        devpts  defaults,gid=5  0      0
 +
 +
to avoid a reboot, do
 +
mount -o remount,gid=5,rw,relatime,mode=600,ptmxmode=000 /dev/pts
 +
 +
Alternatively, simply remove or comment the line from fstab and it should work on reboot.
    
===Bugs===
 
===Bugs===
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu