<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Bash | Jesse Russell</title>
    <link>/tags/bash/</link>
      <atom:link href="/tags/bash/index.xml" rel="self" type="application/rss+xml" />
    <description>Bash</description>
    <generator>Source Themes Academic (https://sourcethemes.com/academic/)</generator><language>en-us</language><copyright>© Jesse Russell 2020</copyright><lastBuildDate>Sun, 10 May 2020 00:00:00 +0000</lastBuildDate>
    <image>
      <url>/img/jrussellio.jpg</url>
      <title>Bash</title>
      <link>/tags/bash/</link>
    </image>
    
    <item>
      <title>install-mongo.sh</title>
      <link>/scripts/install-mongo/</link>
      <pubDate>Sun, 10 May 2020 00:00:00 +0000</pubDate>
      <guid>/scripts/install-mongo/</guid>
      <description>&lt;p&gt;This script installs MongoDB 3.2.&lt;/p&gt;
&lt;p&gt;Usage:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-sh&#34;&gt;curl -sSL https://jrussell.io/install-mongo | sudo bash
&lt;/code&gt;&lt;/pre&gt;
</description>
    </item>
    
    <item>
      <title>setup-samba.sh</title>
      <link>/scripts/setup-samba/</link>
      <pubDate>Tue, 10 Mar 2020 00:00:00 +0000</pubDate>
      <guid>/scripts/setup-samba/</guid>
      <description>&lt;p&gt;&lt;code&gt;setup-samba.sh&lt;/code&gt; guides you through the process of creating a samba user and mounting an external drive as a SMB share.
This script was designed for a Raspberry Pi running Ubuntu 18.04 with an external drive attached.  It was tested on a 2b and a 4.&lt;/p&gt;
&lt;p&gt;Usage:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-sh&#34;&gt;bash &amp;lt;(curl -sSL https://jrussell.io/setup-samba)
&lt;/code&gt;&lt;/pre&gt;
</description>
    </item>
    
    <item>
      <title>recursive-git-clone.sh</title>
      <link>/scripts/recursive-git-clone/</link>
      <pubDate>Tue, 03 Mar 2020 00:00:00 +0000</pubDate>
      <guid>/scripts/recursive-git-clone/</guid>
      <description>&lt;p&gt;This script recursively prompts you for a git URL, cloning the repo into the current directory.&lt;/p&gt;
&lt;p&gt;Usage:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-sh&#34;&gt;bash &amp;lt;(curl -sSL https://jrussell.io/recursive-git-clone)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Full Script:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-sh&#34;&gt;#!/bin/bash
# Tested on Ubuntu 18.04 LTS
# This script endlessly prompts for a git URL and clones it into the current directory
while [ 1 ] ; do
read -p &amp;quot;ENTER GIT URL &amp;gt;&amp;gt; &amp;quot; NAME
git clone $NAME
done
&lt;/code&gt;&lt;/pre&gt;
</description>
    </item>
    
    <item>
      <title>setup-ols.sh</title>
      <link>/scripts/setup-ols/</link>
      <pubDate>Thu, 27 Feb 2020 00:00:00 +0000</pubDate>
      <guid>/scripts/setup-ols/</guid>
      <description>&lt;p&gt;This script first uses &lt;a href=&#34;https://github.com/litespeedtech/ols1clk&#34;&gt;litespeedtech/ols1clk&lt;/a&gt; to install OpenLiteSpeed.&lt;/p&gt;
&lt;p&gt;It also updates the port mapping and updates the admin password, printing it to the console.&lt;/p&gt;
&lt;p&gt;Usage:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-sh&#34;&gt;bash &amp;lt;(curl -sSL https://jrussell.io/setup-ols)
&lt;/code&gt;&lt;/pre&gt;
</description>
    </item>
    
    <item>
      <title>configure-certbot.sh</title>
      <link>/scripts/configure-certbot/</link>
      <pubDate>Sat, 25 Jan 2020 00:00:00 +0000</pubDate>
      <guid>/scripts/configure-certbot/</guid>
      <description>&lt;p&gt;This script allows you to install and configure certbot as well as the Nginx and Cloudflare addons.&lt;/p&gt;
&lt;p&gt;Usage Syntax:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-sh&#34;&gt;bash &amp;lt;(curl -sSL https://jrussell.io/configure-certbot)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Usage Example:&lt;/p&gt;
&lt;script id=&#34;asciicast-309740&#34; src=&#34;https://asciinema.org/a/309740.js&#34; async&gt;&lt;/script&gt;
</description>
    </item>
    
    <item>
      <title>install-the-basics.sh</title>
      <link>/scripts/install-the-basics/</link>
      <pubDate>Fri, 24 Jan 2020 00:00:00 +0000</pubDate>
      <guid>/scripts/install-the-basics/</guid>
      <description>&lt;p&gt;This script installs a basic set of tools and common dependencies.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;git&lt;/li&gt;
&lt;li&gt;nano&lt;/li&gt;
&lt;li&gt;curl&lt;/li&gt;
&lt;li&gt;wget&lt;/li&gt;
&lt;li&gt;unzip&lt;/li&gt;
&lt;li&gt;net-tools&lt;/li&gt;
&lt;li&gt;build-essential&lt;/li&gt;
&lt;li&gt;apt-transport-https&lt;/li&gt;
&lt;li&gt;software-properties-common
Usage Syntax:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code class=&#34;language-sh&#34;&gt;curl -SSL https://jrussell.io/install-the-basics | sudo bash
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Usage Example:&lt;/p&gt;
&lt;script id=&#34;asciicast-310411&#34; src=&#34;https://asciinema.org/a/310411.js&#34; async&gt;&lt;/script&gt;
</description>
    </item>
    
    <item>
      <title>install-homebrew.sh</title>
      <link>/scripts/install-homebrew/</link>
      <pubDate>Thu, 23 Jan 2020 00:00:00 +0000</pubDate>
      <guid>/scripts/install-homebrew/</guid>
      <description>&lt;p&gt;This script downloads homebrew and adds it to your PATH.&lt;/p&gt;
&lt;p&gt;It also installs &lt;code&gt;gcc&lt;/code&gt; through brew as well as the &lt;code&gt;patchelf&lt;/code&gt; apt package.&lt;/p&gt;
&lt;p&gt;Usage:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-sh&#34;&gt;curl -sSL https://jrussell.io/install-homebrew | bash
&lt;/code&gt;&lt;/pre&gt;
</description>
    </item>
    
    <item>
      <title>install-node12.sh</title>
      <link>/scripts/install-node12/</link>
      <pubDate>Wed, 22 Jan 2020 00:00:00 +0000</pubDate>
      <guid>/scripts/install-node12/</guid>
      <description>&lt;p&gt;This script installs Node.js 12 LTS.&lt;/p&gt;
&lt;p&gt;Usage:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-sh&#34;&gt;curl -sSL https://jrussell.io/install-node12 | sudo bash
&lt;/code&gt;&lt;/pre&gt;
</description>
    </item>
    
    <item>
      <title>install-yarn.sh</title>
      <link>/scripts/install-yarn/</link>
      <pubDate>Wed, 22 Jan 2020 00:00:00 +0000</pubDate>
      <guid>/scripts/install-yarn/</guid>
      <description>&lt;p&gt;This script installs yarn package manager.&lt;/p&gt;
&lt;p&gt;Usage:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-sh&#34;&gt;curl -sSL https://jrussell.io/install-yarn | sudo bash
&lt;/code&gt;&lt;/pre&gt;
</description>
    </item>
    
    <item>
      <title>create-sudo-user.sh</title>
      <link>/scripts/create-sudo-user/</link>
      <pubDate>Mon, 20 Jan 2020 00:00:00 +0000</pubDate>
      <guid>/scripts/create-sudo-user/</guid>
      <description>&lt;p&gt;This script condenses the few lines of bash needed for creating a new sudo user into a single command.&lt;/p&gt;
&lt;p&gt;It prompts the current user for the new user&#39;s information.&lt;/p&gt;
&lt;p&gt;Usage:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-sh&#34;&gt;bash &amp;lt;(curl -sSL https://jrussell.io/create-sudo-user)
&lt;/code&gt;&lt;/pre&gt;
</description>
    </item>
    
    <item>
      <title>setup-apt.sh</title>
      <link>/scripts/setup-apt/</link>
      <pubDate>Mon, 20 Jan 2020 00:00:00 +0000</pubDate>
      <guid>/scripts/setup-apt/</guid>
      <description>&lt;p&gt;This script updates the apt cache, performs upgrades, and removes unneeded packages.&lt;/p&gt;
&lt;p&gt;Usage:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-sh&#34;&gt;bash &amp;lt;(curl -sSL https://jrussell.io/setup-apt)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Full Script:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&#34;language-sh&#34;&gt;#!/bin/bash
# Designed for Ubuntu
# Update the apt cache
apt update
# Perform updates
apt -y upgrade
apt -y dist-upgrade
# Remove uneeded packages
apt -y autoremove
&lt;/code&gt;&lt;/pre&gt;
</description>
    </item>
    
    <item>
      <title>Bash Scripts</title>
      <link>/projects/bash-scripts/</link>
      <pubDate>Thu, 12 Sep 2019 00:00:00 +0000</pubDate>
      <guid>/projects/bash-scripts/</guid>
      <description>&lt;div class=&#34;github-card&#34; data-github=&#34;jacfearsome/bash-scripts&#34; data-width=&#34;725&#34; data-height=&#34;155&#34; data-theme=&#34;default&#34;&gt;&lt;/div&gt;
&lt;script src=&#34;//cdn.jsdelivr.net/github-cards/latest/widget.js&#34;&gt;&lt;/script&gt;
&lt;p&gt;I have completely started from scratch, and have chosen to rebuild my script base.&lt;/p&gt;
&lt;p&gt;I am trying a new technique where I just write scripts for my every day tasks and processes, uploading them to the repo.&lt;/p&gt;
</description>
    </item>
    
  </channel>
</rss>
