<?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>Linux server Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/linux-server/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Tue, 04 May 2021 11:37:29 +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>How to install Moodle with Ubuntu 20.04 LTS.</title>
		<link>https://www.osradar.com/how-to-install-moodle-with-ubuntu-20-04-lts/</link>
					<comments>https://www.osradar.com/how-to-install-moodle-with-ubuntu-20-04-lts/#respond</comments>
		
		<dc:creator><![CDATA[rajneesh]]></dc:creator>
		<pubDate>Tue, 04 May 2021 11:37:26 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Education]]></category>
		<category><![CDATA[Linux server]]></category>
		<category><![CDATA[moodle]]></category>
		<category><![CDATA[Ubuntu 20.04 tutorials]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=29206</guid>

					<description><![CDATA[<p>The COVID pandemic situation is worldwide, educators are facing a challenge to provide online education. Though there are lots of TMS (Teaching management Systems) available in the market, either they are costly or complicated to deploy and manage. Moodle is here to get rid of all of the challenges. How to install Moodle with Ubuntu [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-moodle-with-ubuntu-20-04-lts/">How to install Moodle with Ubuntu 20.04 LTS.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>The COVID pandemic situation is worldwide, educators are facing a challenge to provide online education. Though there are lots of TMS (Teaching management Systems) available in the market, either they are costly or complicated to deploy and manage. Moodle is here to get rid of all of the challenges. How to install <a href="http://moodle.org">Moodle</a> with Ubuntu 20.04 LTS.</p>



<h3><strong>Features:</strong></h3>



<ul><li><strong>Interactive GUI</strong></li></ul>



<p>The interface is very attractive, responsive, and easy to use for both mobile and desktop users.</p>



<ul><li><strong>Personalized Dashboard.</strong></li></ul>



<p>Here, you can navigate, current, and old curriculums.</p>



<ul><li><strong>Progress reports.</strong></li></ul>



<p>You can keep track of the curriculum, based on the course and student level.</p>



<ul><li><strong>File management.</strong></li></ul>



<p>A very convenient interface connected with Onedrive,&nbsp; Dropbox, or any other famous cloud storage service.</p>



<ul><li><strong>Calendar and Notifications</strong></li></ul>



<p>A teacher can keep track of course deadlines, scheduled programs. &nbsp;Forum and personalized messages can be shared.</p>



<h3><strong>Installation:</strong></h3>



<p>Here, we will see how to set moodle with Ubuntu 20.04.</p>



<p>Update OS</p>



<pre class="wp-block-preformatted">$ sudo apt-get update</pre>



<p>Install PHP/MySql/PHP</p>



<p>Here, we would require PHP7, add the repo.</p>



<pre class="wp-block-preformatted">$ &nbsp;sudo add-apt-repository ppa:ondrej/php</pre>



<p>Update System</p>



<pre class="wp-block-preformatted">$ sudo apt-get update</pre>



<p>Get required packages.</p>



<pre class="wp-block-preformatted">&nbsp;&nbsp;$ apt install apache2 mysql-client mysql-server php libapache2-mod-php</pre>



<p>Setup root password</p>



<pre class="wp-block-preformatted">$ sudo mysql_secure_installation</pre>



<p>Install other required tools.</p>



<pre class="wp-block-preformatted">$ sudo apt install graphviz aspell ghostscript clamav php7.4-pspell php7.4-curl php7.4-gd php7.4-intl php7.4-mysql php7.4-xml php7.4-xmlrpc php7.4-ldap php7.4-zip php7.4-soap php7.4-mbstring</pre>



<p>Install git</p>



<pre class="wp-block-preformatted">$ sudo apt-get install git</pre>



<p>Download Moodle package, change to /opt directory.</p>



<pre class="wp-block-preformatted">$ sudo git clone git://git.moodle.org/moodle.git</pre>



<p>Move local repo to /var/www/html </p>



<p>Create new directory &#8216;moodledata&#8217; in /var/</p>



<pre class="wp-block-preformatted">$ sudo mv /opt/moodle /var/www/html/moodle</pre>



<pre class="wp-block-preformatted">$ sudo mkdir /var/moodledata </pre>



<p>Define required set of permissions.</p>



<pre class="wp-block-preformatted">$ sudo chown -R www-data /var/moodledata/
$ sudo chmod -R 755 /var/moodledata/
$ sudo chown www-data /var/moodledata
$ chmod -R 775 /var/www/html/moodledata</pre>



<p>Moodle database user for MySQL required.</p>



<pre class="wp-block-preformatted">CREATE DATABASE moodle;</pre>



<pre class="wp-block-preformatted">create user 'moodleuser'@'localhost' IDENTIFIED BY 'P@ssw0rd';</pre>



<pre class="wp-block-preformatted">GRANT ALL ON moodle.* TO 'moodleuser'@'localhost';</pre>



<p>Once all of the settings are done,  restart apache service.</p>



<p>Open browser and type IP_Addr/moodle. In my scenario IP address is <strong>172.16.16.81</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="481" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/05/Moodle-install-step-1-1024x481.png" alt="" class="wp-image-29868" srcset="https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-1-1024x481.png 1024w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-1-300x141.png 300w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-1-768x361.png 768w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-1-1536x721.png 1536w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-1-696x327.png 696w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-1-1068x501.png 1068w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-1.png 1751w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Click next, change directory to <strong>/var/moodledata</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="625" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/05/Moodle-install-step-2-1024x625.png" alt="" class="wp-image-29869" srcset="https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-2-1024x625.png 1024w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-2-300x183.png 300w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-2-768x469.png 768w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-2-1536x937.png 1536w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-2-696x425.png 696w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-2-1068x652.png 1068w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-2.png 1629w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Choose default Database type, provide credentials.  </p>



<p><strong>Database name:</strong> localhost </p>



<p><strong>Database user: </strong>moodleuser </p>



<p><strong>Database Password:</strong> P@ssw0rd</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="579" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/05/Moodle-install-step-5-1024x579.png" alt="" class="wp-image-29871" srcset="https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-5-1024x579.png 1024w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-5-300x170.png 300w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-5-768x434.png 768w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-5-1536x868.png 1536w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-5-696x393.png 696w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-5-1068x604.png 1068w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-5.png 1681w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Copy all content to /var/www/html/moodle/config.php, you require to create that file. </p>



<pre class="wp-block-preformatted">$ vim /var/www/html/moodle/config.php</pre>



<pre class="wp-block-preformatted">&lt;?php  // Moodle configuration file
 unset($CFG);
 global $CFG;
 $CFG = new stdClass();
 $CFG->dbtype    = 'mysqli';
 $CFG->dblibrary = 'native';
 $CFG->dbhost    = 'localhost';
 $CFG->dbname    = 'moodle';
 $CFG->dbuser    = 'moodleuser';
 $CFG->dbpass    = 'P@ssw0rd';
 $CFG->prefix    = 'mdl_';
 $CFG->dboptions = array (
   'dbpersist' => 0,
   'dbport' => '',
   'dbsocket' => '',
   'dbcollation' => 'utf8mb4_0900_ai_ci',
 );
 $CFG->wwwroot   = 'http://172.16.16.81/moodle';
 $CFG->dataroot  = '/var/moodledata';
 $CFG->admin     = 'admin';
 $CFG->directorypermissions = 0777;
 require_once(<strong>DIR</strong> . '/lib/setup.php');
 // There is no php closing tag in this file,
 // it is intentional because it prevents trailing whitespace problems!
 ~</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="579" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/05/Moodle-install-6-1024x579.png" alt="" class="wp-image-29874" srcset="https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-6-1024x579.png 1024w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-6-300x170.png 300w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-6-768x434.png 768w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-6-1536x869.png 1536w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-6-696x394.png 696w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-6-1068x604.png 1068w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-6.png 1703w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Accept conditions and move next.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="530" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/05/Moodle-install-Step-7-1024x530.png" alt="" class="wp-image-29875" srcset="https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-Step-7-1024x530.png 1024w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-Step-7-300x155.png 300w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-Step-7-768x397.png 768w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-Step-7-696x360.png 696w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-Step-7-1068x553.png 1068w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-Step-7.png 1482w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Here, Moodle will go through, whether all required application are installed proper or not. </p>



<p> </p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="593" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/05/Moodle-install-step-8-1024x593.png" alt="" class="wp-image-29876" srcset="https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-8-1024x593.png 1024w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-8-300x174.png 300w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-8-768x445.png 768w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-8-1536x890.png 1536w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-8-696x403.png 696w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-8-1068x619.png 1068w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-8.png 1703w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Get installation steps complete. </p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="608" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/05/Moodle-install-step-9-1024x608.png" alt="" class="wp-image-29877" srcset="https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-9-1024x608.png 1024w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-9-300x178.png 300w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-9-768x456.png 768w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-9-1536x913.png 1536w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-9-696x413.png 696w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-9-1068x634.png 1068w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-9.png 1621w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Assign credentials to admin, assign email id.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="640" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/05/Moodle-install-step-11-1024x640.png" alt="" class="wp-image-29878" srcset="https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-11-1024x640.png 1024w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-11-300x188.png 300w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-11-768x480.png 768w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-11-1536x960.png 1536w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-11-696x435.png 696w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-11-1068x668.png 1068w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-11.png 1547w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Move to next screen. </p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="611" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/05/Moodle-install-step-12-1024x611.png" alt="" class="wp-image-29879" srcset="https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-12-1024x611.png 1024w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-12-300x179.png 300w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-12-768x458.png 768w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-12-696x415.png 696w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-12-1068x637.png 1068w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-12.png 1486w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Save all changes and move next.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="652" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/05/Moodle-install-step-13-1024x652.png" alt="" class="wp-image-29880" srcset="https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-13-1024x652.png 1024w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-13-300x191.png 300w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-13-768x489.png 768w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-13-696x443.png 696w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-13-1068x680.png 1068w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-13.png 1265w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Save changes and finish setup, congratulations!! you have working Moodle EMS system ready to use. </p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="530" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/05/Moodle-install-step-14-1024x530.png" alt="" class="wp-image-29881" srcset="https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-14-1024x530.png 1024w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-14-300x155.png 300w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-14-768x397.png 768w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-14-1536x795.png 1536w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-14-696x360.png 696w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-14-1068x553.png 1068w, https://www.osradar.com/wp-content/uploads/2021/05/Moodle-install-step-14.png 1878w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h3>Conclusion</h3>



<p>Here, the config.php file may not be available as default. Make sure to create and save that file. Sometimes web server may show errors, restart server and apache service to get rid of this.</p>



<p> </p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-moodle-with-ubuntu-20-04-lts/">How to install Moodle with Ubuntu 20.04 LTS.</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/how-to-install-moodle-with-ubuntu-20-04-lts/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Sentora on CentOS 7</title>
		<link>https://www.osradar.com/how-to-install-sentora-on-centos-7/</link>
					<comments>https://www.osradar.com/how-to-install-sentora-on-centos-7/#respond</comments>
		
		<dc:creator><![CDATA[Muhammad Nabeel]]></dc:creator>
		<pubDate>Mon, 28 Jan 2019 12:52:16 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[hosting manager]]></category>
		<category><![CDATA[Linux server]]></category>
		<category><![CDATA[sentora]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[web hosting]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=9805</guid>

					<description><![CDATA[<p>Sentora is a free and open source web hosting control panel developed for Linux, UNIX and BSD based servers. The Sentora software can turn a domestic or commercial server into a fully managed, easy to use and manage web hosting server. It is licensed under the GPLv3 and is a separately maintained by the ZPanel [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-sentora-on-centos-7/">How to install Sentora on CentOS 7</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Sentora is a free and open source web hosting control panel developed for Linux, UNIX and BSD based servers. The Sentora software can turn a domestic or commercial server into a fully managed, easy to use and manage web hosting server. It is licensed under the GPLv3 and is a separately maintained by the ZPanel project. In this guide you will learn that how to install Sentora CP on Centos 7.</p>



<p><strong>Requirements:</strong></p>



<ul>
<li>Fresh minimal installation of Centos 7 without any configuration changes.</li>
<li>A static IP address</li>
</ul>



<h2>Step 1. Configure Hostname</h2>



<p>Note: hostname must be differnet from your main domain.(for example, if example.com is a domain on your server, use hostname.example.com as your fully qualified hostname).</p>



<p>You can use the following command for hostname setup eg. osradar.localhost.localdomain</p>



<pre class="wp-block-preformatted"># hostnamectl set-hostname osradar.localhost.localdomain</pre>



<pre class="wp-block-preformatted"># hostnamectl</pre>



<p>&nbsp;</p>



<figure class="wp-block-image"><img loading="lazy" width="810" height="297" class="wp-image-9809" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/01/1-10.jpg" alt="" srcset="https://www.osradar.com/wp-content/uploads/2019/01/1-10.jpg 810w, https://www.osradar.com/wp-content/uploads/2019/01/1-10-300x110.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/01/1-10-768x282.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/01/1-10-696x255.jpg 696w" sizes="(max-width: 810px) 100vw, 810px" /></figure>



<h2>Step 2. Setup Firewall</h2>



<p>You must open following ports used by Sentora configurations in firewall so all services will run without any issue.</p>



<p>20 &amp; 21 : FTP<br />22 SSH<br />25 (TCP) : SMTP<br />53 (TCP &amp; UDP) : DNS<br />80 (TCP &amp; UDP) : HTTP<br />110 : POP3<br />143 : IMAP<br />443 : HTTPS<br />3306: MySQL</p>



<p>Use below command to add ports in firewall and reload it to apply new changes.</p>



<pre class="wp-block-preformatted"># firewall-cmd --zone=public --permanent --add-port={20/tcp,21/tcp,22/tcp,25/tcp,53/tcp,80/tcp,110/tcp,143/tcp,443/tcp,3306/tcp}</pre>



<pre class="wp-block-preformatted"># firewall-cmd --reload</pre>



<p>&nbsp;</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="112" class="wp-image-9810" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/01/2-9-1024x112.jpg" alt="" srcset="https://www.osradar.com/wp-content/uploads/2019/01/2-9-1024x112.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/01/2-9-300x33.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/01/2-9-768x84.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/01/2-9-696x76.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/01/2-9-1068x117.jpg 1068w, https://www.osradar.com/wp-content/uploads/2019/01/2-9.jpg 1331w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h2>Step 3. Installing Sentora</h2>



<p>First install wget package using below command</p>



<pre class="wp-block-preformatted"># yum install wget -y</pre>



<p>Now download installer and make it executable using below commands</p>



<pre class="wp-block-preformatted"># cd</pre>



<pre class="wp-block-preformatted"># wget http://sentora.org/install</pre>



<pre class="wp-block-preformatted"># chmod +x install</pre>



<p>&nbsp;</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="387" class="wp-image-9811" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/01/3-9-1024x387.jpg" alt="" srcset="https://www.osradar.com/wp-content/uploads/2019/01/3-9-1024x387.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/01/3-9-300x113.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/01/3-9-768x290.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/01/3-9-696x263.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/01/3-9-1068x404.jpg 1068w, https://www.osradar.com/wp-content/uploads/2019/01/3-9-1111x420.jpg 1111w, https://www.osradar.com/wp-content/uploads/2019/01/3-9.jpg 1132w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Start Sentora installation using below command</p>



<pre class="wp-block-preformatted"># ./install</pre>



<p>During the installation process you will be asked to choose your geographical area and the time zone. So choose you location, set your time zone and press &#8220;Enter&#8221; to continue. In my case I will use Asia.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="661" class="wp-image-9812" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/01/4-6-1024x661.jpg" alt="" srcset="https://www.osradar.com/wp-content/uploads/2019/01/4-6-1024x661.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/01/4-6-300x194.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/01/4-6-768x496.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/01/4-6-696x449.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/01/4-6-1068x689.jpg 1068w, https://www.osradar.com/wp-content/uploads/2019/01/4-6-651x420.jpg 651w, https://www.osradar.com/wp-content/uploads/2019/01/4-6.jpg 1134w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>&nbsp;</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="545" class="wp-image-9813" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/01/5-8-1024x545.jpg" alt="" srcset="https://www.osradar.com/wp-content/uploads/2019/01/5-8-1024x545.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/01/5-8-300x160.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/01/5-8-768x408.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/01/5-8-696x370.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/01/5-8-1068x568.jpg 1068w, https://www.osradar.com/wp-content/uploads/2019/01/5-8-790x420.jpg 790w, https://www.osradar.com/wp-content/uploads/2019/01/5-8.jpg 1070w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>In the next step you will be asked to configure sub-domain, which will be used to access Sentora Panel, Secondly set the public IP of the server.</p>



<figure class="wp-block-image"><img loading="lazy" width="852" height="359" class="wp-image-9814" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/01/6-6.jpg" alt="" srcset="https://www.osradar.com/wp-content/uploads/2019/01/6-6.jpg 852w, https://www.osradar.com/wp-content/uploads/2019/01/6-6-300x126.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/01/6-6-768x324.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/01/6-6-696x293.jpg 696w" sizes="(max-width: 852px) 100vw, 852px" /></figure>



<p>Here you might get the warning about your DNS configurations if its not properly configured then add records in your DNS manager.</p>



<p>Press &#8220;<strong>Y</strong>&#8221; to accept and install Senotra on your choosed subdomain with given IP. Installation can take more than 30 minutes depending on your inernet connection, because it needs to install and activate all required packages for the server.</p>



<p>&nbsp;</p>



<figure class="wp-block-image"><img loading="lazy" width="987" height="401" class="wp-image-9815" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/01/7-3.jpg" alt="" srcset="https://www.osradar.com/wp-content/uploads/2019/01/7-3.jpg 987w, https://www.osradar.com/wp-content/uploads/2019/01/7-3-300x122.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/01/7-3-768x312.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/01/7-3-696x283.jpg 696w" sizes="(max-width: 987px) 100vw, 987px" /></figure>



<p>Once the installation completeion, you will be greeted with sentora login details, copy all login details before restart (A file of login details also placed in <strong>/root/passwords.txt</strong>). Now press &#8220;<strong>Y</strong>&#8221; and <strong>ENTER</strong> key to restart the server.</p>



<h2>Step 4. Login Sentora Control Panel.</h2>



<p>Once server boots up, open your web browser and access your Sentora Control panel using the sub-domain or your server&#8217;s IP address and type your credentials to login.</p>



<figure class="wp-block-embed">
<div class="wp-block-embed__wrapper">http://SERVER-IP</div>
</figure>



<p>OR</p>



<figure class="wp-block-embed">
<div class="wp-block-embed__wrapper">http://SUB-DOMAIN</div>
</figure>



<p>&nbsp;</p>



<figure class="wp-block-image"><img loading="lazy" width="989" height="628" class="wp-image-9816" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/01/8-4.jpg" alt="" srcset="https://www.osradar.com/wp-content/uploads/2019/01/8-4.jpg 989w, https://www.osradar.com/wp-content/uploads/2019/01/8-4-300x190.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/01/8-4-768x488.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/01/8-4-696x442.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/01/8-4-661x420.jpg 661w" sizes="(max-width: 989px) 100vw, 989px" /></figure>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="523" class="wp-image-9817" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/01/9-6-1024x523.jpg" alt="" srcset="https://www.osradar.com/wp-content/uploads/2019/01/9-6-1024x523.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/01/9-6-300x153.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/01/9-6-768x392.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/01/9-6-696x356.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/01/9-6-1068x546.jpg 1068w, https://www.osradar.com/wp-content/uploads/2019/01/9-6-822x420.jpg 822w, https://www.osradar.com/wp-content/uploads/2019/01/9-6.jpg 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>&nbsp;</p>



<p>Congratulations! you have successfully installed the latest version of Sentora on CentOS 7 server. Now you can manage your multiple domains web hosting free of cost on your own hosting server.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-sentora-on-centos-7/">How to install Sentora on CentOS 7</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/how-to-install-sentora-on-centos-7/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install CWP (Centos Web Panel) on CentOS 7</title>
		<link>https://www.osradar.com/install-cwp-centos-web-panel-on-centos-7/</link>
					<comments>https://www.osradar.com/install-cwp-centos-web-panel-on-centos-7/#respond</comments>
		
		<dc:creator><![CDATA[Muhammad Nabeel]]></dc:creator>
		<pubDate>Sun, 27 Jan 2019 00:40:37 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[centos 7]]></category>
		<category><![CDATA[Linux server]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[vps]]></category>
		<category><![CDATA[web hosting]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=9763</guid>

					<description><![CDATA[<p>CentOS Web Panel (CWP) is a free web hosting control panel which allows easily manage multiple servers (both Dedicated and VPS) without the need to access server through SSH for every small task that you need to complete. You can host multiple domain free of cost in this web panel. It is very easy to [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-cwp-centos-web-panel-on-centos-7/">Install CWP (Centos Web Panel) on CentOS 7</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>CentOS Web Panel (CWP) is a free web hosting control panel which allows easily manage multiple servers (both Dedicated and VPS) without the need to access server through SSH for every small task that you need to complete. You can host multiple domain free of cost in this web panel. It is very easy to configure and manage.</p>



<p>In this article you will learn how to install CWP on your CentOS server.</p>



<p><strong>CentOS Web Panel Features:</strong></p>



<ul><li>Apache Web Server.</li><li>PHP Selector.</li><li>MySQL/MariaDB + phpMyAdmin.</li><li>Email – Postfix and Dovecot, mailboxes, RoundCube web interface, SpamAssassin.</li><li>CSF (Config Server Firewall).</li><li>ClamAV Antivirus</li><li>Backup Manager.</li><li>3rd Party Aplications.</li><li>Easy user management interface.</li><li>Setup Server for Web Hosting.</li><li>DNS Server.</li><li>Live Monitoring.</li><li>File System Lock (means, no more website hacking due to locking of files from changes).</li><li>Server configuration AutoFixer.</li><li>cPanel Account Migration.</li><li>TeamSpeak 3 Manager (Voice streaming).</li><li>Shoutcast Manager (video streaming).</li></ul>



<p><strong>CENTOS WEB PANEL REQUIREMENTS</strong></p>



<ul><li>A Static IP address</li><li>Freshly installed operating system without any configuration changes.</li><li>Minimum RAM for 32-bit 512MB and 64-bit 1GB with 10GB of free space.</li></ul>



<h2>Step 1. Configure Hostname</h2>



<p>Note: hostname must be differnet from your main domain.(for example, if example.com is a domain on your server, use hostname.example.com as your fully qualified hostname).</p>



<p>You can use the following command for hostname setup eg. osradar.localhost.localdomain</p>



<pre class="wp-block-preformatted"># hostnamectl set-hostname osradar.localhost.localdomain</pre>



<pre class="wp-block-preformatted"># hostnamectl</pre>



<figure class="wp-block-image"><img loading="lazy" width="810" height="297" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/01/1-9.jpg" alt="" class="wp-image-9777" srcset="https://www.osradar.com/wp-content/uploads/2019/01/1-9.jpg 810w, https://www.osradar.com/wp-content/uploads/2019/01/1-9-300x110.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/01/1-9-768x282.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/01/1-9-696x255.jpg 696w" sizes="(max-width: 810px) 100vw, 810px" /></figure>



<p></p>



<h2>Step 2. Configure Server IP addresses</h2>



<p>Here you will make configuration in your network interface file and assign your IP address.</p>



<pre class="wp-block-preformatted"># vi /etc/sysconfig/network-scripts/ifcfg-ens33</pre>



<figure class="wp-block-image"><img loading="lazy" width="822" height="290" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/01/2-8.jpg" alt="" class="wp-image-9779" srcset="https://www.osradar.com/wp-content/uploads/2019/01/2-8.jpg 822w, https://www.osradar.com/wp-content/uploads/2019/01/2-8-300x106.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/01/2-8-768x271.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/01/2-8-696x246.jpg 696w" sizes="(max-width: 822px) 100vw, 822px" /></figure>



<p><br></p>



<h2>Step 3. Update the system</h2>



<p>Use following commands to install and update server necessary updates.</p>



<pre class="wp-block-preformatted"># yum -y install wget</pre>



<pre class="wp-block-preformatted"># yum -y update</pre>



<pre class="wp-block-preformatted"># reboot</pre>



<h2>Step 4. Installing CWP on CentOS 7</h2>



<p>Note: CWP installation can take more than 30 minutes, because it needs to compile apache and php from source.</p>



<pre class="wp-block-preformatted"># cd /usr/local/src</pre>



<pre class="wp-block-preformatted"># wget http://centos-webpanel.com/cwp-el7-latest</pre>



<pre class="wp-block-preformatted"># sh cwp-el7-latest</pre>



<figure class="wp-block-image"><img loading="lazy" width="899" height="410" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/01/3-8.jpg" alt="" class="wp-image-9780" srcset="https://www.osradar.com/wp-content/uploads/2019/01/3-8.jpg 899w, https://www.osradar.com/wp-content/uploads/2019/01/3-8-300x137.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/01/3-8-768x350.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/01/3-8-696x317.jpg 696w" sizes="(max-width: 899px) 100vw, 899px" /></figure>



<p></p>



<p>After installation a list of credentials will be appeared to access the panel. Make sure to copy or write down the login information. Once done, press “<strong>ENTER</strong>” for server reboot.</p>



<figure class="wp-block-image"><img loading="lazy" width="887" height="501" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/01/4-5.jpg" alt="" class="wp-image-9781" srcset="https://www.osradar.com/wp-content/uploads/2019/01/4-5.jpg 887w, https://www.osradar.com/wp-content/uploads/2019/01/4-5-300x169.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/01/4-5-768x434.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/01/4-5-696x393.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/01/4-5-744x420.jpg 744w" sizes="(max-width: 887px) 100vw, 887px" /></figure>



<p></p>



<h2>Step 5. Login CWP Admin Control Panel</h2>



<p>Onece server reboot, login to your CWP on your web browser using the link provided by the installer on your server</p>



<p>http://SERVER-IP:2030/<br>Username: root<br>Password: your root password</p>



<figure class="wp-block-image"><img loading="lazy" width="850" height="560" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/01/5-7.jpg" alt="" class="wp-image-9782" srcset="https://www.osradar.com/wp-content/uploads/2019/01/5-7.jpg 850w, https://www.osradar.com/wp-content/uploads/2019/01/5-7-300x198.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/01/5-7-768x506.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/01/5-7-696x459.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/01/5-7-638x420.jpg 638w" sizes="(max-width: 850px) 100vw, 850px" /></figure>



<p>Type username and password to login.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="530" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/01/6-5-1024x530.jpg" alt="" class="wp-image-9783" srcset="https://www.osradar.com/wp-content/uploads/2019/01/6-5-1024x530.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/01/6-5-300x155.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/01/6-5-768x397.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/01/6-5-696x360.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/01/6-5-1068x553.jpg 1068w, https://www.osradar.com/wp-content/uploads/2019/01/6-5-811x420.jpg 811w, https://www.osradar.com/wp-content/uploads/2019/01/6-5.jpg 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>After logging in, it is recommended to make below configuration.</p>



<p><strong>Setup Nameservers</strong><br>DNS Functions &gt; Edit Nameserver IP<br><br><strong>Setup shared IP </strong>(must be your public IP address)<br>CWP settings &gt; Edit Settings &gt; write the shared IP(Normally main IP address already assigned)<br><br><strong>Setup at least one hosting package</strong><br>Go to package &gt;add package &gt; fill in the info and limits of the package<br><br><strong>Setup root email</strong><br>Go to CWP settings &gt; Edit Settings &gt; write the root email for the CWP</p>



<p>For more configuration instructions, please visit given link or comment bewlo.<br> <a href="http://wiki.centos-webpanel.com/">http://wiki.centos-webpanel.com/</a></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-cwp-centos-web-panel-on-centos-7/">Install CWP (Centos Web Panel) on CentOS 7</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-cwp-centos-web-panel-on-centos-7/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install Samba on CentOS 7 for File Sharing</title>
		<link>https://www.osradar.com/install-samba-on-centos-7-for-file-sharing/</link>
					<comments>https://www.osradar.com/install-samba-on-centos-7-for-file-sharing/#respond</comments>
		
		<dc:creator><![CDATA[Muhammad Nabeel]]></dc:creator>
		<pubDate>Thu, 24 Jan 2019 20:49:32 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[centos 7]]></category>
		<category><![CDATA[Linux server]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=9668</guid>

					<description><![CDATA[<p>In our last article, You will learn how to install and configure Samba on CentOS 7 for file sharing between other Linux and Windows systems. Step: 1 Install Samba Server Use below command to install samba with necessary packages. # yum install samba samba-common samba-client -y Step 2: Check Windows Workgroup Before samba configurations, make [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-samba-on-centos-7-for-file-sharing/">Install Samba on CentOS 7 for File Sharing</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 our last article, You will learn how to install and configure Samba on CentOS 7 for file sharing between other Linux and Windows systems.</p>
<h1>Step: 1 Install Samba Server</h1>
<p>Use below command to install samba with necessary packages.</p>
<pre class=""># yum install samba samba-common samba-client -y</pre>
<p><img loading="lazy" class="alignnone wp-image-9669" src="https://www.osradar.com/wp-content/uploads/2019/01/1-8-300x101.jpg" alt="" width="683" height="230" srcset="https://www.osradar.com/wp-content/uploads/2019/01/1-8-300x101.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/01/1-8-768x258.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/01/1-8.jpg 922w" sizes="(max-width: 683px) 100vw, 683px" /></p>
<h1>Step 2: Check Windows Workgroup</h1>
<p>Before samba configurations, make sure Windows machine is in same workgroup.<br />
open the cmd prompt in Windows machine and run the following command.</p>
<pre class="">&gt; net config workstation</pre>
<p><img loading="lazy" class="alignnone wp-image-9672" src="https://www.osradar.com/wp-content/uploads/2019/01/2-7-300x193.jpg" alt="" width="681" height="438" srcset="https://www.osradar.com/wp-content/uploads/2019/01/2-7-300x193.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/01/2-7-653x420.jpg 653w, https://www.osradar.com/wp-content/uploads/2019/01/2-7.jpg 676w" sizes="(max-width: 681px) 100vw, 681px" /></p>
<h1>Step 3: Samba Configuration</h1>
<p>before configuration rename samba default configuration file /etc/samba/smb.conf as backup using below command.</p>
<pre class=""># mv /etc/samba/smb.conf /etc/samba/smb.conf.default</pre>
<p><strong>Samba Anonymous File Sharing</strong></p>
<p>Now create a shared folder on the server where all files/folders will be stored and set appropriate permissions on it and allow selinux for the samba configuration.</p>
<p>Run below commands</p>
<pre class=""># mkdir -p /srv/samba/anonymous

# chmod -R 0755 /srv/samba/anonymous

# chown -R nobody:nobody /srv/samba/anonymous

# chcon -t samba_share_t /srv/samba/anonymous</pre>
<p><img loading="lazy" class="alignnone wp-image-9673" src="https://www.osradar.com/wp-content/uploads/2019/01/3-7-300x50.jpg" alt="" width="678" height="113" srcset="https://www.osradar.com/wp-content/uploads/2019/01/3-7-300x50.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/01/3-7.jpg 721w" sizes="(max-width: 678px) 100vw, 678px" /></p>
<p>Now make following changes in new samba configuration file.</p>
<pre class=""># vi /etc/samba/smb.conf</pre>
<pre class="lang:vim decode:true ">[global]
workgroup = WORKGROUP
server string = Samba Server %v
netbios name = centos
security = user
map to guest = bad user
dns proxy = no

[Anonymous]
path = /srv/samba/anonymous
browsable =yes
writable = yes
guest ok = yes
read only = no</pre>
<p><img loading="lazy" class="alignnone wp-image-9674" src="https://www.osradar.com/wp-content/uploads/2019/01/4-4-300x145.jpg" alt="" width="677" height="327" srcset="https://www.osradar.com/wp-content/uploads/2019/01/4-4-300x145.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/01/4-4.jpg 757w" sizes="(max-width: 677px) 100vw, 677px" /></p>
<p>Run below commant to verify samba configurations</p>
<pre class=""># testparm</pre>
<p><img loading="lazy" class="alignnone wp-image-9675" src="https://www.osradar.com/wp-content/uploads/2019/01/5-6-300x182.jpg" alt="" width="677" height="411" srcset="https://www.osradar.com/wp-content/uploads/2019/01/5-6-300x182.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/01/5-6-768x465.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/01/5-6-693x420.jpg 693w, https://www.osradar.com/wp-content/uploads/2019/01/5-6.jpg 840w" sizes="(max-width: 677px) 100vw, 677px" /></p>
<h1>Step 4: Start and Add Samba Services in firewall</h1>
<p>Run below command to allow samba in firewall</p>
<pre class=""># firewall-cmd --permanent --add-service=samba

# firewall-cmd --reload</pre>
<p><img loading="lazy" class="alignnone wp-image-9676" src="https://www.osradar.com/wp-content/uploads/2019/01/6-3-300x76.jpg" alt="" width="679" height="172" srcset="https://www.osradar.com/wp-content/uploads/2019/01/6-3-300x76.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/01/6-3-768x194.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/01/6-3.jpg 796w" sizes="(max-width: 679px) 100vw, 679px" /></p>
<p>Run below command to start and enable samba services.</p>
<pre class=""># systemctl start smb.service

# systemctl enable smb.service

# systemctl start nmb.service

# systemctl enable nmb.service</pre>
<p><img loading="lazy" class="alignnone wp-image-9677" src="https://www.osradar.com/wp-content/uploads/2019/01/7-2-300x58.jpg" alt="" width="683" height="132" srcset="https://www.osradar.com/wp-content/uploads/2019/01/7-2-300x58.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/01/7-2-768x149.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/01/7-2-1024x198.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/01/7-2-1068x207.jpg 1068w, https://www.osradar.com/wp-content/uploads/2019/01/7-2.jpg 1070w" sizes="(max-width: 683px) 100vw, 683px" /></p>
<h1>Step 5: Access Shared folder</h1>
<p>Now you can access the Centos shared folder from windows, open Run prompt by pressing <span style="color: #008000"><strong>win + r</strong></span> key on your keyboard then type <strong>\\centos</strong> and press enter key.</p>
<p><img loading="lazy" class="alignnone wp-image-9678" src="https://www.osradar.com/wp-content/uploads/2019/01/8-3-300x154.jpg" alt="" width="674" height="346" srcset="https://www.osradar.com/wp-content/uploads/2019/01/8-3-300x154.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/01/8-3.jpg 398w" sizes="(max-width: 674px) 100vw, 674px" /></p>
<p><strong>You will see Anonymous folder like below</strong></p>
<p><img loading="lazy" class="alignnone wp-image-9679" src="https://www.osradar.com/wp-content/uploads/2019/01/9-5-300x128.jpg" alt="" width="670" height="286" srcset="https://www.osradar.com/wp-content/uploads/2019/01/9-5-300x128.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/01/9-5.jpg 732w" sizes="(max-width: 670px) 100vw, 670px" /></p>
<p><strong>Now you can add files/folders in this folder to share with other users.</strong></p>
<p><img loading="lazy" class="alignnone wp-image-9680" src="https://www.osradar.com/wp-content/uploads/2019/01/10-2-300x105.jpg" alt="" width="657" height="230" srcset="https://www.osradar.com/wp-content/uploads/2019/01/10-2-300x105.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/01/10-2-768x268.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/01/10-2.jpg 968w" sizes="(max-width: 657px) 100vw, 657px" /></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-samba-on-centos-7-for-file-sharing/">Install Samba on CentOS 7 for File Sharing</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-samba-on-centos-7-for-file-sharing/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install PHP 7 on CentOS 7 in an easy way?</title>
		<link>https://www.osradar.com/how-to-install-php-7-on-centos-7-in-an-easy-way/</link>
					<comments>https://www.osradar.com/how-to-install-php-7-on-centos-7-in-an-easy-way/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 26 Sep 2018 07:15:29 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Linux server]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=6029</guid>

					<description><![CDATA[<p>CentOS 7 is a great Linux server system. It has great support, an active user community and most importantly, it is very stable. However, stability often comes at a price. CentOS 7 comes with a very old version of PHP (5.6 in particular) that is not compatible with many current web applications. That&#8217;s why I [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-php-7-on-centos-7-in-an-easy-way/">How to Install PHP 7 on CentOS 7 in an easy way?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="https://www.centos.org/" target="_blank" rel="noopener noreferrer">CentOS</a> 7 is a great Linux server system. It has great support, an active user community and most importantly, it is very stable. However, stability often comes at a price. CentOS 7 comes with a very <a href="http://php.net/supported-versions.php" target="_blank" rel="noopener noreferrer">old version of PHP</a> (5.6 in particular) that is not compatible with many current web applications. That&#8217;s why I will show how to install PHP 7 on CentOS 7.</p>
<p>The PHP 7 branch is part of an attempt by developers to improve the syntax of the language in order to allow programmers to write better code and create better web applications.</p>
<p>Another aspect to bear in mind is that PHP 7 represents a substantial improvement in security with previous versions.</p>
<p>In summary, these are some of its novelties:</p>
<ul>
<li>The improved core of Zend Engine 3.0, a runtime engine that interprets PHP, is now faster and more efficient, which makes <strong>PHP 7 much better performing.</strong></li>
<li>PHP 7 removed obsolete functions in order to <strong>make it smaller and lighter</strong>.</li>
<li>Now you can declare up to 4 types of primitive data, int, string, float and boolean.</li>
</ul>
<p>In others words, if you are a web developer or you are starting in the world of web management or if on the contrary, you manage a CMS, you must install PHP 7.</p>
<h2>1. Upgrade CentOS 7</h2>
<p>In the first place, you must update the system. It&#8217;s always a good idea to do so, because it ensures we have the latest security patches for the system. Open a terminal and type:</p>
<pre class="">:~$ su</pre>
<p>After entering the password you will be root user.</p>
<p>Next, you must run yum to update the system in question.</p>
<pre class="">:~# yum update</pre>
<p><figure id="attachment_6030" aria-describedby="caption-attachment-6030" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6030" src="https://www.osradar.com/wp-content/uploads/2018/09/1-17.png" alt="1.- Upgrading CentOS 7" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/09/1-17.png 1366w, https://www.osradar.com/wp-content/uploads/2018/09/1-17-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/1-17-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/1-17-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/1-17-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/1-17-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/1-17-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6030" class="wp-caption-text">1.- Upgrading CentOS 7</figcaption></figure></p>
<p>When the installation is finished, you will have an updated system ready for PHP7.</p>
<h2>2. Add an external repository</h2>
<p>As I mentioned earlier, CentOS 7 comes in its repositories with PHP 5.6. That&#8217;s why you need an external repository for PHP7.</p>
<p><a href="https://rpms.remirepo.net/" target="_blank" rel="noopener noreferrer">Remi</a> is a repository for CentOS 7, RHEL and Fedora that contains updated RPM packages such as PHP. It is highly reliable and very popular with the Linux distribution community. Today you will use this repository to install PHP 7. Run:</p>
<pre class="">:~# yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm</pre>
<p><figure id="attachment_6034" aria-describedby="caption-attachment-6034" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6034" src="https://www.osradar.com/wp-content/uploads/2018/09/4-20.png" alt="2.- Adding the remi repository" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/09/4-20.png 1366w, https://www.osradar.com/wp-content/uploads/2018/09/4-20-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/4-20-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/4-20-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/4-20-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/4-20-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/4-20-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6034" class="wp-caption-text">2.- Adding the remi repository</figcaption></figure></p>
<p>Then to enable the use of the repository, type:</p>
<pre class="">:~# yum-config-manager --enable remi-php72</pre>
<p><figure id="attachment_6032" aria-describedby="caption-attachment-6032" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6032" src="https://www.osradar.com/wp-content/uploads/2018/09/2-16.png" alt="2.- Enabling Remi repository" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/09/2-16.png 1366w, https://www.osradar.com/wp-content/uploads/2018/09/2-16-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/2-16-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/2-16-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/2-16-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/2-16-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/2-16-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6032" class="wp-caption-text">3.- Enabling Remi repository</figcaption></figure></p>
<h2>3. Install PHP</h2>
<p>PHP is a vital component of the LAMP stack. Now proceed to install the most common PHP packages. Of course these will depend on the applications you need to run. I will only show the most used ones.</p>
<pre class="">:~$ yum install php php-common php-opcache php-cli php-xml php-gd php-curl php-mcrypt php-zip php-imap</pre>
<p><figure id="attachment_6035" aria-describedby="caption-attachment-6035" style="width: 1366px" class="wp-caption aligncenter"><img loading="lazy" class="size-full wp-image-6035" src="https://www.osradar.com/wp-content/uploads/2018/09/4-21.png" alt="4.- Installing PHP 7 common packages" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/09/4-21.png 1366w, https://www.osradar.com/wp-content/uploads/2018/09/4-21-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/4-21-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/4-21-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/4-21-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/4-21-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/4-21-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6035" class="wp-caption-text">4.- Install PHP 7</figcaption></figure></p>
<p>When installation is complete, you can check which version has been installed. Run:</p>
<pre class="">:~# php -v</pre>
<p><figure id="attachment_6036" aria-describedby="caption-attachment-6036" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6036" src="https://www.osradar.com/wp-content/uploads/2018/09/5-17.png" alt="5.- Checking the PHP version installed" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/09/5-17.png 1366w, https://www.osradar.com/wp-content/uploads/2018/09/5-17-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/5-17-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/5-17-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/5-17-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/5-17-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/5-17-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6036" class="wp-caption-text">5.- Checking the PHP version installed</figcaption></figure></p>
<h2>4. Configure PHP to work with apache and Nginx</h2>
<p>In fact, PHP 7 doesn&#8217;t need extra configurations to work with apache. You just have to restart the service and that&#8217;s enough.</p>
<pre class="">:~# systemctl restart httpd</pre>
<p>In the case of <a href="https://www.osradar.com/how-to-configure-nginx-server-blocks-on-ubuntu-18-04/" target="_blank" rel="noopener noreferrer">Ngnix</a>, if you have to install the <code>php-fpm</code> package.</p>
<pre class="">.~# yum install php-fpm</pre>
<p><figure id="attachment_6037" aria-describedby="caption-attachment-6037" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6037" src="https://www.osradar.com/wp-content/uploads/2018/09/6-15.png" alt="6.- Installing required package for PHP may work with ngnix" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/09/6-15.png 1366w, https://www.osradar.com/wp-content/uploads/2018/09/6-15-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/6-15-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/6-15-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/6-15-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/6-15-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/6-15-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6037" class="wp-caption-text">6.- Installing required package for PHP to may work with ngnix</figcaption></figure></p>
<p>Just install a web server and try your new PHP 7.</p>
<p>And this is it.</p>
<p>As you could see, the installation is quite simple but very useful when working with web applications. Updating PHP is a good way to keep the server in top condition.</p>
<p>Tell us, PHP programs? have you noticed a big performance difference? Did you use this tutorial?</p>
<p>Please spread this tutorial through your social networks.</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-php-7-on-centos-7-in-an-easy-way/">How to Install PHP 7 on CentOS 7 in an easy way?</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/how-to-install-php-7-on-centos-7-in-an-easy-way/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
