Comments on The Perfect Server - OpenSUSE 13.1 x86_64 (Apache2, MySQL, PHP, Postfix, Dovecot and ISPConfig 3)
The Perfect Server - OpenSUSE 13.1 x86_64 (Apache2, Dovecot, ISPConfig 3) This is a detailed description about how to set up an OpenSUSE 13.1 64bit (x86_64) server that offers all services needed by ISPs and hosters: Apache web server (SSL-capable) with PHP, CGI and SSI support, Postfix mail server with SMTP-AUTH, TLS and virtual mail users, BIND DNS server, Pureftpd FTP server, MySQL server, Dovecot POP3/IMAP, Quota, Firewall, Mailman, etc. Since version 3.0.4, ISPConfig comes with full support for the nginx web server in addition to Apache; this tutorial covers the setup of a server that uses Apache, not nginx.
11 Comment(s)
Comments
You might want to check your ISO link its pointing to 12.2
Change:
zypper install http://download.opensuse.org/repositories/server:/php/openSUSE_13.1/x86_64/suphp-0.7.1-5.3.x86_64.rpm
to
zypper install http://download.opensuse.org/repositories/server:/php/openSUSE_13.1/x86_64/suphp-0.7.1-5.9.x86_64.rpm
Thank you so much for taking the time to create this tutorial! I am a beginner, and there is much here for me to explore and learn.
I used these instructions with OpenSUSE 13.2 with only minor and easy to determine changes (at least during the install I had no obvious errors).
I have problems with amavis, exact install procedure listed here, when i start amavis:
Mar 09 23:33:09 s1 systemd[1]: Starting Amavisd-new Virus Scanner interface...Mar 09 23:33:09 s1 echo[2144]: Starting virus-scanner (amavisd-new):Mar 09 23:33:10 s1 amavis[2148]: starting. /usr/sbin/amavisd at linux-jfp8.site amavisd-new-2.8.1 (20130628), Unicode aware, LC_CTYPE="en_US.UTF-8", LANG="POSIX"Mar 09 23:33:11 s1 amavis[2149]: (!)Net::Server: 2015/03/09-23:33:11 Can't connect to TCP port 10024 on ::1 [Cannot assign requested address]\n at line 68 in file /usr/lib/perl5/vendor_perl/5.18.1/Net/Server/Proto/TCP.pmMar 09 23:33:11 s1 systemd[1]: PID file /var/spool/amavis/amavisd.pid not readable (yet?) after start.Mar 09 23:33:11 s1 systemd[1]: amavis.service never wrote its PID file. Failing.Mar 09 23:33:11 s1 systemd[1]: Failed to start Amavisd-new Virus Scanner interface.Mar 09 23:33:11 s1 systemd[1]: Unit amavis.service entered failed state.
any ideeas?
ClamAV may not work properly unless /var/run/clamav/ has the same group / user assigned as the user listed for ClamAV. On my installation the user and group is listed as vscan. Chown the location to the right group and user it works correctly.
'dovecot21' not found in package names. Trying capabilities.No provider of 'dovecot21' found.'dovecot21-backend-mysql' not found in package names. Trying capabilities.No provider of 'dovecot21-backend-mysql' found.Resolving package dependencies...
Can someone tell me how do I fix this?
My system also didn'T find 'dovecot21' et.al. I replaced it with 'dovecot22' than I could install it. I will see if the server will run perfect....
Will these instructions work with 13.2?
Thanks
systemctl restart apache2.service Erro: http://imgur.com/a/dVffz
help
My fstab file is different:
UUID=e1b974ef-3e74-469e-9319-5414b4007a33 swap swap defaults 0 0UUID=b7d02e3f-cc88-4b9a-bc11-e3906b7c19a5 / btrfs default 0 0UUID=b7d02e3f-cc88-4b9a-bc11-e3906b7c19a5 /boot/grub2/i386-pc btrfs subvol=@/boot/grub2/i386-pc 0 0UUID=b7d02e3f-cc88-4b9a-bc11-e3906b7c19a5 /boot/grub2/x86_64-efi btrfs subvol=@/boot/grub2/x86_64-efi 0 0UUID=b7d02e3f-cc88-4b9a-bc11-e3906b7c19a5 /opt btrfs subvol=@/opt 0 0UUID=b7d02e3f-cc88-4b9a-bc11-e3906b7c19a5 /srv btrfs subvol=@/srv 0 0UUID=b7d02e3f-cc88-4b9a-bc11-e3906b7c19a5 /tmp btrfs subvol=@/tmp 0 0UUID=b7d02e3f-cc88-4b9a-bc11-e3906b7c19a5 /usr/local btrfs subvol=@/usr/local 0 0UUID=b7d02e3f-cc88-4b9a-bc11-e3906b7c19a5 /var/cache btrfs subvol=@/var/cache 0 0UUID=b7d02e3f-cc88-4b9a-bc11-e3906b7c19a5 /var/crash btrfs subvol=@/var/crash 0 0UUID=b7d02e3f-cc88-4b9a-bc11-e3906b7c19a5 /var/lib/libvirt/images btrfs subvol=@/var/lib/libvirt/images 0 0UUID=b7d02e3f-cc88-4b9a-bc11-e3906b7c19a5 /var/lib/machines btrfs subvol=@/var/lib/machines 0 0UUID=b7d02e3f-cc88-4b9a-bc11-e3906b7c19a5 /var/lib/mailman btrfs subvol=@/var/lib/mailman 0 0UUID=b7d02e3f-cc88-4b9a-bc11-e3906b7c19a5 /var/lib/mariadb btrfs subvol=@/var/lib/mariadb 0 0UUID=b7d02e3f-cc88-4b9a-bc11-e3906b7c19a5 /var/lib/mysql btrfs subvol=@/var/lib/mysql 0 0UUID=b7d02e3f-cc88-4b9a-bc11-e3906b7c19a5 /var/lib/named btrfs subvol=@/var/lib/named 0 0UUID=b7d02e3f-cc88-4b9a-bc11-e3906b7c19a5 /var/lib/pgsql btrfs subvol=@/var/lib/pgsql 0 0UUID=b7d02e3f-cc88-4b9a-bc11-e3906b7c19a5 /var/log btrfs subvol=@/var/log 0 0UUID=b7d02e3f-cc88-4b9a-bc11-e3906b7c19a5 /var/opt btrfs subvol=@/var/opt 0 0UUID=b7d02e3f-cc88-4b9a-bc11-e3906b7c19a5 /var/spool btrfs subvol=@/var/spool 0 0UUID=b7d02e3f-cc88-4b9a-bc11-e3906b7c19a5 /var/tmp btrfs subvol=@/var/tmp 0 0UUID=b7d02e3f-cc88-4b9a-bc11-e3906b7c19a5 /.snapshots btrfs subvol=@/.snapshots 0 0
I added usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 to UUID=b7d02e3f-cc88-4b9a-bc11-e3906b7c19a5 / btrfs default 0 0 and UUID=b7d02e3f-cc88-4b9a-bc11-e3906b7c19a5 /srv btrfs subvol=@/srv 0 0 .
I have tried different ways because in vim it was turning red so i got them normal this way :
UUID=b7d02e3f-cc88-4b9a-bc11-e3906b7c19a5 / btrfs usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv 1 1
UUID=b7d02e3f-cc88-4b9a-bc11-e3906b7c19a5 /srv btrfs usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv 1 2
It doesn't work,I get this:
quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option.
I'm using openSUSE Leap 42.3
I would really appreciate if can someone help me with this.
You use Btrfs as filesystem. Quota in Btrfs works differently than in other FS, so you can't use that with ISPConfig. Either use a different Filesystem type or skip the quota configuration. When you skip quota, then you can't limit the size of websites. Everything else wlll work.