{"id":18992,"date":"2016-04-25T03:17:36","date_gmt":"2016-04-25T08:17:36","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=18992"},"modified":"2022-06-03T03:43:38","modified_gmt":"2022-06-03T08:43:38","slug":"how-to-install-atutor-on-ubuntu-14-04","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-atutor-on-ubuntu-14-04\/","title":{"rendered":"How to Install ATutor on Ubuntu 14.04"},"content":{"rendered":"
ATutor<\/a> is a free open source web-based Learning Management System (LMS) used to develop and deliver online courses. It is used in various contexts, including online course management, continuing professional development for teachers, career development and academic research.<\/p>\n This software is cited as unique for its accessibility features, (useful to visually impaired and disabled learners) and for its suitability for educational use.<\/p>\n ATutor administrators can install or update ATutor in minutes, develop custom themes to give ATutor a new look and easily extend its functionality with feature modules. Educators can quickly assemble, package, and redistribute web-based instructional content, easily import prepackaged content and conduct their courses online giving students a chance to learn in an accessible, adaptive and social learning environment.<\/p>\n So in this article we will show you how to install ATutor on an Ubuntu 14.04 VPS<\/a><\/strong>.<\/p>\n We will be using our SSD 1 Linux VPS<\/a> hosting plan for this tutorial.<\/p>\n You can check whether you have the proper Ubuntu version installed on your server with the following command:<\/p>\n You should get this output:<\/p>\n Make sure your server is fully up to date using:<\/p>\n Once the system upgrade is completed, enter your MySQL service as root and create the much needed database for ATutor with the below queries:<\/p>\n When this tutorial was written, the latest ATutor version was 2.2.1 . We will download the installation in the \/opt directory, but feel free to use another one to match your needs.<\/p>\n With these three commands above , we entered \/opt, downloaded the latest version of ATutor and unpacked the archive.<\/p>\n Now move the installation to the \/var\/www\/html\/ directory:<\/p>\n Assign the proper ownership of files\/directories:<\/p>\n Now create a virtual host directive for the domain that will serve your ATutor installation. Open a file with your favorite text editor. We are using nano:<\/p>\n Paste these lines in the file:<\/p>\n Replace yourdomain.com with your actual domain, save and close the file.<\/p>\n Enable the config file:<\/p>\n Restart Apache for the changes to take effect:<\/p>\n Now, open your favorite web browser and navigate to the domain that you configured in your Apache config file.<\/p>\n You will be welcomed by the installation page of ATutor. Click on Install next to New Installation at the bottom of the page and accept the terms of use by clicking ‘I Agree’.<\/p>\n Enter the database credentials that you created previously. The next step is to configure your Super Administrator Account. Enter an administrator username, password and email. Then give your site a name, enter a contact email and fill in the details in the Personal Account field. Once that is done, click on Next.<\/p>\n You can now configure the path to the Content directory which is a directory where all your site courses files will be stored. We will leave the default path given by the installation (\/var\/www\/html\/atutor\/content). However, this directory does not exist on your server. Therefore, enter the following commands to create the directory and assign the proper ownership:<\/p>\n Decide whether you like to send your site URL to the ATutor server anonymously and click on Next to finish the installation.<\/p>\n You will get the following message:<\/p>\n Delete the install directory as the instructions say:<\/p>\n Also check if the config.inc.php file has only read permissions:<\/p>\n which should give you the following output:<\/p>\n If you get this, you are OK. However, if the file has other permissions beside read only, then execute this command:<\/p>\n Congratulations, you now have an active and working ATutor installation.<\/p>\n Of course you don\u2019t have to do any of this if you use one of our Linux VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to install ATutor<\/strong> for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n PS<\/strong>.<\/span> If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":" ATutor is a free open source web-based Learning Management System (LMS) used to develop and deliver online courses. It is … <\/p>\nREQUIREMENTS<\/h5>\n
LOG IN TO YOUR SERVER VIA SSH<\/h5>\n
# ssh root@server_ip<\/pre>\n
# lsb_release -a<\/pre>\n
Distributor ID: Ubuntu\r\nDescription: Ubuntu 14.04.4 LTS\r\nRelease: 14.04\r\nCodename: trusty<\/pre>\n
UPDATE THE SYSTEM<\/h5>\n
# apt-get update && apt-get upgrade<\/pre>\n
# mysql -u root -p\r\n\r\nmysql> create database atutor;\r\n\r\nmysql> grant all privileges on atutor.* to atutoruser@localhost identified by 'your_password';\r\n\r\nmysql> flush privileges;\r\n\r\nmysql> exit<\/pre>\n
INSTALL ATUTOR<\/h5>\n
# cd \/opt<\/pre>\n
# wget http:\/\/downloads.sourceforge.net\/project\/atutor\/ATutor%202\/ATutor-2.2.1.tar.gz?r=http%3A%2F%2Fwww.atutor.ca%2Fatutor%2Fdownload.php -O ATutor-2.2.1.tar.gz<\/pre>\n
# tar -zxvf ATutor-2.2.1.tar.gz<\/pre>\n
# mv ATutor\/ \/var\/www\/html\/atutor\/<\/pre>\n
# chown www-data: -R \/var\/www\/html\/atutor\/<\/pre>\n
# nano \/etc\/apache2\/sites-available\/atutor.conf<\/pre>\n
<VirtualHost *:80>\r\nServerAdmin webmaster@yourdomain.com\r\nDocumentRoot \"\/var\/www\/html\/atutor\/\"\r\nServerName yourdomain.com\r\nServerAlias www.yourdomain.com\r\nErrorLog \"\/var\/log\/apache2\/yourdomain.com-error_log\"\r\nCustomLog \"\/var\/log\/apache2\/yourdomain.com-access_log\" combined\r\n\r\n<Directory \"\/var\/www\/html\/atutor\/\">\r\nDirectoryIndex index.html index.php\r\nOptions FollowSymLinks\r\nAllowOverride All\r\nRequire all granted\r\n<\/Directory>\r\n<\/VirtualHost><\/pre>\n
# a2ensite atutor<\/pre>\n
# service apache2 reload<\/pre>\n
# mkdir \/var\/www\/html\/atutor\/content\r\n\r\n# chown www-data: -R \/var\/www\/html\/atutor\/content<\/pre>\n
Done!\r\nCongratulations on your installation of ATutor 2.2.1!\r\n\r\nYou may now login using your personal and administrator accounts you created in Step 3.\r\n\r\nFor security reasons once you have confirmed that ATutor has installed correctly, you should delete the install\/ directory, and reset the permissions on the config.inc.php file to read only.\r\n\r\nSee the Support Forums on atutor.ca for additional help & support.<\/pre>\n
# rm -rf \/var\/www\/html\/atutor\/install\/<\/pre>\n
# ls -la \/var\/www\/html\/atutor\/include\/config.inc.php<\/pre>\n
-r--r--r-- 1 www-data www-data 2841 Mar 30 14:36 \/var\/www\/html\/atutor\/include\/config.inc.php<\/pre>\n
# chmod 444 \/var\/www\/html\/atutor\/include\/config.inc.php<\/pre>\n
\n