Installing Textpattern

Make sure you have enabled the web virtual server, otherwise you will not have access to Virtualmin's Install Scripts feature. You can enable the web virtual server from Virtualmin by doing the following:

  1. Sign in to Virtualmin (see Account logins and important URLs).
  2. Select a virtual server from the drop-down in the left-hand navigation (your main virtual server should be already selected when you first login to Virtualmin).
  3. Click Edit Virtual Server in the left-hand navigation.
  4. Click Enabled features
  5. Select Web virtual server enabled? and Enable PowerDNS domain?
  6. Click Save Virtual Server

You will need to create a MySQL database first before you can install Textpattern. Please see Creating a MySQL database

To install Textpattern on your account, do the following:

  1. Sign in to Virtualmin (see Account logins and important URLs).
  2. Select a domain from the drop-down in the left-hand navigation (your main domain should be already selected when you first login to Virtualmin). The domain you select here will be the one that you'll be adding Textpattern to.
  3. Click Install Scripts in the left-hand navigation. You should now see a list of available applications to install or a list of your already install applications.
  4. If you see a list of installed applications, click the Available Scripts tab.
  5. From the list of available scripts, select Textpattern and click Show Install Options
  6. For Sub-directory , select None if you wish Textpattern to be installed in the document root of your domain (i.e., http://yourdomain.com/). This will install Textpattern at the top level of your domain and the Textpattern control area will be available at http://yourdomain.com/textpattern/. With a subdomain (such as the default value textpattern), the Textpattern control area will be available at http://yourdomain.com/textpattern/textpattern/
  7. For the Database drop-down, select either an existing database from this drop-down or select the MySQL database name that contains new database, which will create a new MySQL database for your Textpattern installation.
  8. You can leave Database table prefix set to None: You would only need to set a database prefix if you intend to use the your MySQL database for more than one installation.
  9. For Admin user, enter a user name for your Textpattern installation
  10. For Admin password , enter a password for your Textpattern installation. Make sure you make a note of both your user name and password as you'll need them later on to access your Textpattern installation.
  11. For Admin email , you can leave the default email for your domain or enter a different address.
  12. Click Install Now You should now see a progress page and your installation should be complete. If you'd like to access your Textpattern installation, click the provided link.
  13. Click Return to list of scripts. You should now see a list of your installed applications, including your Textpattern installation. If you don't see your installed scripts, click Installed Scripts at the top of the page. From here you can upgrade or remove your scripts or access each application by clicking on the Install Path link .

Textpattern uses zlib library functions which must be manually activated in your php.ini file by removing the ”;” at the beginning of the line that says ”;extension=zlib.so”.

Instructions on editing php.ini (see PHP configuration).

And that's it, you've just installed Textpattern at Joyent!