Category Archives: Networking

Installing Zpanel 10.1.0 and Prerequisites on Windows Server 2008 R2

Follow this link for the Latest stable release (10.1.0) of Zpanel

Prior to installing ZPanel on a Microsoft Windows based machine you must first ensure you have installed all recent versions of the Microsoft Visual Studio Runtime, ZpanelCP.com has provided all the required runtime installers for both 32 bit machines and 64 bit machines (use the links to download from our site!)

Installers for Microsoft Windows

Pre-Installation Checklist

  1. You MUST have a CLEAN, FRESH install of Windows (any version XP and above)
  2.  You MUST have a domain name registered and pointing to your server computer IP
  3. ZPanel should be installed and setup on a SUB-DOMAIN of your main domain: During installation you will be asked to enter an FQDN. This is the sub-domain zpanel is to be installed on. Examples: zpanel.domain.com, cp.domain.com, panel.domain.com, etc.
  4. You MUST have opened and forwared the requireds ports in your modem or router, and on the server firewall. See the list of required ports here.

Windows server 2012 specifics

  • do a fresh install of windows.
  • if not set automatically (often in datacenter), set your static IP
  • do all windows updates (may need to be launched a few times!)
  • install .NET Framework 3.5 and redo updates
  • go to http://www.microsoft.com/en-us/download/details.aspx?id=5555, download and install
  • reboot windows and then install zpanel, as below:

Installing ZPanel 10.1.0 on Windows

It requires 3 steps :

  1. Install Microsoft Visual C++ Runtime libraries:
  1. Install the Application Stack (Apache, PHP, MySQL etc.) Installer for Microsoft® Windows™ -> Download link
  2. Run the ZPanel Installer (installs ZPanel on top of the Application Stack) -> Download link

Each step requires that the previous steps have been completed with success first.

ZPanel does not setup any firewall to leave you the choice to select which you want and because it is far different under Linux and Windows.

You have to open these ports to enable the default configuration of ZPanel to work:

20 & 21 : FTP
25 (TCP) : SMTP
53 (TCP & UDP) : DNS
80 (TCP & UDP) : HTTP
110 : POP3
143 : IMAP
Optional:
If you have already setup (or will setup soon) SSL, you have to open also: 443 : HTTPS

If you use Windows RDP you should open 3389.

Email forwarding in iRedMail having only Open-Source iRedAdmin Panel

ZPanel has a graphical admin interface which enables email administrators to easily setup email forwarding per user and per domain.  However, the open-source community version of iRedAdmin panel interface does not contain this same capability.  Only the iRedAdmin Pro version enables administrators to setup email forwarding.

iRedMail and ZPanel each utilize the Postfix email service.  Consequently, if both use a MySql database as their back-end to store user email configurations, then each of their MySql database table structures will be quite similar.  Certain fields of the database tables may be a bit dissimilar.

In order to manually configure an email address to forward all received email (and leave a copy of the email on the server) you must use PhpMyAdmin to edit email box records within the ‘goto’ field of the ‘alias’ table of the ‘vmail’ database.

Example — Before Editing the Record:

address field value — user@maildomain.com
goto field value — user@maildomain.com

Example — After Editing the Record to Provide Forwarding:

address field value — user@maildomain.com
goto field value — user@fwd-domain.com,user@maildomain.com

Notice that the email address where you will forward the email is inserted as the first address in the ‘goto’ field, followed by a comma, and followed by the original email box address.  This configuration keeps each received email in the original mailbox (user@maildomain.com) on the server and forwards a copy of it to the forwarding email address (user@fwd-domain.com).

Conect to Ubuntu via Windows Remote Desktop Protocol

Install xRDP on Ubuntu 12.04

Open a terminal window CTRL+ALT+T

sudo apt-get install xrdp (enter)
answer Y(es) when promted

After installing xRDP, make sure Ubuntu xRDP is listening on Tcp Port 3389. Somehow it proxies to 5210. Enter this at the terminal:

netstat -an | grep “LISTEN ” | grep “:3389”

Make sure that your router is port forwarding TCP port 3389 to the lan IP of your Ubuntu.

From Windows 7, click Start, Programs, Accessories, and select Remote Desktop Connection. Enter the router public IP or fully qualified Hostname.DomainName.com of your Ubuntu server. No username or password is necessary at this point. Click connect.

You should go past the windows warning to allow desktop connection.

At the Screen that says Login to xrdp, Make sure the module in the dropdown list is sesman-Xvnc. Enter your username or root, enter your password, and click OK.

You should connect.

If you only achieve a desktop background, without side or top Ubuntu desktop menu items, then you may need to install Ubuntu gnome session fallback or somehow make 2d the default for xRDP connections rather than Unity 3d.

So, if you have a problem connecting, run the commands below and restart Ubuntu, and try connecting again.

echo “gnome-session –session=ubuntu-2d” > ~/.xsession

Or install gnome session fallback.

sudo apt-get install gnome-session-fallback

Here are the links references that I must credit as the configuration resources for the instructions and content of this post:

http://www.liberiangeek.net/2012/05/connect-to-ubuntu-12-04-precise-pangolin-via-windows-remote-desktop/

http://askubuntu.com/questions/234856/unable-to-do-remote-desktop-using-xrdp

http://www.upubuntu.com/2012/01/how-to-open-specific-port-under-ubuntu.html