<?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 website Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/social-network-website/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Fri, 30 Aug 2019 10:18:35 +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>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>
