phpDocumentor powered by Webuzo

by webuzo
0 deployments · 0 still active · last rev. 2 years ago

phpDocumentor is the current standard auto-documentation tool for the php language.

Similar to Javadoc, and written in php, phpDocumentor can be used from the command line or a web interface to create professional documentation from php source code. phpDocumentor has support for linking between documentation, incorporating user level documents like tutorials and creation of highlighted source code with cross referencing to php general documentation.

Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc) or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.

You can get a Webuzo License here
http://www.webuzo.com/pricing

Path to Installation Logs : /root/webuzo-install.log

Instructions
On completion of the installation process, access http://your-ip:2004 to configure phpDocumentor and Softaculous Webuzo initially.

Contact : http://webuzo.com/contact

Compatible with: CentOS 5.6, CentOS 6.5, Ubuntu 12.04 LTS, Ubuntu 14.04 LTS
						#!/bin/bash
# <udf name="webuzo_license_key" label="Premium Webuzo License Key" example="WEBUZO-XXXXX-XXXXX-XXXXX"/>

###########################################################################################################
# Install phpDocumentor and Softaculous Webuzo
# Description -
# About Webuzo :
#   Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)
#   or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.
#
# About phpDocumentor :
#   phpDocumentor is the current standard auto-documentation tool for the php language.
#   Similar to Javadoc, and written in php, phpDocumentor can be used from the command line or a web 
#   interface to create professional documentation from php source code.
###########################################################################################################

# Install phpDocumentor Script using Webuzo
function install_webuzo_script(){
   
    # Install Webuzo
    install_webuzo
   
    wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1
    ip=$(cat ip.php)
   
    /usr/local/emps/bin/curl "http://$ip:2004/install.php?prepareinstall=270&license=$1"
   
}

# Install Webuzo Function
function install_webuzo(){
       
    # Fetch the Webuzo Installer
    wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1
   
    # Modify Permissions
    chmod 0755 install.sh >> /root/webuzo-install.log 2>&1
   
    # Execute
    ./install.sh >> /root/webuzo-install.log 2>&1
   
    # Clean Up
    rm -rf install.sh >> /root/webuzo-install.log 2>&1
   
}

#########################################################
#	Installing phpDocumentor and Softaculous Webuzo
#########################################################

install_webuzo_script $WEBUZO_LICENSE_KEY

# Check the return of the above command and display the result accordingly

echo " "
echo "-------------------------------------"
echo " Installation Completed "
echo "-------------------------------------"
echo "Congratulations, phpDocumentor has been successfully installed"
echo " "
echo "You can now configure phpDocumentor and Softaculous Webuzo at the following URL :"
echo "http://$ip:2004/"
echo " "
echo "Thank you for choosing Softaculous Webuzo !"
echo " "