So our Timesheet script can be easily installed on any such hosting servers. But if anyone wants to install it on their own computer running Linux OS (e.g Ubuntu) they have to setup LAMP i-e [Linux + Apache + MySQL + PHP]
It can be done easily by simply following below steps.
Install Apache by running below Commands.
sudo apt-get update
sudo apt-get install apache2
Install MySQL by running below command.
sudo apt-get install mysql-serverWhile installing MySQL server you need to give the password. Make note of this password which will be required while installing timesheet script.
Install PHP by running below command.
sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql
You can use the ServerName Directive in the file /etc/apache2/apache2.conf to specify your server IP Address or domain name so that it can be accessed from other computers as well.
You can use the phpmyadmin tool to access the MySQL databases easily through the web. You can install it by running below command.
sudo apt-get install phpmyadmin apache2-utilsYou have to speciy your MySQL server password while setting up the phpmyadmin.
After completing the installation, you have to include the phpmyadmin to the Apache configuration by including below line into /etc/apache2/apache2.conf
Include /etc/phpmyadmin/apache.conf
You can restart Apache by running below command.
sudo systemctl restart apache2
Once after completing the LAMP setup you can just run the install script of the Timesheet.
No comments:
Post a Comment