Difference between revisions of "User:Unnilennium"
Unnilennium (talk | contribs) |
Unnilennium (talk | contribs) |
||
Line 150: | Line 150: | ||
/sbin/e-smith/signal-event reboot | /sbin/e-smith/signal-event reboot | ||
+ | |||
+ | ==== create a raid lvm aside ==== | ||
+ | I had a couple of drive in an external eSATA dock. So first I removed one, put the new storage drive and create a degraded RAID1+ LVM | ||
+ | gdisk /dev/sde #then format as fd00 linux raid the whole drive | ||
+ | mdadm --create /dev/md4 --level=raid1 --raid-devices=1 /dev/sde1 --force | ||
+ | pvcreate /dev/md4 | ||
+ | vgcreate nasdrive /dev/md4 | ||
+ | lvcreate -L 1.1T -n video nasdrive | ||
+ | lvcreate -L 500G -n music nasdrive | ||
+ | lvcreate -L 2T -n backup nasdrive | ||
+ | lvreduce -L 400G /dev/nasdrive/music | ||
+ | lvresize -l +100%FREE /dev/nasdrive/video | ||
+ | mkfs.ext4 /dev/nasdrive/backup -L backuppc | ||
+ | mkfs.ext4 /dev/nasdrive/music -L music | ||
+ | mkfs.ext4 /dev/nasdrive/video -L video | ||
+ | then copy files from needed drives | ||
+ | |||
+ | then umount the drives and put the second new drive in the dock, and : | ||
+ | |||
+ | then final step fill fstab to have it mounted on boot. | ||
+ | |||
+ | sources | ||
+ | * https://linoxide.com/how-tos/how-extend-resize-lvm-partition-linux/#3_Resizing_filesystem | ||
+ | * https://linoxide.com/linux-how-to/lvm-configuration-linux/ | ||
+ | * [[Raid]] | ||
+ | * https://forums.centos.org/viewtopic.php?t=65165 | ||
+ | * |
Revision as of 04:03, 26 December 2019
Hello,
i am Unnilenium Aka Jean-Philippe Pialasse
you can find my own smeserver wiki ( in French) http://smeserver.pialasse.com
input model
create a new page for a regular package : | |
create a new page for a smeserver-* package : | smeserver- |
table
The header | remains visible |
---|---|
This content | is hidden |
at first | load time |
Available Contribs for sme9 (with a page)
- Advanced Samba
- Advancedprompt
- Affa
- AltQmail
- Arpwatch
- AutoMysqlBackup
- AWStats
- Backup with Affa and FreeDup
- BackupPC
- Bandwidthd
- Bash-insulter
- BridgeInterface
- Cacti
- Centos2sme
- Certificate ssl management
- Check4updates
- Clamav unofficial sigs
- CoovaChilli
- Crontab Manager
- Dansguardian
- Dansguardian-panel
- DAR2
- Ddclient
- Denyhosts
- Dhcp-dns
- Dhcpmanager
- Disk Manager
- Diskusage
- Domains
- Dovecot-extras
- DownloadTicketService
- Durep
- Egroupware
- Email Whitelist-Blacklist Control
- Email-Management
- Expire-Accounts
- Extrarepositories
- Ezmlm
- Fail2ban
- Fetchmail
- FreePBX
- Geneweb
- GeoIP
- Git
- Groupmembers Panel
- Hardware Info
- HylaFax
- Isoqlog
- Lazy Admin Tools
- Learn
- LemonLDAP-NG
- Letsencrypt
- Libreswan
- Libreswan-xl2tpd
- Limesurvey
- Madsonic
- Mailalias
- Mailman
- Mailsorting
- Mailstats
- Minilist (tiny mailling list)
- Mod dav
- Mod Deflate
- Mod maxminddb
- Mod Python
- Motd
- Mxbackup
- Mysql57
- Nextcloud
- NFS
- Ntop
- OCS Inventory
- OpenVPN Bridge
- OpenVPN Routed
- OpenVPN SiteToSite
- Password
- Phpldapadmin
- Phplist
- PHPMyAdmin
- Phpsysinfo
- Phpvirtualbox
- Print monitor
- Qmhandle mail queue manager
- Radicale (carddav/caldav)
- Raidstatus
- Random Strong Password Generator
- Rdiff-backup
- Remoteuseraccess
- Rkhunter
- RoundCube
- Rsync
- SANE
- Sarg
- Seafile
- Sendmail-wrapper
- Service Control
- SharedFolders
- Shellinabox
- Smbstatus
- Softethervpn-server
- Sogo
- Subversion
- Sysmon
- Tftp server
- Thinclient
- Transmission
- Tw-logonscript
- Unifi
- UserManager
- Vacation
- WebFilter
- Webhosting
- Webshare
- Wordpress
- Xinetd
- Xt geoip
- Zabbix
- Zarafa on SME 9
- Zoneminder
Available Contribs for sme9 in smetest
Available Contribs for sme9 in smedev
Not Available Contribs for sme9 (with a page)
- Advanced Samba
- Advancedprompt
- Affa
- Affa/fr
- AltQmail
- Arpwatch
- Autodiscover
- AutoMysqlBackup
- AWStats
- Backup with Affa and FreeDup
- BackupPC
- BackupPC/fr
- Bandwidthd
- Bandwidthd/fr
- Bandwithd/fr
- Bash-insulter
- BridgeInterface
- BridgeInterface/fr
- Bugzilla
- Cacti
- Cactus/Sandbox:Test
- Centos2sme
- Certificate ssl management
- Check4updates
- Clamav unofficial sigs
- Collabora
- CoovaChilli
- Crontab Manager
- DAR2
- Ddclient
- Denyhosts
- Detox
- Dhcp-dns
- Dhcpmanager
- Dirty Tools
- Disk Manager
- Diskusage
- Docker
- Dokuwiki
- Dokuwiki/fr
- Domains
- Dovecot-extras
- DownloadTicketService
- Durep
- Email Whitelist-Blacklist Control
- Email Whitelist-Blacklist Control/fr
- Email-Management
- Expire-Accounts
- Extrarepositories
- Ezmlm
- Ezmlm-www
- Fail2ban
- Fail2ban/fr
- Fetchmail
- Fetchmail/fr
- FreePBX
- FreePBX/fr
- Geneweb
- GeoIP
- Git
- Groupmembers Panel
- Gt5
- Hardware Info
- Hardware Info/fr
- HylaFax
- Isoqlog
- Lazy Admin Tools
- Learn
- Learn/fr
- Letsencrypt
- Letsencrypt/fr
- Libreswan
- Libreswan-xl2tpd
- Loginscript
- Madsonic
- Mailalias
- Mailman
- Mailman/fr
- Mailsorting
- Mailstats
- Mariadb101
- Mariadb102
- Mariadb103
- Mariadb105
- Mediawiki
- Mediawiki/fr
- Migratehelper
- Migratehelper/fr
- Mod dav
- Mod Deflate
- Mod maxminddb
- Mod Python
- Motd
- Mxbackup
- Mysql57
- Nextcloud
- Nextcloud/fr
- NFS
- Nginx
- ONLYOFFICE
- Open-vm-tools
- OpenUpload
- OpenVPN Bridge
- OpenVPN Bridge/fr
- OpenVPN Routed
- OpenVPN SiteToSite
- Password
- PHPki
- PHPki/fr
- Phpldapadmin
- Phpldapadmin/fr
- Phplist
- PHPMyAdmin
- Phppgadmin
- Phpsysinfo
- Phpvirtualbox
- Postgresql
- Print monitor
- Pxe
- Qemu guest agent
- Qmail-notify
- Qmhandle mail queue manager
- Rabbitmq-server
- Radicale (carddav/caldav)
- Raidstatus
- Random Strong Password Generator
- Redis
- Remoteuseraccess
- Rkhunter
- Rocket Chat:Contrib
- RoundCube
- RoundCube/fr
- Rsync
- Rsync-backup2disk
- Rsyncd
- SANE
- SANE/fr
- Sarg
- Sendmail-wrapper
- Server Manager2
- Service Control
- Service Control/fr
- SharedFolders
- SharedFolders/fr
- Shellinabox
- Smbstatus
- Smeadmin
- Softethervpn-server
- Sogo
- Subversion
tests
Version: Contrib8 pas Contrib9
Version: Contrib9
Category: Contrib 8
Category: Contrib 9
Category:Contrib AND Category:Administration:VPN
Version | Category | |
---|---|---|
BridgeInterface | Contrib10 Contrib9 | Administration:VPN Contrib |
Libreswan | AlphaRPM10 ContribRPM9 Devel10 Devel9 Contrib9 | Administration:VPN Security VPN Contrib Howto |
OpenVPN Bridge | Contrib10 Contrib9 Devel10 | Administration:VPN VPN Incomplete Contrib |
OpenVPN Routed | Contrib10 Alpha9 | Administration:VPN VPN Contrib |
OpenVPN SiteToSite | Contrib10 Contrib9 Devel10 | Administration:VPN VPN Contrib |
Category: Contrib
ID | Product | Version | Status | Summary (4 tasks) ⇒ |
---|---|---|---|---|
11338 | SME Contribs | Futur | UNCONFIRMED | Copy rules from one user account to another |
10517 | SME Contribs | 9.2 | CONFIRMED | EmailForward and ForwardAddress properties are used in mailfilter rules but not in procmail |
8572 | SME Contribs | 8.1 | UNCONFIRMED | maildrop: delivery deferred |
4662 | SME Contribs | 7.3 | CONFIRMED | Special characters input in match criterion breaks mail sort rules |
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 yum remove postfix -y
#to avoid being locked out in case unlink /etc/e-smith/events/post-install/S10init-passwords /sbin/e-smith/signal-event post-install /sbin/e-smith/db accounts setprop admin PasswordSet yes /sbin/e-smith/config set PasswordSet yes rm /service/*/supervise/control -f # configure your server correctly /sbin/e-smith/console touch /forcequotacheck
set your admin password
passwd admin
/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
last time
find /var/service/ -type f -iname control -exec rm {} \;
and reboot
/sbin/e-smith/signal-event reboot
create a raid lvm aside
I had a couple of drive in an external eSATA dock. So first I removed one, put the new storage drive and create a degraded RAID1+ LVM
gdisk /dev/sde #then format as fd00 linux raid the whole drive mdadm --create /dev/md4 --level=raid1 --raid-devices=1 /dev/sde1 --force pvcreate /dev/md4 vgcreate nasdrive /dev/md4 lvcreate -L 1.1T -n video nasdrive lvcreate -L 500G -n music nasdrive lvcreate -L 2T -n backup nasdrive lvreduce -L 400G /dev/nasdrive/music lvresize -l +100%FREE /dev/nasdrive/video mkfs.ext4 /dev/nasdrive/backup -L backuppc mkfs.ext4 /dev/nasdrive/music -L music mkfs.ext4 /dev/nasdrive/video -L video
then copy files from needed drives
then umount the drives and put the second new drive in the dock, and :
then final step fill fstab to have it mounted on boot.
sources