Line 43: |
Line 43: |
| | | |
| {{#bugzilla:columns=id,product,version,status,summary |sort=id |order=desc|disablecache=1 |component=smeserver-mailsorting|noresultsmessage="No open bugs found."}} | | {{#bugzilla:columns=id,product,version,status,summary |sort=id |order=desc|disablecache=1 |component=smeserver-mailsorting|noresultsmessage="No open bugs found."}} |
| + | |
| + | |
| + | = SME9 from a Centos 6 box= |
| + | inspired from https://wiki.contribs.org/index.php?title=SME_on_CentOS_6&oldid=18561 |
| + | |
| + | also check here : http://smeserver.pialasse.com/index.php/Cloudatcost |
| + | |
| + | sed -i -e 's/rhgb quiet/selinux=0/g' /boot/grub/grub.conf |
| + | sed -i -e 's/SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config |
| + | yum remove selinux-policy-targeted |
| + | setenforce 0 |
| + | # add yum repo |
| + | yum install wget -y |
| + | mkdir /tmp/repo.bak |
| + | mv /etc/yum.repos.d/*.repo /tmp/repo.bak/ |
| + | wget -O /etc/yum.repos.d/sme9.repo http://bugs.contribs.org/attachment.cgi?id=3652 |
| + | # import necessary keys |
| + | rpm --import http://sme-mirror.firewall-services.com/releases/8/smeos/x86_64/RPM-GPG-KEY-SMEServer |
| + | rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt |
| + | rpm --import https://fedoraproject.org/static/217521F6.txt |
| + | rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 |
| + | rpm --import http://www.salstar.sk/pub/yum/keys/RPM-GPG-KEY-Fedora-Pre-Extras |
| + | #clean yum cache |
| + | yum --enablerepo=* clean all |
| + | |
| + | yum --disablerepo=* --enablerepo=smeupdates9,smeos9 --disablerepo=updates,base,smeupdates-testing9 install e-smith\* smeserver\* at bc bind-libs bind-utils cronie cronie-anacron crontabs cyrus-sasl-md5 dhcp ed eject elfutils elfutils-libs fetchmail ftp gettext glib hesiod iptraf iptstate isdn4k-utils libselinux-python libsysfs libxml2-python lm_sensors lockdev lsof lvm2 man minicom mkbootdisk mlocate mod_ssl mtools mt-st mutt net-snmp net-snmp-utils openldap-servers patch pcmciautils postgresql-libs pyxf86config rpm-build rp-pppoe setserial strace sudo sysfsutils syslinux tcpdump telnet time tmpwatch traceroute unzip usbutils usermode vim-common vim-enhanced wget wodim xz zip zlib php-pear-Net-URL perl-Compress-Raw-Bzip2 perl-IO-Compress-Bzip2 rsync tnef freeradius-ldap |
| + | yum install gettext --enablerepo=base,updates -y |
| + | yum update initscripts --disablerepo=* --enablerepo=smeos9,smeupdates9 |
| + | yum upgrade --disablerepo=smeupdates-testing9 --enablerepo=base,updates --exclude=initscripts |
| + | |
| + | /sbin/e-smith/db configuration setprop sshd status enabled PermitRootLogin yes access public |
| + | /sbin/e-smith/signal-event remoteaccess-update |
| + | config setprop httpd-admin ValidFrom YOURIP/255.255.255.255 |
| + | /sbin/e-smith/signal-event post-upgrade |
| + | #to avoid being locked out in case |
| + | unlink /etc/e-smith/events/post-install/S10init-passwords |
| + | /sbin/e-smith/signal-event post-install |
| + | # configure your server correctly |
| + | console |
| + | touch /forcequotacheck |
| + | /sbin/e-smith/signal-event reboot |