virtual server<\/a>.<\/li><\/ul>\r\n\r\n\r\n\r\nLet’s start with the installation. Make sure your server OS packages are fully up-to-date:<\/p>\r\n\r\n\r\n\r\n
apt-get update \r\napt-get upgrade<\/pre>\r\n\r\n\r\n\r\nDownload the latest version of Elkarte available at https:\/\/github.com\/elkarte\/Elkarte\/releases\/ to the server and extract it using the following commands:<\/p>\r\n\r\n\r\n\r\n
cd \/opt\r\nwget -O elkarte.zip https:\/\/github.com\/elkarte\/Elkarte\/releases\/download\/v1.0.6\/ElkArte_v1-0-6_install.zip\r\nmkdir -p \/var\/www\/html\/elkarte\r\nunzip -o elkarte.zip -d \/var\/www\/html\/elkarte\/<\/pre>\r\n\r\n\r\n\r\nCreate a new MySQL database for Elkarte to use and assign a user to it with full permissions:<\/p>\r\n\r\n\r\n\r\n
mysql -u root -p\r\nmysql> CREATE DATABASE elkartedb;\r\nmysql> GRANT ALL PRIVILEGES ON elkartedb.* TO 'elkarteuser'@'localhost' IDENTIFIED BY 'your-password' WITH GRANT OPTION;\r\nmysql> FLUSH PRIVILEGES;\r\nmysql> quit<\/pre>\r\n\r\n\r\n\r\nDo not forget to replace ‘your-password’ with a strong password. Create a new virtual host directive in Apache. For example, create a new Apache configuration file named ‘elkarte.conf’ on your virtual server:<\/p>\r\n\r\n\r\n\r\n
touch \/etc\/apache2\/sites-available\/elkarte.conf<\/pre>\r\n\r\n\r\n\r\nThen, run the following command:<\/p>\r\n\r\n\r\n\r\n
ln -s \/etc\/apache2\/sites-available\/elkarte.conf \/etc\/apache2\/sites-enabled\/elkarte.conf<\/pre>\r\n\r\n\r\n\r\nOr, use the a2ensite to enable the ‘elkarte.conf’ configuration in Apache:<\/p>\r\n\r\n\r\n\r\n
sudo a2ensite elkarte.conf<\/pre>\r\n\r\n\r\n\r\nEdit the ‘elkarte.conf’ configuration file:<\/p>\r\n\r\n\r\n\r\n
vi \/etc\/apache2\/sites-available\/elkarte.conf<\/pre>\r\n\r\n\r\n\r\nand add the following lines to it:<\/p>\r\n\r\n\r\n\r\n
<VirtualHost *:80>\r\nServerAdmin admin@yourdomain.com\r\nDocumentRoot \/var\/www\/html\/elkarte\/\r\nServerName yourdomain.com\r\nServerAlias www.yourdomain.com\r\n<Directory \/var\/www\/html\/elkarte\/>\r\nOptions FollowSymLinks\r\nAllowOverride All\r\n<\/Directory>\r\nErrorLog \/var\/log\/apache2\/yourdomain.com-error_log\r\nCustomLog \/var\/log\/apache2\/yourdomain.com-access_log common\r\n<\/VirtualHost><\/pre>\r\n\r\n\r\n\r\nIn order to set memory_limit, max_execution_time, max_input_time, post_max_size and upload_max_filesize and disable safe mode and Register Globals in PHP, edit the php.ini configuration file and add\/modify the following lines:<\/p>\r\n\r\n\r\n\r\n
vi \/etc\/php5\/apache2\/php.ini<\/pre>\r\n\r\n\r\n\r\nregister_globals = Off\r\npost_max_size = 128M\r\nupload_max_filesize = 128M\r\nmemory_limit = 128M\r\nmax_execution_time = 300\r\nmax_input_time = 300\r\nsafe_mode = Off<\/pre>\r\n\r\n\r\n\r\nOptionally, add\/modify the following lines in php.ini:<\/p>\r\n\r\n\r\n\r\n
display_errors = Off\r\nhtml_errors = Off\r\ndisplay_startup_errors = Off\r\nlog_errors = On\r\ndefault_charset = \"UTF-8\"\t\r\nmbstring.func_overload = 0<\/pre>\r\n\r\n\r\n\r\nSet the proper file permissions for the Apache web server to write to the Elkarte document root (‘\/var\/www\/html\/elkarte’) directory:<\/p>\r\n\r\n\r\n\r\n
sudo chown -R www-data:www-data \/var\/www\/html\/elkarte\/<\/pre>\r\n\r\n\r\n\r\nEnable the Apache2 rewrite module if it is not already done so:<\/p>\r\n\r\n\r\n\r\n
sudo a2enmod rewrite<\/pre>\r\n\r\n\r\n\r\nRestart the Apache web server for the changes to take effect:<\/p>\r\n\r\n\r\n\r\n
service apache2 restart<\/pre>\r\n\r\n\r\n\r\nOpen your favorite web browser, navigate to http:\/\/yourdomain.com , start the installation process and follow the easy instructions: enter your MySQL username, password and database name, then create an administrator account. For security reason, it is recommended to delete the install.php file.<\/p>\r\n\r\n\r\n\r\n
Log in to the administration back-end of the Elkarte community forum at http:\/\/yourdomain.com\/index.php?action=login and configure it according to your needs, install add-ons etc.<\/p>\r\n\r\n\r\n\r\n <\/figure>\r\n\r\n\r\n\r\nThat is it. The Elkarte installation is now complete. Follow this guide on how to Install ELK stack on Ubuntu 20.04<\/a><\/p>\r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\nOf course you don’t have to do any of this if you use one of our Fully-Managed Ubuntu Hosting<\/a> services, in which case you can simply ask our expert Linux admins to install Elkarte forum <\/strong> for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\r\n\r\n\r\n\r\nPS<\/span>.<\/strong> 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>\r\n","protected":false},"excerpt":{"rendered":"In this tutorial, we will show you how to install Elkarte Community Forum on an Ubuntu 14.04 VPS with Apache, … <\/p>\n
Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":18605,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[1107,1105,1106],"yoast_head":"\nHow to install Elkarte Community Forum on Ubuntu 14.04 - RoseHosting<\/title>\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\t \n\t \n\t \n \n \n \n \n \n\t \n\t \n\t \n