1 2 3 4 Previous Next 51 Replies Latest reply on Aug 31, 2008 1:10 AM by psylem Go to original post
      • 30. Re: ISPConfig Webhosting Appliance
        kingneutron Master

        Could you elaborate, please?  Step by step...

         

        I thought you were saying to reinstall the ispconfig package, and there is none.

         

        How do you "reinstall ispconfig"?

        • 31. Re: ISPConfig Webhosting Appliance
          SamTzu Novice

          Heres how I do it... (Your milage may vary - YMMV.)

          (You may mark this reply as a Helpful Answer

           

          Change root & admin passswords

          passwd root

          passwd admin

           

          Change server name & address

          vi /etc/hosts

          vi /etc/hostname

          vi /etc/network/interfaces

           

          reboot

           

          Login as admin with SSH client (I use Putty)

          su

           

          Change MySql password & access rights (replace with your servername and password)

          mysqladmin -h server1.example.com -u root password ispconfig

           

          Download ISPConfig and unzip it (You may have to change the version number!)

          wget http://mesh.dl.sourceforge.net/sourceforge/ispconfig/ISPConfig-2.2.12.tar.gz

          tar xvfz ISPConfig-2.2.12.tar.gz

           

          Rerun ISPConfig setup as root and remake certificates during setup NOTICE!!! Do not encrypt your keys or you will have to login to the server each time you reboot.

          su

          /home/admin/install_ispconfig/setup

           

          I also remade the Certs manually before this to avoid cert error messages (If you want to clone the VM's.)

          openssl genrsa -des3 -passout pass:ReplaceWithYourPassword -out /root/ispconfig/httpd/conf/ssl.key/server.key2 1024

          openssl req -new -passin pass:ReplaceWithYourPassword -passout pass:ReplaceWithYourPassword -key /root/ispconfig/httpd/conf/ssl.key/server.key2 -out /root/ispconfig/httpd/conf/ssl.csr/server.csr -days 999

          openssl req -x509 -passin pass:ReplaceWithYourPassword -passout pass:ReplaceWithYourPassword -key /root/ispconfig/httpd/conf/ssl.key/server.key2 -in /root/ispconfig/httpd/conf/ssl.csr/server.csr -out /root/ispconfig/httpd/conf/ssl.crt/server.crt -days 999

          openssl rsa -passin pass:ReplaceWithYourPassword -in /root/ispconfig/httpd/conf/ssl.key/server.key2 -out /root/ispconfig/httpd/conf/ssl.key/server.key

          chmod 400 /root/ispconfig/httpd/conf/ssl.key/server.key

           

          Login to ISPConfig as admin and change server settings.

          https://YourServerAddress:81

           

          Things that still need to be done.

          \- How to change monit & munin passwords and certificates?

           

          http://www.ispconfig.com/index.htm

          http://www.howtoforge.com/forums/forumdisplay.php?f=14

           

          Lots more info about ISPConfig on their forums.

           

           

          Sam

           

          Message was edited by:

                  SamTzu

           

          Message was edited by:

                  SamTzu

           

          Message was edited by:

                  SamTzu

           

          Message was edited by:

                  SamTzu

           

          Message was edited by:

                  SamTzu

           

          Message was edited by:

                  SamTzu

          • 32. Re: ISPConfig Webhosting Appliance
            greg256 Lurker

            Hi

             

            Can someone please seed this, looks great but i'm stuck at 90.4%, also i am unable to connect to the vmware tracker.

             

            Thanks

            Greg

             

            Message was edited by:

                    greg256

            • 33. Re: ISPConfig Webhosting Appliance
              SamTzu Novice

              Changing MySql credentials is easier to do from webmin.

               

              Also the Postfix config files need to be changed.

               

              Do this command in /etc and /etc/postfix dirs.

              You may also want to do it in /var/log dir.

               

              find ./ -type f -exec sed -i 's/example.com/yourdomain.com/' \{} \;

               

               

              Sam

              • 34. Re: ISPConfig Webhosting Appliance
                SamTzu Novice

                Here too...

                 

                /var/lib/named/etc/bind

                 

                Sam

                • 35. Re: ISPConfig Webhosting Appliance
                  dotcom Novice

                  If you are on a NAT translated address, Bit Torrent will be incredibly slow, and may never finish.

                   

                  To make bit torrent work well, the outside servers need to be able to initiate connections to you.  If you are on NAT, thay can't do that, so you may need a couple weeks to finish the download.

                   

                  To configure a natting router to speed up bit torrent, you need to map ports 6881-6889 to your local machine.  An example of how to do this:

                   

                  http://p2p.weblogsinc.com/2005/04/24/how-to-configure-your-router-to-allow-fast-bittorrent-downloads/

                   

                  Enter the above link (one line, no spaces, mind the wordwrap).

                   

                  Or you can google "making bit torrent go faster".

                   

                  Be mindful of the fact that you may want to undo this when you are finished, as it will increase the traffic coming from your machine as

                  you serve your file collection to the net.

                  • 36. Re: ISPConfig Webhosting Appliance
                    dotcom Novice

                    Somewhere in your helpful post, you should probably tell people to run kbdconfig to configure their keyboard.

                     

                    They should also run "apt-get update" and "apt-get dselect-upgrade".

                     

                    For some reason I'm having to run these several times,  this package is pretty old and full of security flaws that are all easy to fix.

                     

                    Someone should update it, and put a complete "hot to set up" guide in /etc/motd...

                     

                    Ok, on my third apt-get run, proftp is telling me it can't convert my config...  How does one get through major changes like this?  Is there a config guide somewhere that tells how to handle updates to packages that have been configured in a specific way in ISPConfig?

                    • 37. Re: ISPConfig Webhosting Appliance
                      dotcom Novice

                      I have built an Ubuntu 6.06 LTS appliance based on HowtoForge.com's "The Perfect Setup - Ubuntu 6.06 LTS Server" combined with the current ISPconfig.

                       

                      I don't have any howto documentation yet, I assume the documentation here might work...

                       

                      But if someone wants a more up to date appliance, drop me a line...  appliance at dot.com

                       

                      I built it as a 15gig filesystem.  I want to run these for customers, to isolate their php scripts so that one customer's security problem doesn't become all customer's security problem.  So it is intended to be small enough to fit 6 to 10 of them on a server, with some room for backups.

                       

                      I could build you a custom version if you prefer.   I can pre-build it with your IP addresses, or I can built it directly on your server (though this might take longer if your net connection is slow or far away).

                       

                      I've spent 15 years building custom unix servers for customers,  large and small.  Let me build one for you!  I can host it for you too...  I've got my own server room with redundant fiber connections built in a telephone company central office...

                       

                      George

                      • 38. Re: ISPConfig Webhosting Appliance
                        kingneutron Master

                        --You rock, man.

                         

                        --Can we get a DL link for the non-customized ver?  TIA

                         

                        // I've been using Megaupload.com for my appliances

                        • 39. Re: ISPConfig Webhosting Appliance
                          rhl2000 Enthusiast

                          Somewhere in your helpful post, you should probably

                          tell people to run kbdconfig to configure their

                          keyboard.

                           

                          Yep, that one threw me off for while, since the German kb layout is completely foreign to me....

                           

                          They should also run "apt-get update" and "apt-get

                          dselect-upgrade".

                           

                          For some reason I'm having to run these several

                          times,  this package is pretty old and full of

                          security flaws that are all easy to fix.

                           

                          Warning: this VM was built on Debian 3.1 (aka "sarge") over a year ago..  The /etc/apt/sources.list file is referencing "stable" and "testing", which at the time was the same as "sarge" and "etch".  But now that "etch" is the new "stable", this configuration of apt sources will cause "apt-get upgrade" or "apt-get dselect-upgrade" to want to replace many "sarge" packages with their "etch" counterparts.

                           

                          I edited /etc/apt/sources.list, replacing all occurences of "stable" with "sarge", as well as all occurences of "testing" with "etch" (and commenting out the references to "etc").  I then did one pass only of "apt-get update" and "apt-get dselect-upgrade", and all was stable and seemed operational, as far as I could tell from the console messages at boot-time.

                           

                          I also installed a 686 kernel (2.6.8-4-686) to override the 386 one, installed the VMware tools, added "clock=pit" at the end of the "kernel=" line in /boot/grub/menu.lst (a clock sync trick found in these forums), set  tools.syncTime = "TRUE" in the vmx file, and am now just poised for testing this updated appliance.

                           

                          Someone should update it, and put a complete "hot to

                          set up" guide in /etc/motd...

                           

                          True.  Well, at least /etc/motd gives us a clue about running "network_setup" to adapt the IP settings to our network...  But it should REALLY mention kbdconfig, as well as tzconfig, unless you have a German keyboard and live in Berlin's time zone.

                           

                           

                          Ok, on my third apt-get run, proftp is telling me it

                          can't convert my config...

                           

                          I bet that has to do with this "stable=sarge" -vs- "stable=etch" issue.  In fact, I got similar error messages, one from ProFTP and a couple more from other services, when I tried to "apt-get dist-upgrade" the appliance to "etch".  Lucky for me I had kept a backup of the appliance in its fully updated "sarge" mode...

                           

                          How does one get through

                          major changes like this?  Is there a config guide

                          somewhere that tells how to handle updates to

                          packages that have been configured in a specific way

                          in ISPConfig?

                           

                          I have not found anwers to these yet.  First I need to investigate my fully up to date sarge-based ISPConfig VM for its suitability to my needs and those of my clients.  Later I'll see about either upgrading it to "etc", or building one like yours, based on a recent Ubuntu server.  Or maybe you will let me try  yours...

                          • 40. Re: ISPConfig Webhosting Appliance
                            rhl2000 Enthusiast

                            I have built an Ubuntu 6.06 LTS appliance based on

                            HowtoForge.com's "The Perfect Setup - Ubuntu 6.06 LTS

                            Server" combined with the current ISPconfig.

                             

                            I don't have any howto documentation yet, I assume

                            the documentation here might work...

                             

                            But if someone wants a more up to date appliance,

                            drop me a line...  appliance at dot.com

                             

                            Your "Friends system" spam-deterrent mechanism blocked me.  Also, I get "message not found" when I follow the instructions I got in a challenge Email response.  So I left you a private message here...

                            • 41. Re: ISPConfig Webhosting Appliance
                              rhl2000 Enthusiast

                              Hmpf!  Here I am replying to myself...

                               

                              The ISPConfig appliance available here is not only based on an old version of Debian ("sarge" when it was the current "stable"), it runs a similarly old version of ISPCOnfig, 2.2.3 I think...

                               

                              After the round of updates I just documented, I downloaded the latest stable version of ISPConfig, 2.2.14, and installed it on top of itself (which various online sources indicate should do a proper upgrade while preserving all settings).

                               

                              Well.... it worked!  On a nearly-idle host machine (2.4 GHz P4 with 2G of RAM) running VMware Server 1.0.3 on Debian Sarge, it took nearly 3 HOURS for this thing to compile.  Il still needs complete testing, but a random sampling of admin menus revealed no issues ...

                              • 42. Re: ISPConfig Webhosting Appliance
                                rhl2000 Enthusiast

                                (More replying to myself... (is that an echo I hear? 

                                 

                                Drats!  The upgrade to ISPConfig 2.2.14 results in the following differences/issues:

                                 

                                At startup, on the console:

                                ...

                                Starting ProFTPD ftp daemon:  - setting default address to 127.0.0.1

                                proftpd

                                ...

                                Starting web server: Apache2apache2: Could not determine the server's

                                   fully qualified domain name, using 127.0.0.1 for ServerName

                                ...

                                Starting ISPConfig system...

                                \[time stamp] \[alert] ispconfig_httpd: Could not determine the server's

                                fully qualified domain name, using 127.0.0.1 for ServerName

                                 

                                Editing /etc/hosts, /etc/hostname and /etc/mailname to use the new server and domain names I had previously given to ISPConfig (instead of server1.example.com) solved most of them.  Still chasing the ProFTPD one though...

                                 

                                (Later: think I found it; in /etc/proftpd_ispconfig.conf, the IP address is an old one, from before I cloned the ISPConfig VM and gave a different IP address to the copy.  I suspect I should have read the ISPConfig manual before embarking on an ambitious upgrading / VM cloning project...).

                                 

                                I'll be quiet now.  Anyone have ANY feedback on this or my previous messages in this thread???

                                • 43. Re: ISPConfig Webhosting Appliance
                                  kingneutron Master

                                  --Errr...  Good job?

                                   

                                  Can we get a DL link ??

                                  • 44. Re: ISPConfig Webhosting Appliance
                                    rhl2000 Enthusiast

                                    Quoting myself... :

                                    >> I'll be quiet now.  Anyone have ANY feedback on this

                                    >> or my previous messages in this thread???

                                     

                                    Now quoting kingneutron:

                                     

                                    --Errr...  Good job?

                                     

                                    ... 

                                     

                                    Can we get a DL link ??

                                     

                                    Well, I was also hoping for some feedback from "dotcom", as well as maybe a download link to his Ubuntu-based version.  But you're right, I should share MY efforts as well.  Except....

                                     

                                    I'm afraid the current end result of my experimentation is much too weird and untested for immediately sharing it widely.  Also, I think I made several bad (or at least "non-optimal") choices in the process of adopting, then upgrading the VM as found in the Virtual Appliance Marketplace.  First, I immediately changed network settings to match my network segment base address and router, and I have been wondering ever since if some of my upgrading troubles were partly caused by side effects of this change.  Second, I changed the root password to the one I use on some machines of mine, and the domain name to one of mine.  In fact, I did not keep an exhaustive list of all the customizing I did to this thing...  Bad boy, bad bad...!

                                     

                                    For security reasons, as well as for clarity, I should "sanitize" this VM before I shared it publicly, and I am unsure I would do a complete job of it.  Also, I should test the hell out of it before I share it, and I have not yet done so (just starting now...).  Thus, for now, I was doing the next best thing by sharing the PROCESS I am going through.

                                     

                                    What I may quite possibly do in a few days is to redo this process "from scratch" (i.e. starting from the VMTN download again), but this time keep the IP settings (I may rig a secondary router to support 192.168.1.x), keep the 386 kernel (at least until the very end), postpone installation of VMware tools (as they have to match the kernel), and document and TEST the result properly.

                                     

                                    If that yields a clean and promising result, I will gladly share the zipped file.  BTW, I have noted your mention of magaupload.com in this thread, but as far as I can tell from a first glance, one needs a Premium account to share with multiple recipients ($$?).  I am sure we can find a better place for publicly sharing such a VM.  Maybe a re-upload on the VMTN network, though I am somewhat uncomfortable with riding someone else's coattails by re-posting under my name something which originated with them.  Ideally, I would like to received feedback (a "blessing"?) from "tadorna", who is the original packager and uploader, according to the appliance directory page... (YooHoo!  tadorna, are you following this thread???)

                                     

                                    In the meantime, I have been sharing my observations here, so anyone with the time, inclination and skills to duplicate (and quite likely improve) the process can do it for themselves if they are in a hurry.  I will keep monitoring this thread for other feedback as well.

                                     

                                    _ renald _

                                      \_____/