<?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>Tutorials Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Wed, 04 Dec 2019 13:12:49 +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 latest node.js 13 on Ubuntu 19.04 / Debian / Linux</title>
		<link>https://www.osradar.com/how-to-install-latest-node-js-13-on-ubuntu-19-04-debian-linux/</link>
					<comments>https://www.osradar.com/how-to-install-latest-node-js-13-on-ubuntu-19-04-debian-linux/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Wed, 04 Dec 2019 13:12:48 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Install node.js 13]]></category>
		<category><![CDATA[Install node.js on Debian]]></category>
		<category><![CDATA[node.js]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[unix]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=16115</guid>

					<description><![CDATA[<p>At the end of this tutorial, you will be able to Install Node.js 13 (the latest version) smoothly on Ubuntu / Debian / Linux Mint. So, follow the steps to proceed further. Step 1: Update the system First of all update your system by running the given command. sudo apt -y update &#38;&#38; sudo apt [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-latest-node-js-13-on-ubuntu-19-04-debian-linux/">How To Install latest node.js 13 on Ubuntu 19.04 / Debian / Linux</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>At the end of this tutorial, you will be able to Install Node.js 13 (the latest version) smoothly on Ubuntu / Debian / Linux Mint. So, follow the steps to proceed further. </p>



<h3><strong>Step 1: Update the system</strong></h3>



<p>First of all update your system by running the given command.</p>



<pre class="wp-block-verse">sudo apt -y update &amp;&amp; sudo apt -y upgrade</pre>



<h3><strong>Step 2: Install Node.js 13 on Ubuntu / Debian / Linux Mint</strong></h3>



<p>You can install node.js 13 after updating the system and then installing the required repository.</p>



<pre class="wp-block-verse">curl -sL https://deb.nodesource.com/setup_13.x | sudo bash -</pre>



<p>After creating directory, you can move forward to Install Node.js 13 on Ubuntu / Debian / Linux Mint.</p>



<pre class="wp-block-verse">sudo apt-get install -y nodejs</pre>



<p>You can check your installed version by following this command.</p>



<pre class="wp-block-verse">node -V</pre>



<p>For Installing Development tools, run the following command as a root or with sudo privileges.</p>



<pre class="wp-block-verse">sudo apt-get install gcc g++ make</pre>



<p>For yarn package Installation follow the below step</p>



<pre class="wp-block-verse">curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -<br>
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list<br>
sudo apt-get update &amp;&amp; sudo apt-get install yarn</pre>



<p></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-latest-node-js-13-on-ubuntu-19-04-debian-linux/">How To Install latest node.js 13 on Ubuntu 19.04 / Debian / Linux</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-latest-node-js-13-on-ubuntu-19-04-debian-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Install Latest Docker Compose on Ubuntu 19.04 / CentOS 8 / Debian 10 / Fedora 30</title>
		<link>https://www.osradar.com/how-to-install-latest-docker-compose-on-ubuntu-19-04-centos-8-debian-10-fedora-30/</link>
					<comments>https://www.osradar.com/how-to-install-latest-docker-compose-on-ubuntu-19-04-centos-8-debian-10-fedora-30/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Mon, 02 Dec 2019 20:29:56 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Docker Compose Installation]]></category>
		<category><![CDATA[Dockers]]></category>
		<category><![CDATA[install Docker compose on CentOS]]></category>
		<category><![CDATA[Install Docker Compose on Debian]]></category>
		<category><![CDATA[Install Docker compose on linux]]></category>
		<category><![CDATA[Install Docker Compose on RHEL 8]]></category>
		<category><![CDATA[Install Docker Compose on Ubuntu]]></category>
		<category><![CDATA[unix]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=16124</guid>

					<description><![CDATA[<p>In our previous tutorial we&#8217;ve seen How To Install Docker on Ubuntu 16.04 18.04 / 19.04. Now we&#8217;ll move further to Install Docker Compose on different Linux distributions like Ubuntu, Debian, CentOS and Debian. What is Docker Compose? Docker Compose is a tool that provides us the facility to define and run multi-container Docker application. [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-latest-docker-compose-on-ubuntu-19-04-centos-8-debian-10-fedora-30/">How To Install Latest Docker Compose on Ubuntu 19.04 / CentOS 8 / Debian 10 / Fedora 30</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 previous tutorial we&#8217;ve seen <a href="https://www.osradar.com/?p=16122">How To Install Docker on Ubuntu 16.04 18.04 / 19.04.</a> Now we&#8217;ll move further to Install Docker Compose on different Linux distributions like Ubuntu, Debian, CentOS and Debian.</p>



<h4><strong>What is Docker Compose?</strong></h4>



<p><strong>Docker Compose</strong> is a tool that provides us the facility to  define and run multi-container Docker application. A <strong>YAML</strong> file is the configuration file used to configure your application&#8217;s services.<br> So, we are going to Install Docker Compose in as much details as possible so you can easily understand and Install it. For this Installation we&#8217;ll check Github API releases page for our project. After it we&#8217;ll pull out the latest binary file for our Installation process. So, follow the below steps to move further.</p>



<h3><strong>Step 1: Installing Latest Docker Compose on Linux</strong></h3>



<p><strong>Requirements:</strong></p>



<p>You must have installed Curl on your system for this operation.<br>Access to the root or user with root privileges.</p>



<pre class="wp-block-verse">---- CentOS / RHEL -----<br> $ sudo yum -y install curl<br> ---- Debian / Ubuntu ----<br> $ sudo apt install -y curl <br> ----- Fedora -----<br> $ sudo dnf -y install curl </pre>



<p>After Installing curl move to the next point which is Downloading the latest Compose on your Linux Machine.</p>



<pre class="wp-block-verse">curl -s <a href="https://api.github.com/repos/docker/compose/releases/latest">https://api.github.com/repos/docker/compose/releases/latest</a> \<br>   | grep browser_download_url \<br>   | grep docker-compose-Linux-x86_64 \<br>   | cut -d '"' -f 4 \<br>   | wget -qi -</pre>



<p>Make sure to make binary file executable.</p>



<pre class="wp-block-verse">chmod +x docker-compose-Linux-x86_64</pre>



<p>Now, move the file to your PATH.</p>



<pre class="wp-block-verse">sudo mv docker-compose-Linux-x86_64 /usr/local/bin/docker-compose</pre>



<p>Check the version you&#8217;ve installed.</p>



<pre class="wp-block-verse">docker-compose version</pre>



<h3><strong>Step 2: Configure Compose Command-line completion.</strong></h3>



<p>Compose has command completion for the bash &amp; zsh shell.</p>



<h5><strong>Bash users.</strong></h5>



<p>Place the completion script in <strong>/etc/bash_completion.d/</strong></p>



<pre class="wp-block-verse">sudo curl -L <a href="https://raw.githubusercontent.com/docker/compose/master/contrib/completion/bash/docker-compose">https://raw.githubusercontent.com/docker/compose/master/contrib/completion/bash/docker-compose</a> -o /etc/bash_completion.d/docker-compose</pre>



<p>Source the file or re-login to enjoy completion features.</p>



<pre class="wp-block-verse">source /etc/bash_completion.d/docker-compose</pre>



<h5><strong>Zsh users</strong></h5>



<p>Download the completion script in your <strong>~/.zsh/completion/</strong></p>



<pre class="wp-block-verse">mkdir -p ~/.zsh/completion</pre>



<pre class="wp-block-verse">curl -L <a href="https://raw.githubusercontent.com/docker/compose/master/contrib/completion/zsh/_docker-compose">https://raw.githubusercontent.com/docker/compose/master/contrib/completion/zsh/_docker-compose</a> &gt; ~/.zsh/completion/_docker-compose</pre>



<p>Include the directory in your <strong>$fpath</strong> by adding in <strong>~/.zshrc</strong></p>



<pre class="wp-block-verse">fpath=(~/.zsh/completion $fpath)</pre>



<p>Double check that <strong>compinit</strong> is loaded or load it by adding in<strong> ~/.zshrc</strong>.</p>



<pre class="wp-block-verse">autoload -Uz compinit &amp;&amp; compinit -i</pre>



<p>After-it reload your shell.</p>



<pre class="wp-block-verse">exec $SHELL -l</pre>



<h3><strong>Step 3: Test Docker Compose Installation</strong></h3>



<p>Make a file for testing docker compose.</p>



<pre class="wp-block-verse">vim docker-compose.yml</pre>



<p>Copy &amp; paste the below data in the file.</p>



<pre class="wp-block-verse">version: '3'  <br>
services:<br>
  web:<br>
    image: nginx:latest<br>
    ports:<br>
     - "8080:80"<br>
    links:<br>
     - php<br>
  php:<br>
    image: php:7-fpm</pre>



<p>Start the containers services.</p>



<pre class="wp-block-verse">$ docker-compose up -d<br>Starting root_php_1 … done<br>Starting root_web_1 … done</pre>



<p><strong>Output:</strong></p>



<p>Show running Containers</p>



<pre class="wp-block-verse">$ docker-compose ps<br>    Name                 Command              State          Ports        <br> root_php_1   docker-php-entrypoint php-fpm   Up      9000/tcp            <br> root_web_1   nginx -g daemon off;            Up      0.0.0.0:8080-&gt;80/tcp</pre>



<p>Destroy Containers.</p>



<pre class="wp-block-verse"> $ docker-compose stop<br> Stopping root_web_1 … done<br> Stopping root_php_1 … done <br><br>$ docker-compose rm -f<br> Going to remove root_web_1, root_php_1<br> Removing root_web_1 … done<br> Removing root_php_1 … done</pre>



<p>For detailed description or learning more about <a href="https://docs.docker.com/">Docker documentation</a> &amp; <a href="https://docs.docker.com/compose/" target="_blank" rel="noreferrer noopener" aria-label="Docker Compose documentation (opens in a new tab)">Docker Compose documentation</a> visit their official page .</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-latest-docker-compose-on-ubuntu-19-04-centos-8-debian-10-fedora-30/">How To Install Latest Docker Compose on Ubuntu 19.04 / CentOS 8 / Debian 10 / Fedora 30</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-latest-docker-compose-on-ubuntu-19-04-centos-8-debian-10-fedora-30/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Sync CentOS 8 repositories on Satellite / Katello / Foreman</title>
		<link>https://www.osradar.com/how-to-sync-centos-8-repositories-on-satellite-katello-foreman/</link>
					<comments>https://www.osradar.com/how-to-sync-centos-8-repositories-on-satellite-katello-foreman/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Thu, 28 Nov 2019 12:15:42 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Foreman]]></category>
		<category><![CDATA[katello]]></category>
		<category><![CDATA[satelite]]></category>
		<category><![CDATA[sync Centos 8 repositories]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=15929</guid>

					<description><![CDATA[<p>Introduction: In this tutorial, we are going to learn how to sync &#38; store CentOS 8 BaseOS &#38; AppStream repositories on Foreman Katello &#38; Red Hat Satellite. Foreman is used for life cycle management of physical and virtual systems. It is an open source application use for provisioning. Foreman is the basic foundation form which [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-sync-centos-8-repositories-on-satellite-katello-foreman/">How To Sync CentOS 8 repositories on Satellite / Katello / Foreman</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>Introduction:</strong></h3>



<p>In this tutorial, we are going to learn how to sync &amp; store CentOS 8 BaseOS &amp; AppStream repositories on Foreman Katello &amp; Red Hat Satellite. Foreman is used for life cycle management of physical and virtual systems. It is an open source application use for provisioning.</p>



<p>Foreman is the basic foundation form which Red Hat Satellite&#8217;s core functionality is derived. Katello is a Foreman plug-in for subscription &amp; repository management. It helps you to assist with storing repositories on your local system and provides a means to subscribe to those repositories &amp; download content.</p>



<p>In case, you don&#8217;t have Foreman/Red Hat Satellite, you can follow this tutorial;</p>



<p><a href="https://www.osradar.com/?p=15953">How To Create CentOS 8 Local Repository Mirrors With Rsync &amp; Nginx</a></p>



<p>Now, move towards our tutorial,</p>



<h3><strong>Step 1: Creating a Product</strong></h3>



<p>Create a product on CLI or from the web console.</p>



<h4><strong>From CLI:</strong></h4>



<p><strong>List organizations</strong></p>



<pre class="wp-block-verse">hammer organization list</pre>



<p><strong>Create Product</strong></p>



<pre class="wp-block-verse">hammer product create --organization-id 1 \</pre>



<p><strong>From Web Console</strong></p>



<p>Go to <strong>Products&gt; Create Product</strong></p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="637" height="151" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/create-product.jpg" alt="" class="wp-image-15963" srcset="https://www.osradar.com/wp-content/uploads/2019/11/create-product.jpg 637w, https://www.osradar.com/wp-content/uploads/2019/11/create-product-300x71.jpg 300w" sizes="(max-width: 637px) 100vw, 637px" /></figure></div>



<p>Type your product details &amp; click the save button to finish creating your product.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="636" height="336" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/save-product-details-1.jpg" alt="" class="wp-image-15966" srcset="https://www.osradar.com/wp-content/uploads/2019/11/save-product-details-1.jpg 636w, https://www.osradar.com/wp-content/uploads/2019/11/save-product-details-1-300x158.jpg 300w" sizes="(max-width: 636px) 100vw, 636px" /></figure></div>



<h3><strong>Step 2: Import CentOS 8 GPG Key</strong></h3>



<p><strong>From CLI</strong></p>



<pre class="wp-block-verse">mkdir /etc/pki/rpm-gpg/import/<br> cd /etc/pki/rpm-gpg/import/<br> wget https://www.centos.org/keys/RPM-GPG-KEY-CentOS-Official<br> hammer gpg create --organization-id 1 \<br>   --key "RPM-GPG-KEY-CentOS-Official" \<br>   --name "RPM-GPG-KEY-CentOS-8"</pre>



<p>Navigate to <strong>Content &gt; Credential &gt; New Content Credential </strong>to create key from Web Console.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="646" height="220" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/content-credentials-2.jpg" alt="" class="wp-image-15968" srcset="https://www.osradar.com/wp-content/uploads/2019/11/content-credentials-2.jpg 646w, https://www.osradar.com/wp-content/uploads/2019/11/content-credentials-2-300x102.jpg 300w" sizes="(max-width: 646px) 100vw, 646px" /></figure></div>



<p>Provide all information like -Name, Type &amp; Paste the key content or use the below button to upload.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="638" height="441" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/save-credentialls-detaisl.jpg" alt="" class="wp-image-15969" srcset="https://www.osradar.com/wp-content/uploads/2019/11/save-credentialls-detaisl.jpg 638w, https://www.osradar.com/wp-content/uploads/2019/11/save-credentialls-detaisl-300x207.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/save-credentialls-detaisl-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/save-credentialls-detaisl-218x150.jpg 218w, https://www.osradar.com/wp-content/uploads/2019/11/save-credentialls-detaisl-608x420.jpg 608w" sizes="(max-width: 638px) 100vw, 638px" /></figure></div>



<h3><strong>Step 3: Create Repositories</strong></h3>



<p>Now you can add the new repositories to the newly created product.</p>



<p><strong>Hammer CLI</strong></p>



<p>BaseOS repository</p>



<pre class="wp-block-verse"> <code>hammer repository create </code><br><code>--organization-id 1 \   </code><br><code>--product "CentOS 8 Linux for x86_64" \   </code><br><code>--name "CentOS 8 Base RPMS" \   --label "CentOS_8_Base_RPMS" \   </code><br><code>--content-type "yum" \   --download-policy "on_demand" \   </code><br><code>--gpg-key "RPM-GPG-KEY-CentOS-8" \   --url "http://centos.mirror.liquidtelecom.com/8/BaseOS/x86_64/os/" \   </code><br><code>--mirror-on-sync "no"</code> </pre>



<p><strong>AppStream repository</strong></p>



<pre class="wp-block-verse">hammer repository create --organization-id 1 \<br>   --product "CentOS 8 Linux for x86_64" \<br>   --name "CentOS 8 AppStream RPMS" \<br>   --label "CentOS_8_AppStream_RPMS" \<br>   --content-type "yum" \<br>   --download-policy "on_demand" \<br>   --gpg-key "RPM-GPG-KEY-CentOS-8" \<br>   --url "http://centos.mirror.liquidtelecom.com/8/AppStream/x86_64/os/" \<br>   --mirror-on-sync "no"</pre>



<p><strong>PowerTools repository</strong></p>



<pre class="wp-block-verse">hammer repository create --organization-id 1 \<br>
  --product "CentOS 8 Linux for x86_64" \<br>
  --name "CentOS 8 PowerTools RPMS" \<br>
  --label "CentOS_8_PowerTools_RPMS" \<br>
  --content-type "yum" \<br>
  --download-policy "on_demand" \<br>
  --gpg-key "RPM-GPG-KEY-CentOS-8" \<br>
  --url "http://centos.mirror.liquidtelecom.com/8/PowerTools/x86_64/os/" \<br>
  --mirror-on-sync "no"</pre>



<p><strong>Centosplus repository</strong></p>



<pre class="wp-block-verse">hammer repository create --organization-id 1 \<br>   --product "CentOS 8 Linux for x86_64" \<br>   --name "CentOS 8 centosplus RPMS" \<br>   --label "CentOS_8_centosplus_RPMS" \<br>   --content-type "yum" \<br>   --download-policy "on_demand" \<br>   --gpg-key "RPM-GPG-KEY-CentOS-8" \<br>   --url "http://centos.mirror.liquidtelecom.com/8/centosplus/x86_64/os/" \<br>   --mirror-on-sync "no"</pre>



<p><strong>Extras repository</strong></p>



<pre class="wp-block-verse">hammer repository create --organization-id 1 \<br>
  --product "CentOS 8 Linux for x86_64" \<br>
  --name "CentOS 8 extras RPMS" \<br>
  --label "CentOS_8_extras_RPMS" \<br>
  --content-type "yum" \<br>
  --download-policy "on_demand" \<br>
  --gpg-key "RPM-GPG-KEY-CentOS-8" \<br>
  --url "http://centos.mirror.liquidtelecom.com/8/extras/x86_64/os/" \<br>
  --mirror-on-sync "no"</pre>



<p>Run the following command to list &amp; view the repositories in the Product.</p>



<pre class="wp-block-verse">hammer repository list <br>--organization-id 1 <br>--product "CentOS Linux for x86_64"</pre>



<pre class="wp-block-verse"> <code>$ hammer repository list --organization-id 1 --product "CentOS 8 Linux for x86_64" </code><br><code>---|--------------------------|---------------------------|--------------|--------------------------------------------------------------- </code><br><code>ID | NAME                     | PRODUCT                   | CONTENT TYPE | URL </code><br><code>---|--------------------------|---------------------------|--------------|--------------------------------------------------------------- </code><br><code>65 | CentOS 8 AppStream RPMS  | CentOS 8 Linux for x86_64 | yum          | http://centos.mirror.liquidtelecom.com/8/AppStream/x86_64/os/ </code><br><code>64 | CentOS 8 Base RPMS       | CentOS 8 Linux for x86_64 | yum          | http://centos.mirror.liquidtelecom.com/8/BaseOS/x86_64/os/ </code><br><code>67 | CentOS 8 centosplus RPMS | CentOS 8 Linux for x86_64 | yum          | http://centos.mirror.liquidtelecom.com/8/centosplus/x86_64/os/ </code><br><code>68 | CentOS 8 extras RPMS     | CentOS 8 Linux for x86_64 | yum          | http://centos.mirror.liquidtelecom.com/8/extras/x86_64/os/ </code><br><code>66 | CentOS 8 PowerTools RPMS | CentOS 8 Linux for x86_64 | yum          | http://centos.mirror.liquidtelecom.com/8/PowerTools/x86_64/os/ </code><br><code>---|--------------------------|---------------------------|--------------|---------------------------------------------------------------</code> </pre>



<p><strong>From Web Console</strong></p>



<p>We can achieve the same from the Foreman / Satellite web dashboard.</p>



<p>To achieve this go to <strong>Products &gt; Repositories.</strong></p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="639" height="330" src="https://www.osradar.com/wp-content/uploads/2019/11/list-repositories-1.jpg" alt="" class="wp-image-15971" srcset="https://www.osradar.com/wp-content/uploads/2019/11/list-repositories-1.jpg 639w, https://www.osradar.com/wp-content/uploads/2019/11/list-repositories-1-300x155.jpg 300w" sizes="(max-width: 639px) 100vw, 639px" /></figure></div>



<h3><strong>Step 4: Sync Repositories</strong></h3>



<p>Now you are able to Sync your repositories to your local Satellite / Katello server.</p>



<p><strong>From CLI</strong></p>



<pre class="wp-block-verse">list repositories</pre>



<pre class="wp-block-verse"> <code>$ hammer repository list --organization-id 1 --product "CentOS 8 Linux for x86_64" </code><br><code>---|--------------------------|---------------------------|--------------|--------------------------------------------------------------- ID | NAME                     | PRODUCT                   | CONTENT TYPE | URL </code><br><code>---|--------------------------|---------------------------|--------------|--------------------------------------------------------------- </code><br><code>65 | CentOS 8 AppStream RPMS  | CentOS 8 Linux for x86_64 | yum          | http://centos.mirror.liquidtelecom.com/8/AppStream/x86_64/os/ </code><br><code>64 | CentOS 8 Base RPMS       | CentOS 8 Linux for x86_64 | yum          | http://centos.mirror.liquidtelecom.com/8/BaseOS/x86_64/os/ </code><br><code>67 | CentOS 8 centosplus RPMS | CentOS 8 Linux for x86_64 | yum          | http://centos.mirror.liquidtelecom.com/8/centosplus/x86_64/os/ </code><br><code>68 | CentOS 8 extras RPMS     | CentOS 8 Linux for x86_64 | yum          | http://centos.mirror.liquidtelecom.com/8/extras/x86_64/os/ </code><br><code>66 | CentOS 8 PowerTools RPMS | CentOS 8 Linux for x86_64 | yum          | http://centos.mirror.liquidtelecom.com/8/PowerTools/x86_64/os/</code><br><code> ---|--------------------------|---------------------------|--------------|---------------------------------------------------------------</code> </pre>



<p>Look over th <strong>IDs</strong> then loop through to sync the repositories.</p>



<pre class="wp-block-verse">for i in $(seq 64 68); do \<br>
  hammer repository synchronize --async --organization-id 1 \<br>
  --product "CentOS 8 Linux for x86_64" \<br>
  --id "$i"; \<br>
  done</pre>



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



<pre class="wp-block-verse"> <code>$ hammer product list  --name "CentOS 8 Linux for x86_64" --organization-id 1 </code><br><code>---|---------------------------|----------------------------------------|---------------|--------------|------------------ ID | NAME                      | DESCRIPTION                            | ORGANIZATION  | REPOSITORIES | SYNC STATE </code><br><code>---|---------------------------|----------------------------------------|---------------|--------------|------------------ </code><br><code>37 | CentOS 8 Linux for x86_64 | Repositories for CentOS 8 Linux x86_64 | Mycompany LTD | 5            | Syncing Complete. </code><br><code>---|---------------------------|----------------------------------------|---------------|--------------|------------------</code> </pre>



<p>You can also run a sync from web console dashboard.</p>



<h3><strong>Step 5: Create a Content View</strong></h3>



<p>Follow this command to create content view</p>



<pre class="wp-block-verse"> <code>hammer content-view create --organization-id 1 \</code><br><code>--name "CentOS_8" \   </code><br><code>--description "Content view for CentOS 8"</code> </pre>



<h3><strong>Add repositories to Content View</strong></h3>



<pre class="wp-block-verse">for i in $(seq 64 68); do \  <code> </code><br><code>hammer content-view add-repository --organization-id 1 \   </code><br><code>--name "CentOS_8" \   </code><br><code>--product "CentOS 8 Linux for x86_64" \   </code><br><code>--repository-id "$i"; \   </code><br><code>done</code> </pre>



<h3><strong>Step 7: Publish Content View</strong></h3>



<pre class="wp-block-verse"> <code>hammer content-view publish --organization-id 1 \   </code><br><code>--name "CentOS_8" \   </code><br><code>--description "Publishing repositories"</code> </pre>



<h3><strong> Create an Activation Key</strong></h3>



<pre class="wp-block-verse"> <code>$ hammer lifecycle-environment list --organization-id 1 </code><br><code>---|---------|------ </code><br><code>ID | NAME    | PRIOR </code><br><code>---|---------|------ </code><br><code>1  | Library | </code><br><code>---|---------|------</code> </pre>



<pre class="wp-block-verse">$ hammer activation-key create --organization-id 1 \<br>   --name "centos8" \<br>   --description "CentOS 8 Activation Key" \<br>   --lifecycle-environment "Library" \<br>   --content-view "CentOS_8" \<br>   --unlimited-hosts<br> $ hammer activation-key list --organization-id 1<br> ---|-----------------|------------------|-----------------------|--------------------------<br>  <code>ID | NAME            | HOST LIMIT       | LIFECYCLE ENVIRONMENT | CONTENT VIEW              ---|-----------------|------------------|-----------------------|-------------------------- </code><br><code>1  | centos7         | 0 of Unlimited   |                       |                           2  | centos8         | 0 of Unlimited   |                       |                           ---|-----------------|------------------|-----------------------|--------------------------</code> </pre>



<h3><strong>Step 9: Add Subscription to Activation Key</strong></h3>



<pre class="wp-block-verse">hammer subscription list --organization-id 1</pre>



<pre class="wp-block-verse"> <code>hammer activation-key add-subscription --organization-id 1 \   </code><br><code>--name "centos8" \   </code><br><code>--quantity "1" \   </code><br><code>--subscription-id "164"</code> </pre>



<p>Where <strong>164 </strong>is the id of the subscription shown by the last command.</p>



<h3><strong>Step 10: Subscribe CentOS 8 Machine to Satellite / Foreman (Katello)</strong></h3>



<p>Our repositories are now ready to be consumed by CentOS clients. </p>



<p>Follow this guide to learn;</p>



<p><a href="https://www.osradar.com/?p=15950">How To Subscribe CentOS Server to Katello/Foreman</a></p>



<p>Congratulations! You&#8217;ve all done. If have any queries regarding this tutorial guide, feel free to ask.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-sync-centos-8-repositories-on-satellite-katello-foreman/">How To Sync CentOS 8 repositories on Satellite / Katello / Foreman</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-sync-centos-8-repositories-on-satellite-katello-foreman/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Configure iSCSI Initiator on CentOS / RHEL 8.</title>
		<link>https://www.osradar.com/how-to-configure-iscsi-initiator-on-centos-rhel-8/</link>
					<comments>https://www.osradar.com/how-to-configure-iscsi-initiator-on-centos-rhel-8/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Wed, 20 Nov 2019 19:35:14 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Centos 8]]></category>
		<category><![CDATA[install iscsi initiator on rhel]]></category>
		<category><![CDATA[iscsi initiator on centos 8]]></category>
		<category><![CDATA[RHEL 8]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[unix]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=15772</guid>

					<description><![CDATA[<p>We&#8217;ve cover the installation of iSCSI Target on CentOS 8 / RHEL 8 in our previous tutorial. In this tutorial we&#8217;ll cover the configuration of iSCSI Initiator on CentOS / RHEL 8. So follow these steps to get started. Step 1: Install iscsi-initiator-utils on CentOS / RHEL 8. sudo dnf -y install iscsi-initiator-utils Step 2: [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-configure-iscsi-initiator-on-centos-rhel-8/">How To Configure iSCSI Initiator 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[
<p>We&#8217;ve cover the installation of iSCSI Target on CentOS 8 / RHEL 8 in our previous tutorial. In this tutorial we&#8217;ll cover the configuration of iSCSI Initiator on CentOS / RHEL 8. So follow these steps to get started.</p>



<h3><strong>Step 1: Install iscsi-initiator-utils on CentOS / RHEL 8.</strong></h3>



<pre class="wp-block-verse">sudo dnf -y install iscsi-initiator-utils</pre>



<h3><strong>Step 2: Configure Initiator Name</strong></h3>



<p>Edit the file <strong>/etc/iscsi/initiatorname.iscsi/</strong> and name it to match the target server name you&#8217;ve used.</p>



<pre class="wp-block-verse">sudo vi /etc/iscsi/initiatorname.iscsi</pre>



<pre class="wp-block-verse">InitiatorName=iqn.2019-11.com.osradar:initiator01</pre>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="542" height="39" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/initiator-name.png" alt="" class="wp-image-15776" srcset="https://www.osradar.com/wp-content/uploads/2019/11/initiator-name.png 542w, https://www.osradar.com/wp-content/uploads/2019/11/initiator-name-300x22.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/initiator-name-533x39.png 533w, https://www.osradar.com/wp-content/uploads/2019/11/initiator-name-534x39.png 534w" sizes="(max-width: 542px) 100vw, 542px" /></figure></div>



<h3><strong>Step 3: Configure Credentials</strong></h3>



<p>Open the following file to set up credential details.</p>



<pre class="wp-block-verse">sudo vi /etc/iscsi/iscsid.conf</pre>



<p>Note: Use the credentials as you&#8217;ve done in setting up target so they match.</p>



<pre class="wp-block-verse">Uncomment "node.session.auth.authmethod=CHAP"<br>Uncomment "node.session.auth.username" and set username as "Initiator01"<br>Uncomment "node.session.auth.password" and set it as you've setup in previous setup.</pre>



<h3><strong>Step 4: Testing iSCSI Target discovery</strong></h3>



<p>Run the following command to confirm that iSCSI can discover our installed iSCSI Target.</p>



<pre class="wp-block-verse">iscsiadm -m discovery -t sendtargets -p 172.17.52.184</pre>



<p>Note: Use your iSCSI target server IP.</p>



<p>If the IP info and access details is displayed we can say the discovery is successful.</p>



<h3><strong>Step 5: Confirm Target&#8217;s status</strong></h3>



<p>Run the given command to check the status.</p>



<pre class="wp-block-verse">iscsiadm -m node -o show</pre>



<pre class="wp-block-verse"># BEGIN RECORD 6.2.0.874-10  node.name = <a href="https://osradar.com">iqn.2019-11.osradar.com</a>:target01  node.tpgt = 1  node.startup = automatic  node.leading_login = No  iface.hwaddress =   iface.ipaddress =   iface.iscsi_ifacename = default  iface.net_ifacename =   iface.gateway =   iface.subnet_mask =   iface.transport_name = tcp  iface.initiatorname =   iface.state =   iface.vlan_id = 0  iface.vlan_priority = 0  iface.vlan_state =   iface.iface_num = 0  iface.mtu = 0  </pre>



<h3><strong>Step 6: Access iSCSI Target on CentOS / RHEL 8</strong></h3>



<p>Login to your account by typing this command , you will see a success message at the end.</p>



<pre class="wp-block-verse">iscsiadm -m node --login</pre>



<pre class="wp-block-verse">Logging in to<a href="https://www.osradar.com"> iface: default, target: iqn.2019-11.osradar.com:target01, portal: 172.17.255.109,</a>3260 Login to [iface: default, target: , portal: 172.17.255.109,3260] <br> <a href="https://www.osradar.com/">iqn.2019-11.osradar.com:target01</a> successful.</pre>



<p>Make sure you&#8217;re logged into your iSCSI Target Server.</p>



<pre class="wp-block-verse">iscsiadm -m session -o show</pre>



<pre class="wp-block-verse">tcp: [1] 172.17.255.109:3260,1 <a href="https://www.osradar.com" target="_blank" rel="noreferrer noopener" aria-label="iqn.2019-11.osradar.com:target01 (opens in a new tab)">iqn.2019-11.osradar.com:target01</a> (non-flash)</pre>



<p><strong>Check disks if you&#8217;ve added Target&#8217;s disk</strong></p>



<p>We&#8217;ve created backstore of 5GB space in our previous tutorial.</p>



<pre class="wp-block-verse">lsb1k</pre>



<p>Format &amp; mount the new disk to make it ready for use.</p>



<p>In this tutorial we&#8217;ll use fdisk to set up LVM type. You are free to use your desired one.</p>



<pre class="wp-block-verse">fdisk /dev/sdb</pre>



<p>Confirm the new partition number.</p>



<pre class="wp-block-verse">lsb1k</pre>



<p>Look at the new partition , we have sdb1 as seen below. Now, add a file system on the new partition.</p>



<pre class="wp-block-verse"> NAME            MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT  fd0               2:0    1    4K  0 disk  sda               8:0    0   20G  0 disk  ├─sda1            8:1    0  953M  0 part /boot  └─sda2            8:2    0 19.1G  0 part    ├─centos-root 253:0    0    6G  0 lvm  /    ├─centos-swap 253:1    0  956M  0 lvm  [SWAP]    ├─centos-home 253:2    0  7.5G  0 lvm  /home    └─centos-var  253:3    0  4.7G  0 lvm  /var  sdb               8:16   0    5G  0 disk  <strong>└─sdb1            8:17   0    5G  0 part</strong> <strong>##sdb1 Added</strong>  sr0              11:0    1 1024M  0 rom </pre>



<p><strong>Set file system on the partition</strong></p>



<p>Here, we&#8217;ll use xfs. You can use any (ext3,ext4,Btrfs etc) to fit your case.</p>



<pre class="wp-block-verse">mkfs.xfs /dev/sdb1</pre>



<p><strong>Mount your partition and confirm</strong></p>



<pre class="wp-block-verse">mount /dev/sdb1/mnt</pre>



<pre class="wp-block-verse">df -TH</pre>



<p>Congratulations! You&#8217;ve all done. If have any queries regarding this tutorial, you can ask in comments.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-configure-iscsi-initiator-on-centos-rhel-8/">How To Configure iSCSI Initiator 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-configure-iscsi-initiator-on-centos-rhel-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install ArangoDB on Debian 9?</title>
		<link>https://www.osradar.com/how-to-install-arangodb-on-debian-9/</link>
					<comments>https://www.osradar.com/how-to-install-arangodb-on-debian-9/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 07 Sep 2018 09:24:55 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[ArangoDB]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[howto]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=5594</guid>

					<description><![CDATA[<p>We have already talked about Debian on several occasions on this site, it is well known that is a stable, robust and almost infallible system. For this reason, it has become a safe bet for Database administrators and Developers. Today, I will talk about a database manager that has been gaining a good reputation among [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-arangodb-on-debian-9/">How to install ArangoDB on Debian 9?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>We have already talked about <a href="https://www.debian.org/index.html">Debian</a> on<a href="https://www.osradar.com/how-to-install-lastest-version-of-netbeans-in-debian-9/"> several occasions</a> on this site, it is well known that is a stable, robust and almost infallible system. For this reason, it has become a safe bet for Database administrators and Developers. Today, I will talk about a database manager that has been gaining a good reputation among database administrators worldwide for being powerful and versatile, today I will talk about, How to install <strong>ArangoDB</strong> on Debian 9?</p>
<h2>What is ArangoDB?</h2>
<p>ArangoDB is a native multi-model, open-source database with flexible data models for documents, graphs, and key-values. Build high-performance applications using a convenient SQL-like query language or JavaScript extensions. Use ACID transactions if you require them. Scale horizontally and vertically with a few mouse clicks.</p>
<p>On the other hand, to offer graph functionalities, they make use of<strong> _from</strong> and <strong>_to</strong> attributes that allow connecting the information. This, in conjunction with edge indexes, allows the processing of graph queries with a great performance.</p>
<h2>Let&#8217;s install it on Debian 9</h2>
<p>In its website <a href="https://www.arangodb.com/download/">download section</a> ArangoDb has two versions: an Enterprise version dedicated to companies and large projects; and another community version that is ideal for small projects or to learn. In this tutorial, I will use the last one.</p>
<p>I&#8217;ll use the command line interface and a user with sudo privileges, so let&#8217;s get started. Open a terminal and run:</p>
<pre class="">:~$ sudo -i</pre>
<p>After entering your password, you will be the root user.</p>
<p><figure id="attachment_5596" aria-describedby="caption-attachment-5596" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5596" src="https://www.osradar.com/wp-content/uploads/2018/09/1-1.png" alt="1.- Getting root access" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/09/1-1.png 1368w, https://www.osradar.com/wp-content/uploads/2018/09/1-1-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/1-1-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/1-1-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/1-1-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/1-1-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/1-1-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-5596" class="wp-caption-text">1.- Getting root access</figcaption></figure></p>
<p>Now you must add the repository so that ArangoDB packages can be installed via APT. Run:</p>
<pre class="">:~# curl -OL https://download.arangodb.com/arangodb33/Debian_9.0/Release.key</pre>
<p><em>Note: If you don&#8217;t have curl installed, you&#8217;ll need to do it with <code>apt install curl.</code></em></p>
<p><figure id="attachment_5597" aria-describedby="caption-attachment-5597" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5597" src="https://www.osradar.com/wp-content/uploads/2018/09/2-1.png" alt="2.- Installing curl and adding ArangoDB repository" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/09/2-1.png 1368w, https://www.osradar.com/wp-content/uploads/2018/09/2-1-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/2-1-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/2-1-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/2-1-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/2-1-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/2-1-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-5597" class="wp-caption-text">2.- Installing curl and adding ArangoDB repository</figcaption></figure></p>
<p>After that, you must run:</p>
<pre class="">:~# apt-key add - &lt; Release.key</pre>
<p><figure id="attachment_5598" aria-describedby="caption-attachment-5598" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5598" src="https://www.osradar.com/wp-content/uploads/2018/09/3-1.png" alt="3.- Adding the repository" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/09/3-1.png 1368w, https://www.osradar.com/wp-content/uploads/2018/09/3-1-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/3-1-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/3-1-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/3-1-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/3-1-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/3-1-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-5598" class="wp-caption-text">3.- Adding the repository</figcaption></figure></p>
<p>Next:</p>
<pre class="">:~# echo 'deb https://download.arangodb.com/arangodb33/Debian_9.0/ /' | sudo tee /etc/apt/sources.list.d/arangodb.list</pre>
<p><figure id="attachment_5599" aria-describedby="caption-attachment-5599" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5599" src="https://www.osradar.com/wp-content/uploads/2018/09/4-2.png" alt="4.- Adding the repository" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/09/4-2.png 1368w, https://www.osradar.com/wp-content/uploads/2018/09/4-2-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/4-2-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/4-2-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/4-2-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/4-2-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/4-2-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-5599" class="wp-caption-text">4.- Adding the repository</figcaption></figure></p>
<p>Now, you must install a necessary package and then refresh the repositories.</p>
<pre class="">:~# apt install apt-transport-https
:~# apt update</pre>
<p><figure id="attachment_5600" aria-describedby="caption-attachment-5600" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5600" src="https://www.osradar.com/wp-content/uploads/2018/09/5-1.png" alt="5.- Refreshing the repositories cache" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/09/5-1.png 1368w, https://www.osradar.com/wp-content/uploads/2018/09/5-1-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/5-1-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/5-1-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/5-1-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/5-1-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/5-1-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-5600" class="wp-caption-text">5.- Refreshing the repositories cache</figcaption></figure></p>
<p>And finally, proceed to install ArangoDB:</p>
<pre class="">:~# apt install arangodb3=3.3.14</pre>
<p>At the end of the installation, you must define the administrator password of the ArangoDB instance.</p>
<p><figure id="attachment_5601" aria-describedby="caption-attachment-5601" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5601" src="https://www.osradar.com/wp-content/uploads/2018/09/6-1.png" alt="6.- Setting a root paswword for ArangoDB" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/09/6-1.png 1368w, https://www.osradar.com/wp-content/uploads/2018/09/6-1-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/6-1-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/6-1-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/6-1-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/6-1-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/6-1-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-5601" class="wp-caption-text">6.- Setting a root password for ArangoDB</figcaption></figure></p>
<p>After entering the password, you will have to repeat it and then you will be asked if you want the program to update automatically.</p>
<p><figure id="attachment_5602" aria-describedby="caption-attachment-5602" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5602" src="https://www.osradar.com/wp-content/uploads/2018/09/7-2.png" alt="7.- Installing ArangoDB" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/09/7-2.png 1368w, https://www.osradar.com/wp-content/uploads/2018/09/7-2-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/7-2-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/7-2-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/7-2-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/7-2-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/7-2-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-5602" class="wp-caption-text">7.- Installing ArangoDB</figcaption></figure></p>
<p>On the next screen, you will be asked about the storage engine. Choose the auto option.</p>
<p><figure id="attachment_5603" aria-describedby="caption-attachment-5603" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5603" src="https://www.osradar.com/wp-content/uploads/2018/09/8-1.png" alt="8.- Choosing the engine for the instance" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/09/8-1.png 1368w, https://www.osradar.com/wp-content/uploads/2018/09/8-1-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/8-1-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/8-1-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/8-1-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/8-1-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/8-1-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-5603" class="wp-caption-text">8.- Choosing the engine for the instance</figcaption></figure></p>
<p>Finally, it will ask you if you want to make a backup of your database every time the package is updated.</p>
<p><figure id="attachment_5604" aria-describedby="caption-attachment-5604" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5604" src="https://www.osradar.com/wp-content/uploads/2018/09/9-1.png" alt="9.- Backup your DB whe the package will be updated" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/09/9-1.png 1368w, https://www.osradar.com/wp-content/uploads/2018/09/9-1-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/9-1-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/9-1-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/9-1-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/9-1-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/9-1-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-5604" class="wp-caption-text">9.- Backup your DB when the package will be updated</figcaption></figure></p>
<p>And finally, the installation will continue automatically.</p>
<h2>Verifying the installation</h2>
<p>At this point in the tutorial, the installation went smoothly, however, to make sure everything is working, run:</p>
<pre class="">:~# systemctl status arangodb3.service</pre>
<p><figure id="attachment_5606" aria-describedby="caption-attachment-5606" style="width: 1368px" class="wp-caption aligncenter"><img loading="lazy" class="size-full wp-image-5606" src="https://www.osradar.com/wp-content/uploads/2018/09/10-1.png" alt="10.- Showing service status" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/09/10-1.png 1368w, https://www.osradar.com/wp-content/uploads/2018/09/10-1-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/10-1-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/10-1-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/10-1-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/10-1-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/10-1-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-5606" class="wp-caption-text">10.- Showing service status</figcaption></figure></p>
<p>You should get a message similar to the one shown in the image. The service is running and active.</p>
<p>The ArangoDB package comes with the following programs:</p>
<ul>
<li>arangod: The ArangoDB database daemon.</li>
<li>arangosh: The ArangoDB shell.</li>
<li>arangoimp: A bulk importer for the ArangoDB server.</li>
<li>arangodump: A tool to create backups of an ArangoDB database in JSON format.</li>
<li>arangorestore: A tool to load data of a backup back into an ArangoDB database.</li>
<li>arango-dfdb: A datafile debugger for ArangoDB</li>
<li>arangobench: A benchmark and test tool.</li>
</ul>
<p>In addition, there is also a beautiful web interface to manage our data in a friendly way. You can access from the browser, with the IP address of the server and port 8529.</p>
<p><figure id="attachment_5608" aria-describedby="caption-attachment-5608" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5608" src="https://www.osradar.com/wp-content/uploads/2018/09/11-1.png" alt="11.- Web interface" width="1366" height="634" srcset="https://www.osradar.com/wp-content/uploads/2018/09/11-1.png 1366w, https://www.osradar.com/wp-content/uploads/2018/09/11-1-300x139.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/11-1-768x356.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/11-1-1024x475.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/11-1-696x323.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/11-1-1068x496.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/11-1-905x420.png 905w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-5608" class="wp-caption-text">11.- Web interface</figcaption></figure></p>
<p>Log in. The user is root and the password is the one you defined during the installation.</p>
<p>Next, you will select which database to access.</p>
<p><figure id="attachment_5609" aria-describedby="caption-attachment-5609" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5609" src="https://www.osradar.com/wp-content/uploads/2018/09/12-1.png" alt="12.- Selecting the Database" width="1366" height="634" srcset="https://www.osradar.com/wp-content/uploads/2018/09/12-1.png 1366w, https://www.osradar.com/wp-content/uploads/2018/09/12-1-300x139.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/12-1-768x356.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/12-1-1024x475.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/12-1-696x323.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/12-1-1068x496.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/12-1-905x420.png 905w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-5609" class="wp-caption-text">12.- Selecting the Database</figcaption></figure></p>
<p>Once you have logged in, you will see the main panel, with a lot of information about your instance.</p>
<p>And that&#8217;s it. Finally, I recommend you consult their <a href="https://docs.arangodb.com/3.3/Manual/GettingStarted/">official documentation</a>, where you can expand this and other knowledge.</p>
<p>ArangoDB is a program that is having a lot of recent success due to its easy handling and robustness, in addition to its flexibility which makes it ideal for complex tasks.</p>
<p>Tell us your experience in the comments.</p>
<p>Please share this article through social networks.</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-arangodb-on-debian-9/">How to install ArangoDB on Debian 9?</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-arangodb-on-debian-9/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
