<?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>GCC Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/gcc/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Tue, 29 Jun 2021 17:16:16 +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 the latest version of GCC on Ubuntu 20.04?</title>
		<link>https://www.osradar.com/install-the-latest-version-gcc-ubuntu-debian/</link>
					<comments>https://www.osradar.com/install-the-latest-version-gcc-ubuntu-debian/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 30 Jun 2021 23:53:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[focal]]></category>
		<category><![CDATA[Focal Fossa]]></category>
		<category><![CDATA[GCC]]></category>
		<category><![CDATA[Hombrew]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=29702</guid>

					<description><![CDATA[<p>Hello, friends. For many people installing the latest version of GCC can be quite important for daily work. So in this post, you will learn how to do it so that it can also help you with your tasks. If you didn’t know, GCC is the compiler for the C language provided by the GNU [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-the-latest-version-gcc-ubuntu-debian/">Install the latest version of GCC on Ubuntu 20.04?</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, friends. For many people installing the latest version of GCC can be quite important for daily work. So in this post, you will learn how to do it so that it can also help you with your tasks.</p>



<p>If you didn’t know, <a href="https://gcc.gnu.org/" target="_blank" rel="noreferrer noopener">GCC is the compiler for the C language provided by the GNU project.</a> With GCC we can use the C language on our computer but also with it we can create or run other applications like libraries.</p>



<p>The mythical GCC is one of the basic tools for compiling and building packages. Present in almost every Linux distribution out there, it is the basis for many processes in building a distribution.</p>



<p>Some people need for whatever reason to have the latest stable version of GCC. That is why we have prepared this post as simple as possible so that anyone can do it.</p>



<h2 id="install-the-latest-version-of-gcc-using-homebrew"><a href="#install-the-latest-version-of-gcc-using-homebrew" name="install-the-latest-version-of-gcc-using-homebrew"></a>Install the latest version of GCC using Homebrew</h2>



<p>Of all the ways we have to achieve this goal, maybe Homebrew is the one that makes it the easiest. So let’s take advantage of this extraordinary tool to achieve our goal.</p>



<p>The first step then is to <a href="https://www.osradar.com/install-homebrew-ubuntu-20-04-debian-10/" target="_blank" rel="noreferrer noopener">install Homebrew on Ubuntu 20.04 / Debian 10</a> after that we can continue without any problems.</p>



<p>The next step is to simply run the <code>brew</code> command to install GCC, the latest version of which is 11.1.</p>



<pre class="wp-block-preformatted">brew install gcc</pre>



<p>Then the whole download and installation process will start. If everything went well, you will see the following output on the screen.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="384" src="https://www.osradar.com/wp-content/uploads/2021/05/Captura-1024x384.png" alt="1.- Install GCC on Ubuntu 20.04 / Debian 10" class="wp-image-31061" srcset="https://www.osradar.com/wp-content/uploads/2021/05/Captura-1024x384.png 1024w, https://www.osradar.com/wp-content/uploads/2021/05/Captura-300x112.png 300w, https://www.osradar.com/wp-content/uploads/2021/05/Captura-768x288.png 768w, https://www.osradar.com/wp-content/uploads/2021/05/Captura-696x261.png 696w, https://www.osradar.com/wp-content/uploads/2021/05/Captura-1068x400.png 1068w, https://www.osradar.com/wp-content/uploads/2021/05/Captura.png 1118w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- Install GCC on Ubuntu 20.04 / Debian 10</figcaption></figure>



<p>To check that GCC is installed, you can display the version.</p>



<pre class="wp-block-preformatted">gcc-11 --version</pre>



<p>In case you already have GCC installed globally, then you can go to the folder where the binary is and run</p>



<pre class="wp-block-preformatted">cd /home/linuxbrew/.linuxbrew/Cellar/gcc/11.1.0_1/bin
./gcc-11 --version</pre>



<p>Sample Output</p>



<pre class="wp-block-preformatted">gcc-11 (Homebrew GCC 11.1.0_1) 11.1.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</pre>



<p>So, enjoy it.</p>



<h2 id="conclusion"><a href="#conclusion" name="conclusion"></a>Conclusion</h2>



<p>GCC is so common that sometimes we overlook it, but it is always good to have the latest stable version that can get us out of trouble at any time.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-the-latest-version-gcc-ubuntu-debian/">Install the latest version of GCC on Ubuntu 20.04?</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-the-latest-version-gcc-ubuntu-debian/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install Cacti on Centos / RHEL 8</title>
		<link>https://www.osradar.com/how-to-install-cacti-on-centos-rhel-8/</link>
					<comments>https://www.osradar.com/how-to-install-cacti-on-centos-rhel-8/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Wed, 23 Oct 2019 23:56:48 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[cacti]]></category>
		<category><![CDATA[Centos 8]]></category>
		<category><![CDATA[GCC]]></category>
		<category><![CDATA[Install Cacti on Centos 8]]></category>
		<category><![CDATA[install Cacti on RHEL 8]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=14976</guid>

					<description><![CDATA[<p>What is Cacti?&#160; Cacti is an open source monitoring tool which covers network as well as graphing.&#160; It was designed to provide an easy way to monitor your system on industry-standard data logging tool -RRDtoll.Cacti is an important tool to harnesses the power of RRDtool&#8217;s storage and functionality of graphing.&#160;Cacti is user-friendly and easy to [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-cacti-on-centos-rhel-8/">How to Install Cacti on Centos / RHEL 8</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h3><strong> What is Cacti?&nbsp;</strong></h3>



<p>Cacti is an open source monitoring tool which covers network as well as graphing.&nbsp; It was designed to provide an easy way to monitor your system on industry-standard data logging tool -RRDtoll.Cacti is an important tool to harnesses the power of RRDtool&#8217;s storage and functionality of graphing.&nbsp;Cacti is user-friendly and easy to use for managing network monitoring and configurations. Some dependencies needed to install Cacti on Centos 8.</p>



<p>Here are some important features of Cacti.&nbsp;</p>



<ul><li>User Management</li></ul>



<ul><li>&nbsp;Advanced graphing templates</li></ul>



<ul><li>&nbsp;Data acquisition methods in multiple formats</li></ul>



<ul><li>Faster polling of metrics&nbsp;</li></ul>



<h3><strong>Why we need monitoring?</strong></h3>



<p>&nbsp;Monitoring is a main feature of any infrastructure. In order to look over your systems that what&#8217;s going on it&#8217;s best way to use some tools like Cacti to monitor.</p>



<p>&nbsp;So, in this tutorial we will cover the cacti installation and its related modules.</p>



<h3><strong>Step 1: How to Install build tools and system dependencies.&nbsp;</strong></h3>



<p>First of all install all development tools and gcc tools for system dependencies.</p>



<p>After it <a href="https://www.osradar.com/how-to-install-gcc-development-tools-on-centos-8-rhel-8/">install Gcc &amp; Development Tools</a> </p>



<p>Now install SNMP packages </p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="801" height="599" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/installation-of-snmp.png" alt="" class="wp-image-14979" srcset="https://www.osradar.com/wp-content/uploads/2019/10/installation-of-snmp.png 801w, https://www.osradar.com/wp-content/uploads/2019/10/installation-of-snmp-300x224.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/installation-of-snmp-768x574.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/installation-of-snmp-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2019/10/installation-of-snmp-265x198.png 265w, https://www.osradar.com/wp-content/uploads/2019/10/installation-of-snmp-696x520.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/installation-of-snmp-562x420.png 562w" sizes="(max-width: 801px) 100vw, 801px" /></figure></div>



<h3><strong>Step 2: Install php and required extensions.&nbsp;</strong></h3>



<p class="has-background has-cyan-bluish-gray-background-color">sudo dnf install -y net-snmp net-snmp-utils rrdtool</p>



<p><br> Install PHP and its extension as it is required.</p>



<p class="has-background has-cyan-bluish-gray-background-color"><br> sudo dnf install @php<br> sudo dnf install -y php php-{mysqlnd,curl,gd,intl,pear,recode,ldap,xmlrpc,snmp,mbstring,gettext,gmp,json,xml,common}</p>



<p> Make sure PHP is installed version is correct and loaded modules.</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="726" height="89" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/php-v-.png" alt="" class="wp-image-14977" srcset="https://www.osradar.com/wp-content/uploads/2019/10/php-v-.png 726w, https://www.osradar.com/wp-content/uploads/2019/10/php-v--300x37.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/php-v--696x85.png 696w" sizes="(max-width: 726px) 100vw, 726px" /></figure></div>



<p><br> Now edit this file <strong>/etc/php.ini file.</strong></p>



<p class="has-background has-cyan-bluish-gray-background-color"> $ grep date.timezone /etc/php.ini<br> ; http://php.net/date.timezone<br> date.timezone = <strong>Africa/Nairobi</strong></p>



<p> Set PHP memory limit to 400M</p>



<p class="has-background has-cyan-bluish-gray-background-color">memory.limit = 400M;</p>



<p> Start php-fpm service.</p>



<p class="has-background has-cyan-bluish-gray-background-color"> sudo systemctl enable &#8211;now php-fpm</p>



<p> Make sure status is working.</p>



<figure class="wp-block-image"><img loading="lazy" width="801" height="594" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/check-php-fpm-services.png" alt="" class="wp-image-14978" srcset="https://www.osradar.com/wp-content/uploads/2019/10/check-php-fpm-services.png 801w, https://www.osradar.com/wp-content/uploads/2019/10/check-php-fpm-services-300x222.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/check-php-fpm-services-768x570.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/check-php-fpm-services-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2019/10/check-php-fpm-services-265x198.png 265w, https://www.osradar.com/wp-content/uploads/2019/10/check-php-fpm-services-485x360.png 485w, https://www.osradar.com/wp-content/uploads/2019/10/check-php-fpm-services-696x516.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/check-php-fpm-services-566x420.png 566w" sizes="(max-width: 801px) 100vw, 801px" /></figure>



<h3><strong>Step 3: How to install Apache Web Server.</strong>&nbsp;</h3>



<p>Type given command to Install Apache httpd server.</p>



<p class="has-background has-cyan-bluish-gray-background-color"> sudo dnf install @httpd</p>



<p> Now, enable Apache services.</p>



<p class="has-background has-cyan-bluish-gray-background-color"> sudo systemctl enable &#8211;now httpd</p>



<p> Verify that Apache is running properly.</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="723" height="485" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/check-status-of-Apache-server.png" alt="" class="wp-image-14980" srcset="https://www.osradar.com/wp-content/uploads/2019/10/check-status-of-Apache-server.png 723w, https://www.osradar.com/wp-content/uploads/2019/10/check-status-of-Apache-server-300x201.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/check-status-of-Apache-server-696x467.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/check-status-of-Apache-server-626x420.png 626w" sizes="(max-width: 723px) 100vw, 723px" /></figure></div>



<p>Make sure to give firewall permissions on https ports.</p>



<p class="has-background has-cyan-bluish-gray-background-color"> sudo firewall-cmd &#8211;add-service={http,https} &#8211;permanent<br> sudo firewall-cmd &#8211;reload</p>



<h3><strong>Step 4: Install and configure database server.</strong></h3>



<p>If you&#8217;ve already installed a Database Server let&#8217;s start with that. If you don&#8217;t have install MySQL or MariaDB database server.<br> When you&#8217;ve done installation of any database Server follow the next steps.<br> Let&#8217;s create a database alongwith user for Cacti.</p>



<p class="has-background has-cyan-bluish-gray-background-color"> $ mysql -u root -p<br> CREATE DATABASE cacti;<br> GRANT ALL ON cacti.* TO &#8216;cacti&#8217;@&#8217;localhost&#8217; IDENTIFIED BY &#8216;StrongDBPassword&#8217;;<br> FLUSH PRIVILEGES<br> exit</p>



<p> Set up tuning MariaDB database  <br> Do settings with this file<strong> /etc/my.cnf.d/mariadb-server.cnf</strong> in <strong>[mysqld] </strong>section.<br> Restart mariadb service after setting upon according to your own requirements.</p>



<p class="has-background has-cyan-bluish-gray-background-color"> sudo systemctl restart mariadb</p>



<h3><strong>Step 5: Download and Configure Cacti.&nbsp;</strong></h3>



<p>Create a directory and download the latest release of Cacti in it.</p>



<p class="has-background has-cyan-bluish-gray-background-color"> mkdir cacti &amp;&amp; cd cacti<br> curl -SL https://www.cacti.net/downloads/cacti-latest.tar.gz | tar &#8211;strip 1 -xzf &#8211;</p>



<p> Now move the created folder to <strong>/var/www/html directory.</strong></p>



<p class="has-background has-cyan-bluish-gray-background-color"> cd ..<br> sudo mv cacti/ /var/www/html/</p>



<p> Import database data.</p>



<p class="has-background has-cyan-bluish-gray-background-color"> mysql -u root -p cacti &lt; /var/www/html/cacti/cacti.sql</p>



<p> Make sure timezone setting is done.</p>



<p class="has-background has-cyan-bluish-gray-background-color"> mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root -p mysql</p>



<p> Give Cacti user access to timezone database.</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="763" height="517" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/Grant-cacti-access.png" alt="" class="wp-image-14983" srcset="https://www.osradar.com/wp-content/uploads/2019/10/Grant-cacti-access.png 763w, https://www.osradar.com/wp-content/uploads/2019/10/Grant-cacti-access-300x203.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/Grant-cacti-access-696x472.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/Grant-cacti-access-620x420.png 620w" sizes="(max-width: 763px) 100vw, 763px" /></figure></div>



<p>Configure SELinux.</p>



<p class="has-background has-cyan-bluish-gray-background-color">sudo semanage fcontext -a -t httpd_sys_rw_content_t &#8220;/var/www/html/cacti(/.*)?&#8221;<br>
sudo restorecon -Rv /var/www/html/cacti</p>



<p>Now again restart Apache service to attain modifications.</p>



<p class="has-background has-cyan-bluish-gray-background-color"> sudo systemctl restart httpd php-fpm</p>



<p> Now the last step is to configure cacti.<br> Access the file<strong> /var/www/html/cacti/include/config.php.</strong><br> Set up database connection parameters according to your own requirements.</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="493" height="194" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/configure-cacti.png" alt="" class="wp-image-14984" srcset="https://www.osradar.com/wp-content/uploads/2019/10/configure-cacti.png 493w, https://www.osradar.com/wp-content/uploads/2019/10/configure-cacti-300x118.png 300w" sizes="(max-width: 493px) 100vw, 493px" /></figure></div>



<p>Create a log file for Cacti system.</p>



<p class="has-background has-cyan-bluish-gray-background-color"> tocuh /var/www/html/cacti/log/cacti.log</p>



<p> Grant directory Permissions.</p>



<p class="has-background has-cyan-bluish-gray-background-color"> sudo chown -R apache:apache /var/www/html/cacti</p>



<p>Setup cron job.</p>



<p class="has-background has-cyan-bluish-gray-background-color"> sudo crontab -u apache -e</p>



<p> Add following line in above line.</p>



<p class="has-background has-cyan-bluish-gray-background-color"> */5 * * * * php /var/www/html/cacti/poller.php &gt; /dev/null 2&gt;&amp;1</p>



<h3><strong>Step 6: Access Cacti Installation wizard.&nbsp;</strong></h3>



<p>You can visit this link <strong>http://[ServerIP/Hostname]/cacti</strong> to enter into Installation Wizard.</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="702" height="380" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/user-login.png" alt="" class="wp-image-14987" srcset="https://www.osradar.com/wp-content/uploads/2019/10/user-login.png 702w, https://www.osradar.com/wp-content/uploads/2019/10/user-login-300x162.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/user-login-696x377.png 696w" sizes="(max-width: 702px) 100vw, 702px" /></figure></div>



<p> Change the default credentials.</p>



<figure class="wp-block-image"><img loading="lazy" width="566" height="67" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/login-credentials.png" alt="" class="wp-image-14989" srcset="https://www.osradar.com/wp-content/uploads/2019/10/login-credentials.png 566w, https://www.osradar.com/wp-content/uploads/2019/10/login-credentials-300x36.png 300w" sizes="(max-width: 566px) 100vw, 566px" /></figure>



<p> Now make sure to change the password.</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="698" height="347" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/change-password.png" alt="" class="wp-image-14988" srcset="https://www.osradar.com/wp-content/uploads/2019/10/change-password.png 698w, https://www.osradar.com/wp-content/uploads/2019/10/change-password-300x149.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/change-password-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/10/change-password-696x347.png 696w" sizes="(max-width: 698px) 100vw, 698px" /></figure></div>



<p> Accept Licencse Agreement and proceed.</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="676" height="427" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/license-agreement.png" alt="" class="wp-image-14990" srcset="https://www.osradar.com/wp-content/uploads/2019/10/license-agreement.png 676w, https://www.osradar.com/wp-content/uploads/2019/10/license-agreement-300x189.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/license-agreement-665x420.png 665w" sizes="(max-width: 676px) 100vw, 676px" /></figure></div>



<p> Make sure to have all options green.</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="642" height="403" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/green-options.png" alt="" class="wp-image-14991" srcset="https://www.osradar.com/wp-content/uploads/2019/10/green-options.png 642w, https://www.osradar.com/wp-content/uploads/2019/10/green-options-300x188.png 300w" sizes="(max-width: 642px) 100vw, 642px" /></figure></div>



<p> Choose your installation type.</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="653" height="434" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/installation-type.png" alt="" class="wp-image-14992" srcset="https://www.osradar.com/wp-content/uploads/2019/10/installation-type.png 653w, https://www.osradar.com/wp-content/uploads/2019/10/installation-type-300x199.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/installation-type-632x420.png 632w" sizes="(max-width: 653px) 100vw, 653px" /></figure></div>



<p> Verify Directory Permission Checks.</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="695" height="466" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/directory-permissions.png" alt="" class="wp-image-14993" srcset="https://www.osradar.com/wp-content/uploads/2019/10/directory-permissions.png 695w, https://www.osradar.com/wp-content/uploads/2019/10/directory-permissions-300x201.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/directory-permissions-626x420.png 626w" sizes="(max-width: 695px) 100vw, 695px" /></figure></div>



<p> Check out all binaries located &amp; move further.</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="704" height="465" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/binaries-check.png" alt="" class="wp-image-14994" srcset="https://www.osradar.com/wp-content/uploads/2019/10/binaries-check.png 704w, https://www.osradar.com/wp-content/uploads/2019/10/binaries-check-300x198.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/binaries-check-696x460.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/binaries-check-636x420.png 636w" sizes="(max-width: 704px) 100vw, 704px" /></figure></div>



<p> Choose your required option.</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="695" height="463" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/profile.png" alt="" class="wp-image-14995" srcset="https://www.osradar.com/wp-content/uploads/2019/10/profile.png 695w, https://www.osradar.com/wp-content/uploads/2019/10/profile-300x200.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/profile-630x420.png 630w" sizes="(max-width: 695px) 100vw, 695px" /></figure></div>



<p> Choose the template you want.</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="694" height="468" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/template-setup.png" alt="" class="wp-image-14996" srcset="https://www.osradar.com/wp-content/uploads/2019/10/template-setup.png 694w, https://www.osradar.com/wp-content/uploads/2019/10/template-setup-300x202.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/template-setup-623x420.png 623w" sizes="(max-width: 694px) 100vw, 694px" /></figure></div>



<p> Make sure settings are okay.</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="698" height="467" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/database-settings.png" alt="" class="wp-image-14998" srcset="https://www.osradar.com/wp-content/uploads/2019/10/database-settings.png 698w, https://www.osradar.com/wp-content/uploads/2019/10/database-settings-300x201.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/database-settings-696x466.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/database-settings-628x420.png 628w" sizes="(max-width: 698px) 100vw, 698px" /></figure></div>



<p> Confirm Installation.</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="698" height="464" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/confirm-instalation.png" alt="" class="wp-image-14999" srcset="https://www.osradar.com/wp-content/uploads/2019/10/confirm-instalation.png 698w, https://www.osradar.com/wp-content/uploads/2019/10/confirm-instalation-300x199.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/confirm-instalation-696x463.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/confirm-instalation-632x420.png 632w" sizes="(max-width: 698px) 100vw, 698px" /></figure></div>



<p> After a while installation process will be completed. </p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="695" height="461" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/install-1.png" alt="" class="wp-image-15000" srcset="https://www.osradar.com/wp-content/uploads/2019/10/install-1.png 695w, https://www.osradar.com/wp-content/uploads/2019/10/install-1-300x199.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/install-1-633x420.png 633w" sizes="(max-width: 695px) 100vw, 695px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="698" height="460" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/install-2.png" alt="" class="wp-image-15001" srcset="https://www.osradar.com/wp-content/uploads/2019/10/install-2.png 698w, https://www.osradar.com/wp-content/uploads/2019/10/install-2-300x198.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/install-2-696x459.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/install-2-637x420.png 637w" sizes="(max-width: 698px) 100vw, 698px" /></figure></div>



<figure class="wp-block-image"><img loading="lazy" width="700" height="296" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/install-3.png" alt="" class="wp-image-15002" srcset="https://www.osradar.com/wp-content/uploads/2019/10/install-3.png 700w, https://www.osradar.com/wp-content/uploads/2019/10/install-3-300x127.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/install-3-696x294.png 696w" sizes="(max-width: 700px) 100vw, 700px" /></figure>



<h3><strong>Step 7: Monitor Linux Servers with Cacti</strong></h3>



<p> Let&#8217;s start &amp; enable <strong>snmpd </strong>daemon to start.</p>



<p class="has-background has-cyan-bluish-gray-background-color"> sudo systemctl enable &#8211;now snmpd</p>



<p> Make sure it&#8217;s working properly.</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="699" height="382" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/1-20.png" alt="" class="wp-image-15006" srcset="https://www.osradar.com/wp-content/uploads/2019/10/1-20.png 699w, https://www.osradar.com/wp-content/uploads/2019/10/1-20-300x164.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/1-20-696x380.png 696w" sizes="(max-width: 699px) 100vw, 699px" /></figure></div>



<p> Now add the linux server for monitoring.</p>



<p> Login as Cacti admin to see the process.</p>



<p> Console&gt;Create&gt;New Device</p>



<p> Now give server details &amp; save configuration.</p>



<p> Congratulations! You&#8217;ve all done.<br> If have any question about this tutorial leave a comment.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-cacti-on-centos-rhel-8/">How to Install Cacti on Centos / RHEL 8</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-cacti-on-centos-rhel-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install GCC &#038; Development Tools on Centos 8 / RHEL 8</title>
		<link>https://www.osradar.com/how-to-install-gcc-development-tools-on-centos-8-rhel-8/</link>
					<comments>https://www.osradar.com/how-to-install-gcc-development-tools-on-centos-8-rhel-8/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Sat, 19 Oct 2019 18:45:54 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Centos 8]]></category>
		<category><![CDATA[Development tools]]></category>
		<category><![CDATA[GCC]]></category>
		<category><![CDATA[RHEL 8 dnf]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=14831</guid>

					<description><![CDATA[<p>How to install GCC &#38; Development Tools on Centos 8 / RHEL 8. RHEL is the best one for developing critical application also it is stable and secure Server Operating System. For Security reasons some package are pre-installed. For developing purposes on Centos 8 or RHEL 8 you must have installed the following development tools: [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-gcc-development-tools-on-centos-8-rhel-8/">How to Install GCC &amp; Development Tools on Centos 8 / RHEL 8</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h3><strong> How to install GCC &amp; Development Tools on Centos 8 / RHEL 8.</strong></h3>



<p>RHEL is the best one for developing critical application also it is stable and secure Server Operating System.<br> For Security reasons some package are pre-installed.<br> For developing purposes on Centos 8 or RHEL 8 you must have installed the following development tools:</p>



<ul><li> autoconf</li><li> automake </li><li> gcc</li><li> gcc-c++</li><li> bison</li><li> flex</li><li> binuts</li><li> gdb</li><li> glibc-devel</li><li> libtool</li><li> make</li><li> pkgconf</li><li> pkgconf-m4</li><li> pkgconf-pkg-config</li><li> redhat-rpm-config</li><li> rpm-build</li><li> rpm-sign</li><li> strace</li></ul>



<p><br> Some other tools are also available in new version like centos 8 with python 3 pre installed and other tools.<br> You can install missing development tools by following this guide step by step:</p>



<h3><strong> How to list groups on Centos / RHEL 8?</strong></h3>



<p>Run this command to list package installed on your Centos 8.</p>



<p class="has-background has-cyan-bluish-gray-background-color">$ dnf group list</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="734" height="503" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/dnf-group-list.png" alt="" class="wp-image-14833" srcset="https://www.osradar.com/wp-content/uploads/2019/10/dnf-group-list.png 734w, https://www.osradar.com/wp-content/uploads/2019/10/dnf-group-list-300x206.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/dnf-group-list-100x70.png 100w, https://www.osradar.com/wp-content/uploads/2019/10/dnf-group-list-218x150.png 218w, https://www.osradar.com/wp-content/uploads/2019/10/dnf-group-list-696x477.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/dnf-group-list-613x420.png 613w" sizes="(max-width: 734px) 100vw, 734px" /></figure></div>



<p> By running this command give below, you can easily access the summary of your installed groups as well as available groups.</p>



<p class="has-background has-cyan-bluish-gray-background-color">$ sudo dnf groups summary</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="735" height="152" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/dnf-group-summary.png" alt="" class="wp-image-14834" srcset="https://www.osradar.com/wp-content/uploads/2019/10/dnf-group-summary.png 735w, https://www.osradar.com/wp-content/uploads/2019/10/dnf-group-summary-300x62.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/dnf-group-summary-696x144.png 696w" sizes="(max-width: 735px) 100vw, 735px" /></figure></div>



<h3><strong> Installing GCC and Development Tools on Centos / RHEL 8 Server</strong></h3>



<p> Type the following command to get started your installation.</p>



<p class="has-background has-cyan-bluish-gray-background-color">$ sudo dnf group install &#8220;Development Tools&#8221;<br> or <br> $ sudo dnf groupinstall &#8220;Development Tools&#8221;</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="733" height="496" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/Installation-of-GCC-Tools.png" alt="" class="wp-image-14832" srcset="https://www.osradar.com/wp-content/uploads/2019/10/Installation-of-GCC-Tools.png 733w, https://www.osradar.com/wp-content/uploads/2019/10/Installation-of-GCC-Tools-300x203.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/Installation-of-GCC-Tools-696x471.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/Installation-of-GCC-Tools-621x420.png 621w" sizes="(max-width: 733px) 100vw, 733px" /></figure></div>



<p><br> For viewing information about Development Tools type the following command:</p>



<p class="has-background has-cyan-bluish-gray-background-color">$ sudo dnf group info &#8220;Development Tools&#8221;</p>



<p> Make sure installation is complete by checking tools binary location.</p>



<p>Also check the installed version.</p>



<p class="has-background has-cyan-bluish-gray-background-color">$ gcc &#8211;version</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="738" height="139" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/gcc-version.png" alt="" class="wp-image-14835" srcset="https://www.osradar.com/wp-content/uploads/2019/10/gcc-version.png 738w, https://www.osradar.com/wp-content/uploads/2019/10/gcc-version-300x57.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/gcc-version-696x131.png 696w" sizes="(max-width: 738px) 100vw, 738px" /></figure></div>



<p class="has-background has-cyan-bluish-gray-background-color">$ make &#8211;version</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="725" height="502" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/make-version.png" alt="" class="wp-image-14836" srcset="https://www.osradar.com/wp-content/uploads/2019/10/make-version.png 725w, https://www.osradar.com/wp-content/uploads/2019/10/make-version-300x208.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/make-version-100x70.png 100w, https://www.osradar.com/wp-content/uploads/2019/10/make-version-218x150.png 218w, https://www.osradar.com/wp-content/uploads/2019/10/make-version-696x482.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/make-version-607x420.png 607w" sizes="(max-width: 725px) 100vw, 725px" /></figure></div>



<h3> <strong>How to Unistall GCC &amp; Development Tools on Centos / RHEL 8.</strong></h3>



<p> Follow this command to remove a package group on Centos / RHEL 8.</p>



<p class="has-background has-cyan-bluish-gray-background-color">$ sudo dnf group remove &#8220;Development Tools&#8221;</p>



<p> To avoid breaking other packages, be keen on dependency.<br> Test GCC Compiler<br> Let&#8217;s create a file to test weather it is working or not.<br> Consider this file to show hello world</p>



<p class="has-background has-cyan-bluish-gray-background-color">$ cat hello.c<br>#include <br> int main() {<br> print(&#8220;hello, world!\n&#8221;);<br> return 0;<br> }</p>



<p> Compile this file with GCC.</p>



<p class="has-background has-cyan-bluish-gray-background-color">$ gcc hello.c -o helloworld</p>



<p> Now run this file to see what&#8217;s the output?</p>



<p class="has-background has-cyan-bluish-gray-background-color">$ ./helloworld</p>



<p> Congratulations You&#8217;ve all done!<br> If you&#8217;ve any issue regarding this tutorial, leave a comment we will get to you ASAP to help you solve your issue.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-gcc-development-tools-on-centos-8-rhel-8/">How to Install GCC &amp; Development Tools on Centos 8 / RHEL 8</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-gcc-development-tools-on-centos-8-rhel-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
