<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>social network platform Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/social-network-platform/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Thu, 23 Jul 2020 02:35:33 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>Using Elgg to build a local social networking site</title>
		<link>https://www.osradar.com/using-elgg-to-build-a-local-social-networking-site/</link>
					<comments>https://www.osradar.com/using-elgg-to-build-a-local-social-networking-site/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Thu, 23 Jul 2020 02:35:30 +0000</pubDate>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[elgg]]></category>
		<category><![CDATA[social network]]></category>
		<category><![CDATA[social network platform]]></category>
		<category><![CDATA[socila network site]]></category>
		<category><![CDATA[xampp]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=21777</guid>

					<description><![CDATA[<p>Hello! Today we will continue to study the potential of a local web server. Indeed, perhaps you didn&#8217;t know that it is possible to manage your own social networking site on the local web server. For this purpose, we will use a tool called Elgg. This is a social networking platform based on PHP and [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/using-elgg-to-build-a-local-social-networking-site/">Using Elgg to build a local social networking site</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello! Today we will continue to study the potential of a local web server. Indeed, perhaps you didn&#8217;t know that it is possible to manage your own social networking site on the local web server. For this purpose, we will use a tool called <a aria-label="undefined (opens in a new tab)" href="https://elgg.org/" target="_blank" rel="noreferrer noopener">Elgg.</a> This is a social networking platform based on PHP and MySQL. It also allows you to organize communities of users who can create their own blogs. Similarly, these users can collaborate with each other or share news and files. Additionally, users use access controls and content can be cataloged using tags. Well, let&#8217;s see how using Elgg to build a local social networking site.</p>



<h2>Prerequsite</h2>



<p>Before proceeding with the download and installation of Elgg it is necessary to run a web server correctly. That is, with Apache, PHP, and MySQL. A very simple way to mount it on Windows 10 is by using <a href="https://www.osradar.com/how-to-install-xampp-on-windows-10/" target="_blank" aria-label="undefined (opens in a new tab)" rel="noreferrer noopener">Xampp.</a></p>



<h2>Downloading Elgg.</h2>



<p>This is an open-source platform that can be downloaded for free from this <a aria-label="undefined (opens in a new tab)" href="https://elgg.org/about/download" target="_blank" rel="noreferrer noopener">link.</a> Once you have downloaded the file, please unzip it in the Xammp web pages directory. Please see the screenshot below.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="787" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/elg-1024x787.png" alt="Unzip and copy the file to the directory above" class="wp-image-21778" srcset="https://www.osradar.com/wp-content/uploads/2020/07/elg-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2020/07/elg-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/elg-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/elg-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2020/07/elg-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2020/07/elg-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2020/07/elg.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Unzip and copy the file to the directory above</figcaption></figure>



<h2>Creating a new database for Elgg</h2>



<p>To be able to run our Elgg protection correctly it is imperative to create a new database. With this in mind, enter phpMyAdmin from the Xampp Dashboard. Please enter the following address in your web browser: <strong>http://localhost/phpmyadmin/</strong>. Once there, please create the database and assign it the name of your preference.</p>



<figure class="wp-block-gallery columns-2 is-cropped"><ul class="blocks-gallery-grid"><li class="blocks-gallery-item"><figure><img loading="lazy" width="1024" height="787" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/elg3-1-1024x787.png" alt="" data-id="21780" data-link="https://www.osradar.com/?attachment_id=21780" class="wp-image-21780" srcset="https://www.osradar.com/wp-content/uploads/2020/07/elg3-1-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2020/07/elg3-1-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/elg3-1-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/elg3-1-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2020/07/elg3-1-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2020/07/elg3-1-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2020/07/elg3-1.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure></li><li class="blocks-gallery-item"><figure><img loading="lazy" width="1024" height="787" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/elg4-1-1024x787.png" alt="" data-id="21782" data-full-url="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/elg4-1.png" data-link="https://www.osradar.com/?attachment_id=21782" class="wp-image-21782" srcset="https://www.osradar.com/wp-content/uploads/2020/07/elg4-1-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2020/07/elg4-1-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/elg4-1-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/elg4-1-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2020/07/elg4-1-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2020/07/elg4-1-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2020/07/elg4-1.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure></li></ul></figure>



<h2>Configuring and installing Elgg on your local web server</h2>



<p>After creating the database, it is time to start installing Eggl.  With this in mind, please paste the name of the installation folder, after the localhost in the web browser. For example:<strong>http://localhost/elgg-3.3.8</strong>. The installation wizard will be displayed immediately. Press Next to continue.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="787" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/elg5-1024x787.png" alt="welcome screen" class="wp-image-21784" srcset="https://www.osradar.com/wp-content/uploads/2020/07/elg5-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2020/07/elg5-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/elg5-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/elg5-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2020/07/elg5-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2020/07/elg5-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2020/07/elg5.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>welcome screen</figcaption></figure>



<p>On the next screen, the wizard will check the prerequisites for installation. If everything is in order, then you can continue the process by pressing Next.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="787" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/elg6-1024x787.png" alt="Requirements check" class="wp-image-21786" srcset="https://www.osradar.com/wp-content/uploads/2020/07/elg6-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2020/07/elg6-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/elg6-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/elg6-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2020/07/elg6-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2020/07/elg6-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2020/07/elg6.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Requirements check</figcaption></figure>



<p>On the next screen, it is time to configure some parameters. First, set the username and password. Since we are in a secure environment, use the root username, and leave the password field blank. Additionally, add the name of the previously created database.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="787" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/elg7-1024x787.png" alt="Check the parameters of the database." class="wp-image-21789" srcset="https://www.osradar.com/wp-content/uploads/2020/07/elg7-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2020/07/elg7-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/elg7-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/elg7-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2020/07/elg7-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2020/07/elg7-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2020/07/elg7.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Check the parameters of the database.</figcaption></figure>



<p>Scroll down and paste the address of the folder where you will save the projects.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="787" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/elg8-1024x787.png" alt="" class="wp-image-21790" srcset="https://www.osradar.com/wp-content/uploads/2020/07/elg8-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2020/07/elg8-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/elg8-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/elg8-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2020/07/elg8-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2020/07/elg8-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2020/07/elg8.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>After installing the database it is time to configure the site. With this intention, assign the name of the site and the type of access. Optionally you can enter an email address to communicate with the users.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="787" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/elg9-1024x787.png" alt="Configuring the site" class="wp-image-21791" srcset="https://www.osradar.com/wp-content/uploads/2020/07/elg9-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2020/07/elg9-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/elg9-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/elg9-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2020/07/elg9-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2020/07/elg9-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2020/07/elg9.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Configuring the site</figcaption></figure>



<p>We&#8217;re getting to the final part of the installation process. Now it&#8217;s time to create the site administrator account. To do this, assign the name that will display the account. Then set up the email account and password for the account.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="787" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/elg10-1024x787.png" alt="Creating the administrator account." class="wp-image-21793" srcset="https://www.osradar.com/wp-content/uploads/2020/07/elg10-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2020/07/elg10-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/elg10-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/elg10-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2020/07/elg10-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2020/07/elg10-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2020/07/elg10.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Creating the administrator account.</figcaption></figure>



<p>The process is finally complete. Please click on <strong>Go to the site</strong> to launch Elgg.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="787" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/elg11-1024x787.png" alt="" class="wp-image-21794" srcset="https://www.osradar.com/wp-content/uploads/2020/07/elg11-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2020/07/elg11-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/elg11-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/elg11-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2020/07/elg11-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2020/07/elg11-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2020/07/elg11.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>From now on you only have to start exploring the functions of this platform.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="786" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2020/07/elg12-1024x786.png" alt="Elgg successfully installed on local web server" class="wp-image-21795" srcset="https://www.osradar.com/wp-content/uploads/2020/07/elg12-1024x786.png 1024w, https://www.osradar.com/wp-content/uploads/2020/07/elg12-300x230.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/elg12-768x589.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/elg12-696x534.png 696w, https://www.osradar.com/wp-content/uploads/2020/07/elg12-1068x819.png 1068w, https://www.osradar.com/wp-content/uploads/2020/07/elg12-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2020/07/elg12.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Elgg successfully installed on local web server</figcaption></figure>



<h2>Conclusion</h2>



<p>In the final analysis, we&#8217;ve seen how using Elgg to build a local social networking site. This engine is very useful for setting up various social networking environments. For example, at the level of education or collaborative platforms. This engine is very useful for setting up various social networking environments. For example, at the level of education or collaborative platforms. Well, this is all for now. Before I say goodbye, I invite you to join our channel on <a href="https://t.me/osradar" target="_blank" aria-label="undefined (opens in a new tab)" rel="noreferrer noopener">Telegram.</a> Bye!</p>



<p></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/using-elgg-to-build-a-local-social-networking-site/">Using Elgg to build a local social networking site</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/using-elgg-to-build-a-local-social-networking-site/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install Elgg on RHEL and CENTOS 8 for Online Social Networking Site</title>
		<link>https://www.osradar.com/install-elgg-on-rhel-and-centos-8-for-online-social-networking-site/</link>
					<comments>https://www.osradar.com/install-elgg-on-rhel-and-centos-8-for-online-social-networking-site/#respond</comments>
		
		<dc:creator><![CDATA[Muhammad Nabeel]]></dc:creator>
		<pubDate>Mon, 26 Aug 2019 18:57:19 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Centos 8]]></category>
		<category><![CDATA[elgg]]></category>
		<category><![CDATA[RHEL 8]]></category>
		<category><![CDATA[social network]]></category>
		<category><![CDATA[social network platform]]></category>
		<category><![CDATA[social network website]]></category>
		<category><![CDATA[socila network site]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=13099</guid>

					<description><![CDATA[<p>In this post, you will learn how to install Elgg on RHEL and CentOS 8. Elgg is an open source social networking software that provides individuals and organizations with the components needed to create an online social environment. It offers blogging, microblogging, file sharing, networking, groups and a number of other features. It was also [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-elgg-on-rhel-and-centos-8-for-online-social-networking-site/">Install Elgg on RHEL and CENTOS 8 for Online Social Networking Site</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In this post, you will learn how to install Elgg on RHEL and CentOS 8. Elgg is an open source social networking software that provides individuals and organizations with the components needed to create an online social environment. It offers blogging, microblogging, file sharing, networking, groups and a number of other features. It was also the first platform to bring ideas from commercial social networking platforms to educational software.</p>
<h2>Step 1: Install LAMP Stack</h2>
<p>Elgg requires MySQL, PHP, and a web server. So we need to install LAMP stack before Elgg installation.</p>
<h5><strong>i: Install Apache webserver</strong></h5>
<pre>dnf install httpd -y</pre>
<p><img loading="lazy" class="alignnone wp-image-13103" src="https://www.osradar.com/wp-content/uploads/2019/08/1-1-300x180.png" alt="" width="675" height="405" srcset="https://www.osradar.com/wp-content/uploads/2019/08/1-1-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/08/1-1-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/08/1-1-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/08/1-1-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/08/1-1-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/08/1-1-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/08/1-1.png 1280w" sizes="(max-width: 675px) 100vw, 675px" /></p>
<p>Now start and enable apache service on boot.</p>
<pre>systemctl start httpd

systemctl enable httpd</pre>
<p><img loading="lazy" class="alignnone wp-image-13104" src="https://www.osradar.com/wp-content/uploads/2019/08/2-3-300x56.png" alt="" width="670" height="125" srcset="https://www.osradar.com/wp-content/uploads/2019/08/2-3-300x56.png 300w, https://www.osradar.com/wp-content/uploads/2019/08/2-3-768x143.png 768w, https://www.osradar.com/wp-content/uploads/2019/08/2-3-1024x190.png 1024w, https://www.osradar.com/wp-content/uploads/2019/08/2-3-696x129.png 696w, https://www.osradar.com/wp-content/uploads/2019/08/2-3-1068x199.png 1068w, https://www.osradar.com/wp-content/uploads/2019/08/2-3.png 1280w" sizes="(max-width: 670px) 100vw, 670px" /></p>
<p>Adding apache ports in the firewall.</p>
<pre>firewall-cmd --add-port={80/tcp,443/tcp} --permanent
firewall-cmd --reload</pre>
<p><img loading="lazy" class="alignnone wp-image-13105" src="https://www.osradar.com/wp-content/uploads/2019/08/3-1-300x51.png" alt="" width="671" height="114" srcset="https://www.osradar.com/wp-content/uploads/2019/08/3-1-300x51.png 300w, https://www.osradar.com/wp-content/uploads/2019/08/3-1-768x131.png 768w, https://www.osradar.com/wp-content/uploads/2019/08/3-1-1024x174.png 1024w, https://www.osradar.com/wp-content/uploads/2019/08/3-1-696x119.png 696w, https://www.osradar.com/wp-content/uploads/2019/08/3-1-1068x182.png 1068w, https://www.osradar.com/wp-content/uploads/2019/08/3-1.png 1280w" sizes="(max-width: 671px) 100vw, 671px" /></p>
<h5><strong>ii: Install PHP</strong></h5>
<pre>dnf install php php-common php-pecl-apcu php-json php-cli php-pear php-pdo php-mysqlnd php-pgsql php-gd php-mbstring php-xml -y</pre>
<p><img loading="lazy" class="alignnone wp-image-13106" src="https://www.osradar.com/wp-content/uploads/2019/08/4-2-300x180.png" alt="" width="667" height="400" srcset="https://www.osradar.com/wp-content/uploads/2019/08/4-2-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/08/4-2-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/08/4-2-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/08/4-2-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/08/4-2-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/08/4-2-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/08/4-2.png 1280w" sizes="(max-width: 667px) 100vw, 667px" /></p>
<h5><strong>iii: Install MYSQL</strong></h5>
<pre>dnf install mysql-server -y</pre>
<p><img loading="lazy" class="alignnone wp-image-13107" src="https://www.osradar.com/wp-content/uploads/2019/08/5-5-300x180.png" alt="" width="667" height="400" srcset="https://www.osradar.com/wp-content/uploads/2019/08/5-5-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/08/5-5-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/08/5-5-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/08/5-5-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/08/5-5-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/08/5-5-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/08/5-5.png 1280w" sizes="(max-width: 667px) 100vw, 667px" /></p>
<p><strong>Start and enable MYSQL service on boot.</strong></p>
<pre>systemctl start mysqld
systemctl enable mysqld</pre>
<p><img loading="lazy" class="alignnone wp-image-13108" src="https://www.osradar.com/wp-content/uploads/2019/08/6-5-300x51.png" alt="" width="665" height="113" srcset="https://www.osradar.com/wp-content/uploads/2019/08/6-5-300x51.png 300w, https://www.osradar.com/wp-content/uploads/2019/08/6-5-768x130.png 768w, https://www.osradar.com/wp-content/uploads/2019/08/6-5-1024x173.png 1024w, https://www.osradar.com/wp-content/uploads/2019/08/6-5-696x117.png 696w, https://www.osradar.com/wp-content/uploads/2019/08/6-5-1068x180.png 1068w, https://www.osradar.com/wp-content/uploads/2019/08/6-5.png 1280w" sizes="(max-width: 665px) 100vw, 665px" /></p>
<p>Complete MYSQL installation</p>
<pre>mysql_secure_installation</pre>
<pre>Set root password? [Y/n] Y 
New password: password
Re-enter new password: password
Remove anonymous users? [Y/n] Y 
Disallow root login remotely? [Y/n] Y
Remove test database and access to it? [Y/n] Y
Reload privilege tables now? [Y/n] Y</pre>
<p><img loading="lazy" class="alignnone wp-image-13109" src="https://www.osradar.com/wp-content/uploads/2019/08/7-5-300x180.png" alt="" width="662" height="397" srcset="https://www.osradar.com/wp-content/uploads/2019/08/7-5-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/08/7-5-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/08/7-5-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/08/7-5-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/08/7-5-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/08/7-5-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/08/7-5.png 1280w" sizes="(max-width: 662px) 100vw, 662px" /></p>
<h2>Step 2: Create a MySQL database for Elgg</h2>
<p>Log in to the MySQL console using below command and type your password when asked.</p>
<pre>mysql -u root -p</pre>
<p>now create a new database</p>
<pre>CREATE DATABASE elgg;</pre>
<p>Now create a new MySQL user and grant it privileges on the created database. You can replace username and password with the username and password of your own choice.</p>
<pre>CREATE USER 'database_user'@'localhost' IDENTIFIED BY 'user_password';
GRANT ALL PRIVILEGES ON database_name.* TO 'database_user'@'localhost';
FLUSH PRIVILEGES;</pre>
<p>Exit the MySQL console.</p>
<pre>exit</pre>
<p><img loading="lazy" class="alignnone wp-image-13110" src="https://www.osradar.com/wp-content/uploads/2019/08/9-4-300x180.png" alt="" width="665" height="399" srcset="https://www.osradar.com/wp-content/uploads/2019/08/9-4-300x180.png 300w, https://www.osradar.com/wp-content/uploads/2019/08/9-4-768x461.png 768w, https://www.osradar.com/wp-content/uploads/2019/08/9-4-1024x614.png 1024w, https://www.osradar.com/wp-content/uploads/2019/08/9-4-696x418.png 696w, https://www.osradar.com/wp-content/uploads/2019/08/9-4-1068x641.png 1068w, https://www.osradar.com/wp-content/uploads/2019/08/9-4-700x420.png 700w, https://www.osradar.com/wp-content/uploads/2019/08/9-4.png 1280w" sizes="(max-width: 665px) 100vw, 665px" /></p>
<h2>Step 3: Download and Install Elgg on CentOS 8 / RHEL 8</h2>
<p>Download Elgg using below commands</p>
<pre>cd /var/www/html
wget https://elgg.org/about/getelgg?forward=elgg-3.1.1.zip</pre>
<p><img loading="lazy" class="alignnone wp-image-13111" src="https://www.osradar.com/wp-content/uploads/2019/08/10-3-300x69.png" alt="" width="661" height="152" srcset="https://www.osradar.com/wp-content/uploads/2019/08/10-3-300x69.png 300w, https://www.osradar.com/wp-content/uploads/2019/08/10-3-768x178.png 768w, https://www.osradar.com/wp-content/uploads/2019/08/10-3-1024x237.png 1024w, https://www.osradar.com/wp-content/uploads/2019/08/10-3-696x161.png 696w, https://www.osradar.com/wp-content/uploads/2019/08/10-3-1068x247.png 1068w, https://www.osradar.com/wp-content/uploads/2019/08/10-3.png 1280w" sizes="(max-width: 661px) 100vw, 661px" /></p>
<p>Now Unzip the downloaded archive</p>
<pre>unzip getelgg?forward=elgg-3.1.1.zip
mv ./elgg-3.1.1/* .
rm -rf getelgg?forward=elgg-3.1.1.zip
rm -rf elgg-3.1.1</pre>
<p>Create a data directory for Elgg in /var/www/html directory</p>
<pre>mkdir -p /var/www/html/data</pre>
<p>Set the appropriate file permissions</p>
<pre>chown -R apache:apache /var/www/html/
chmod -R 755 /var/www/html/</pre>
<p><img loading="lazy" class="alignnone wp-image-13112" src="https://www.osradar.com/wp-content/uploads/2019/08/11-4-300x58.png" alt="" width="667" height="129" srcset="https://www.osradar.com/wp-content/uploads/2019/08/11-4-300x58.png 300w, https://www.osradar.com/wp-content/uploads/2019/08/11-4-768x149.png 768w, https://www.osradar.com/wp-content/uploads/2019/08/11-4-1024x199.png 1024w, https://www.osradar.com/wp-content/uploads/2019/08/11-4-696x135.png 696w, https://www.osradar.com/wp-content/uploads/2019/08/11-4-1068x208.png 1068w, https://www.osradar.com/wp-content/uploads/2019/08/11-4.png 1280w" sizes="(max-width: 667px) 100vw, 667px" /></p>
<h2>Step 4: Apache Configuration for Elgg</h2>
<p>Create an Apache virtual hosts configuration file.</p>
<pre>vi /etc/httpd/conf.d/vhost.conf</pre>
<p>and place below lines in that file.</p>
<pre>&lt;VirtualHost *:80&gt;
DocumentRoot /var/www/html/
&lt;Directory /var/www/html/&gt;
Options FollowSymlinks
AllowOverride All
Require all granted
&lt;/Directory&gt;
ErrorLog /var/log/httpd/elgg_error.log
CustomLog /var/log/httpd/elgg_access.log combined
&lt;/VirtualHost&gt;</pre>
<p>Save changes and exit.</p>
<p><img loading="lazy" class="alignnone wp-image-13113" src="https://www.osradar.com/wp-content/uploads/2019/08/12-1-300x82.png" alt="" width="662" height="181" srcset="https://www.osradar.com/wp-content/uploads/2019/08/12-1-300x82.png 300w, https://www.osradar.com/wp-content/uploads/2019/08/12-1-768x209.png 768w, https://www.osradar.com/wp-content/uploads/2019/08/12-1-1024x278.png 1024w, https://www.osradar.com/wp-content/uploads/2019/08/12-1-696x189.png 696w, https://www.osradar.com/wp-content/uploads/2019/08/12-1-1068x290.png 1068w, https://www.osradar.com/wp-content/uploads/2019/08/12-1.png 1280w" sizes="(max-width: 662px) 100vw, 662px" /></p>
<p>Restart Apache server.</p>
<pre>systemctl restart httpd.service</pre>
<h2>Step 5: Install Elgg on CentOS 8 / RHEL 8 (using the web interface)</h2>
<p>Finally, browse below URL to access</p>
<pre>http://YOUR-SERVER-IP/
OR
http://YOUR-DOMAIN-NAME</pre>
<p><img loading="lazy" class="alignnone wp-image-13114" src="https://www.osradar.com/wp-content/uploads/2019/08/13-1-300x164.png" alt="" width="622" height="340" srcset="https://www.osradar.com/wp-content/uploads/2019/08/13-1-300x164.png 300w, https://www.osradar.com/wp-content/uploads/2019/08/13-1-768x419.png 768w, https://www.osradar.com/wp-content/uploads/2019/08/13-1-696x380.png 696w, https://www.osradar.com/wp-content/uploads/2019/08/13-1-769x420.png 769w, https://www.osradar.com/wp-content/uploads/2019/08/13-1.png 943w" sizes="(max-width: 622px) 100vw, 622px" /></p>
<p>Click Next and enter the Database and its user details.</p>
<p><img loading="lazy" class="alignnone wp-image-13115" src="https://www.osradar.com/wp-content/uploads/2019/08/14-300x211.png" alt="" width="630" height="443" srcset="https://www.osradar.com/wp-content/uploads/2019/08/14-300x211.png 300w, https://www.osradar.com/wp-content/uploads/2019/08/14-768x539.png 768w, https://www.osradar.com/wp-content/uploads/2019/08/14-1024x719.png 1024w, https://www.osradar.com/wp-content/uploads/2019/08/14-100x70.png 100w, https://www.osradar.com/wp-content/uploads/2019/08/14-696x488.png 696w, https://www.osradar.com/wp-content/uploads/2019/08/14-1068x750.png 1068w, https://www.osradar.com/wp-content/uploads/2019/08/14-598x420.png 598w, https://www.osradar.com/wp-content/uploads/2019/08/14.png 1345w" sizes="(max-width: 630px) 100vw, 630px" /></p>
<p>Click Next and enter the required details.</p>
<p><img loading="lazy" class="alignnone wp-image-13117" src="https://www.osradar.com/wp-content/uploads/2019/08/15-300x148.png" alt="" width="632" height="312" srcset="https://www.osradar.com/wp-content/uploads/2019/08/15-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2019/08/15-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2019/08/15-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2019/08/15-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/08/15-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2019/08/15-1068x527.png 1068w, https://www.osradar.com/wp-content/uploads/2019/08/15-851x420.png 851w, https://www.osradar.com/wp-content/uploads/2019/08/15.png 1920w" sizes="(max-width: 632px) 100vw, 632px" /></p>
<p>Once again click Next button and create your Admin Account.</p>
<p><img loading="lazy" class="alignnone wp-image-13119" src="https://www.osradar.com/wp-content/uploads/2019/08/16-300x150.png" alt="" width="632" height="316" srcset="https://www.osradar.com/wp-content/uploads/2019/08/16-300x150.png 300w, https://www.osradar.com/wp-content/uploads/2019/08/16-768x384.png 768w, https://www.osradar.com/wp-content/uploads/2019/08/16-1024x511.png 1024w, https://www.osradar.com/wp-content/uploads/2019/08/16-696x348.png 696w, https://www.osradar.com/wp-content/uploads/2019/08/16-1068x533.png 1068w, https://www.osradar.com/wp-content/uploads/2019/08/16-841x420.png 841w, https://www.osradar.com/wp-content/uploads/2019/08/16.png 1894w" sizes="(max-width: 632px) 100vw, 632px" /></p>
<p>Finally, you will see below page, Click on &#8220;Go to Site&#8221; button and start your work.</p>
<p><img loading="lazy" class="alignnone wp-image-13120" src="https://www.osradar.com/wp-content/uploads/2019/08/17-300x128.png" alt="" width="628" height="268" srcset="https://www.osradar.com/wp-content/uploads/2019/08/17-300x128.png 300w, https://www.osradar.com/wp-content/uploads/2019/08/17-768x327.png 768w, https://www.osradar.com/wp-content/uploads/2019/08/17-696x296.png 696w, https://www.osradar.com/wp-content/uploads/2019/08/17-987x420.png 987w, https://www.osradar.com/wp-content/uploads/2019/08/17.png 1001w" sizes="(max-width: 628px) 100vw, 628px" /></p>
<p>So, that is it. Hope you like it.</p>
<p>Also, you can read <a href="https://www.osradar.com/create-nginx-server-block-centos-rhel-oracle-linux-8/" target="_blank" rel="noopener noreferrer">How to create an Nginx Server block on CentOS 8 / RHEL 8 / Oracle Linux 8?</a></p>
<p>Do not forget to share and join <a href="https://t.me/osradar">our Telegram Channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-elgg-on-rhel-and-centos-8-for-online-social-networking-site/">Install Elgg on RHEL and CENTOS 8 for Online Social Networking Site</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-elgg-on-rhel-and-centos-8-for-online-social-networking-site/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
