Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th April 2011, 10:29
pakogah pakogah is offline
Member
 
Join Date: Feb 2008
Posts: 56
Thanks: 13
Thanked 2 Times in 2 Posts
Default Using ISPConfig3 only for WebServer (how to disabling others services

I am installing ISPConfig3 inside internal network and only service sites with sub-domain. And there are other servers on the network which manage email and dns. So I would to use ISPConfig3 only for Web (Apache-PHP), mysql and FTP.

And I would like to disable other services like dovecot (pop3/imapd), postfix, amavis, clamav, freshclam, spamassassin, bind BUT I still want php script able send email using sendmail

Can you tell me the correct way to do it?
Or these steps below enough?

ps: I am following this tutorial:
http://howtoforge.com/perfect-server...64-ispconfig-3

Code:
chkconfig dovecot off
service dovecot stop
chkconfig postfix off
service postfix stop
chkconfig amavisd off
service amavisd stop
chkconfig clamav off
service clamav stop
mv /etc/cron.daily/freshclam /root
chkconfig spamassassin off
service spamassassin start
chkconfig bind off
service bind stop
chkconfig sendmail on
service sendmail start

Last edited by pakogah; 11th April 2011 at 10:38. Reason: forgot bind
Reply With Quote
The Following User Says Thank You to pakogah For This Useful Post:
zbuzanic (28th September 2011)
Sponsored Links
  #2  
Old 11th April 2011, 10:35
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,381
Thanks: 833
Thanked 5,482 Times in 4,316 Posts
Default

Run the installer in expert mode and enable only the webserver plus ispconfig interface.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 11th April 2011, 12:19
pakogah pakogah is offline
Member
 
Join Date: Feb 2008
Posts: 56
Thanks: 13
Thanked 2 Times in 2 Posts
Default

thanks for quick response Till,
but the server already installed on configured for one LIVE php web application.
I may not be able to uninstall-install again.

I will try expert install on next server installation.
Reply With Quote
  #4  
Old 12th April 2011, 12:21
abubin abubin is offline
Member
 
Join Date: Mar 2010
Posts: 81
Thanks: 0
Thanked 2 Times in 2 Posts
Default

i would also like to know how to turn those off on a server that is already running with those extra services installed.

Thanks.
Reply With Quote
  #5  
Old 12th April 2011, 13:18
pakogah pakogah is offline
Member
 
Join Date: Feb 2008
Posts: 56
Thanks: 13
Thanked 2 Times in 2 Posts
Default

hi Abubin,

these method is works, I just disabled and everything seems to normal.
I have to wait for 1 day or until end-user scream at me :P

Code:
chkconfig dovecot off
service dovecot stop
chkconfig postfix off
service postfix stop
chkconfig amavisd off
service amavisd stop
chkconfig clamd off
service clamd stop
mv /etc/cron.daily/freshclam /root
chkconfig spamassassin off
service spamassassin stop
chkconfig named off
service named stop
chkconfig fail2ban off
service fail2ban stop
chkconfig sendmail on
service sendmail start
and on ISPConfig3 panel
I go to System > server services > klik the server > and disable mail, dns, vserver > Save

after doing this now my ispconfig3 only server web with php, ftp,mysql and sendmail to send email from php script

below is the result of running daemon which opening connection
Code:
# netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
tcp        0      0 0.0.0.0:3306                0.0.0.0:*                   LISTEN      2465/mysqld
tcp        0      0 0.0.0.0:21                  0.0.0.0:*                   LISTEN      2549/pure-ftpd (SER
tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LISTEN      2510/sendmail: acce
tcp        0      0 :::80                       :::*                        LISTEN      2534/httpd
tcp        0      0 :::81                       :::*                        LISTEN      2534/httpd
tcp        0      0 :::8081                     :::*                        LISTEN      2534/httpd
tcp        0      0 :::21                       :::*                        LISTEN      2549/pure-ftpd (SER
tcp        0      0 :::22                       :::*                        LISTEN      2362/sshd
tcp        0      0 :::443                      :::*                        LISTEN      2534/httpd
Reply With Quote
  #6  
Old 28th September 2011, 15:35
zbuzanic zbuzanic is offline
Member
 
Join Date: Sep 2011
Location: Zagreb
Posts: 79
Thanks: 43
Thanked 21 Times in 13 Posts
 
Default

For Debian v6 to disable clamav and amavis you have to run:

chkconfig amavis off
service amavis stop

chkconfig clamav-daemon off
service clamav-daemon stop

chkconfig clamav-freshclam off
service clamav-freshclam stop
__________________
ISPConfig -> the best open source control panel

Last edited by zbuzanic; 14th October 2011 at 11:09.
Reply With Quote
Reply

Bookmarks

Tags
centos 5, disable, ispconfig3, service

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to bind all ISPconfig3 services to one IP josesoto Installation/Configuration 6 10th December 2010 15:43
Disabling some services jwlinux Installation/Configuration 1 7th December 2010 09:02
Email problem 'Cannot set my user or group id.' (using ISPConfig 3 + OpenSuSE 11.2) urosm Installation/Configuration 5 19th June 2010 22:41
amavis rejects all inbound emails aclhkaclhk Installation/Configuration 5 28th February 2010 04:24
ISPConfig3 Restart Services federico General 1 29th July 2009 19:18


All times are GMT +2. The time now is 02:39.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.