Installing ionCube

ionCube produces leading tools for PHP source code protection to secure your PHP software from prying eyes and to combat software piracy. Featuring an advanced compiled-code encoding engine that translates source to highly efficient bytecodes, ionCube encoding tools deliver the ideal combination of maximum source code protection without sacrificing performance, reliability or language compatibility.

In order to view encoded ionCube files on your server you need the ionCube loader. This is a free plugin for Apache web server that only takes a few minutes to install and is well worth it.

Requirements: - Root Shell access to your server - phpinfo page: create a new document and call it phpinfo.php. Inside place phpinfo(); Place this document in your www directory so you can view it and see all your PHP settings.

Installing ionCube Loader:

1. Download the program and store it on your server using wget or FTP.

2. Unpack the program tar -zxvf ioncube_loaders.tar.gz

3. cd ioncube

4. copy ioncube-install-assistant.php to a web directory such as your hosting directory and open it in your browser window. cp ioncube-install-assistant.php /home/userdirectoryhere/www

Then open it The output should be something similar to:

Analysis of your system configuration shows:

PHP Version 4.3.3 Operating System Linux Threaded PHP No php.ini file /usr/local/lib/php.ini Required Loader

5. Now lets move the iconcube directory to a permanent location: cd .. mv ioncube /usr/local

6. Now that you know the location of php.ini you need to edit it. pico /usr/local/lib/php.ini

Now find where other zend extentions are in the file. ctrl + w: zend_extension

Paste in your new line for ioncube loader zend_extension = /usr/local/ioncube/

7. Save the changes ctrl + X then Y and enter

8. Restart the web server to take effect. /etc/init.d/httpd restart

How to access a Debian server with a mobile device using MidpSSH

Mobile access to your server is not only cool, it comes in handy in a lot of situations. With SSH access from your mobile phone, you can check your emails, logs, box status, irssi, torrents, execute updates, reboot and lots of other things, all on the go. In this short tutorial I will explain how to access and administer a Ubuntu (and any Debian based) server with a not so recent Mobile phone. For this to work, you will need a java supporting mobile device with GPRS enabled (Midp). You will have to install a .jar file of MidpSSH on the device (which you will have to download to your mobile) and install additional ncurses terminal definitions on the server.

1. Download and install MidpSSH

Depending on you download limit for your mobile internet account, you can choose a different approach to download the jar file. The easiest is to download it through wap, alternatively you can download it to your pc and upload it to your mobile using Bluetooth or usb.

**approach 1- Using wap:**

Take your java and GPRS enabled mobile and browse to

Select the latest Stable release (v1.6.0) and select your preferred version on the next page for the download and installation to start. Best place to install it is in the applications directory.

**approach 2 - download to your pc**

download full_build_v1.6.0_stable

and upload it to you mobile and install it in you application directory.

2. Configure MidpSSH - Create a session

Once the installation is finished, go to the applications directory on the mobile. Select Sessions, select more to create a new session. Fill in the required fields and select create.

3. Install additional ncurses definitions on the server

At this point you can already connect and do basic operations. But a lot of terminal applications use ncursus for the interface. If you want to use such an app, you will get the following error:

error unkown terminal type vt320

This is why an additional ncurses package is needed:

sudo apt-get install ncurses-term

To make it easy using MidpSSH, the developper also include the possibility to create macros or to use keyboard keys like crtl, alt, esc etc. This is among others what makes this a killer app in all its simplicity. Applications I found useable are top (htop), mutt, mc, , irssi, rtorrent, vi and nano. Although it's a little ridicules to use a text editor with a mobile.