<?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>FreeBSD &#8211; Hostry Help Center</title>
	<atom:link href="https://help.hostry.com/article-tags/freebsd/feed/" rel="self" type="application/rss+xml" />
	<link>https://help.hostry.com</link>
	<description>Full information on how to use HOSTRY, provided by 24/7 community based support</description>
	<lastBuildDate>Mon, 08 Feb 2021 08:27:05 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9.13</generator>

<image>
	<url>https://help.hostry.com/wp-content/uploads/cache/2021/01/cropped-apple-icon-180x180-1/836712163.png</url>
	<title>FreeBSD &#8211; Hostry Help Center</title>
	<link>https://help.hostry.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Create a Sudo User on FreeBSD</title>
		<link>https://help.hostry.com/knowledge-base/how-to-create-a-sudo-user-on-freebsd/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-create-a-sudo-user-on-freebsd/#comments</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Tue, 18 Aug 2020 09:05:50 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=1944</guid>

					<description><![CDATA[Install Sudo You will be able to install this from the ports collections if it is installed on your system. To do this, enter the following command: You can also install the sudo binary package using pkg: Add a Sudo User First you need to create a user account to [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 id="install-sudo" >Install Sudo</h2>



<p>You will be able to install this from the ports collections if it is installed on your system. To do this, enter the following command:</p>



<pre class="wp-block-code"><code># cd /usr/ports/security/sudo/
# make install clean</code></pre>



<p>You can also install the <strong>sudo </strong>binary package using pkg:</p>



<pre class="wp-block-code"><code># pkg install sudo</code></pre>



<h2 id="add-a-sudo-user" >Add a Sudo User</h2>



<p>First you need to create a user account to use with <strong>sudo</strong></p>



<pre class="wp-block-code"><code># adduser</code></pre>



<p>Answer the questions from the suggested options to create a user. This tutorial will use <strong>user.example</strong></p>



<h2 id="add-user-to-wheel-group" >Add User to Wheel Group</h2>



<p>This group called &#8220;<strong>Wheel</strong>&#8221; limits the list of users who can use root</p>



<pre class="wp-block-code"><code># pw group mod wheel -m user.example</code></pre>



<h2 id="edit-the-sudoers-file" >Edit the sudoers file</h2>



<p>First, you need to check the sudoers file with <strong>visudo </strong>extension</p>



<pre class="wp-block-code"><code># visudo</code></pre>



<p>Look for a wheelset. Remove comment if line is off. When you&#8217;re ready to save the file, it should look like this</p>



<pre class="wp-block-code"><code>## Allows people in group wheel to run all commands
%wheel  ALL=(ALL)       ALL</code></pre>



<p>Save and exit vi. <strong>ESC </strong>type, then : <strong>W Q</strong>, then <strong>ENTER</strong></p>



<p><strong><em>IMPORTANT</em></strong>! The visudo utility performs a syntax check before making changes to the file. The wrong sudoers file can break your system. Never edit <strong>/etc/sudoers </strong>directly. For example, if you make a mistake, you will see this when exiting <strong>visudo</strong>. </p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-create-a-sudo-user-on-freebsd/feed/</wfw:commentRss>
			<slash:comments>460</slash:comments>
		
		
			</item>
		<item>
		<title>How to install eSpeak on FreeBSD 12</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-espeak-on-frebsd-12/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-install-espeak-on-frebsd-12/#comments</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Fri, 10 Jan 2020 10:49:56 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=1229</guid>

					<description><![CDATA[eSpeak is a compact open-source speech synthesizer for English and other languages, for Linux and Windows. http://espeak.sourceforge.net eSpeak is available as: A command-line program (Linux and Windows) for reading text from a file or from standard input; A version of the shared library for use by other programs. (On Windows, [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong><em><a href="http://espeak.sourceforge.net/">eSpeak</a></em></strong> is a compact open-source speech synthesizer for English and other languages, for Linux and Windows. http://espeak.sourceforge.net</p>



<p>eSpeak is available as: </p>



<ul><li><strong>A command-line program (Linux and Windows) for reading text from a file or from standard input; </strong></li><li><strong>A version of the shared library for use by other programs. (On Windows, this is a DLL);</strong></li><li><strong>The SAPI5 version is for Windows, so it can be used with screen readers and other programs that support the Windows SAPI5 interface; </strong></li><li><strong>eSpeak has been ported to other platforms, including Android, Mac OSX, and Solaris.</strong></li></ul>



<h2 id="install-espeak" >Install eSpeak</h2>



<p>To get started, you need to log in as the root user and run the following command to install eSpeak:</p>



<pre class="wp-block-code"><code># pkg install espeak -y</code></pre>



<h2 id="create-your-first-tts-audio-file" >Create Your First TTS Audio File</h2>



<p>Test eSpeak by asking him to pronounce the letters <strong>y j w c t j </strong>when writing output as<strong> .wav</strong> file with name<strong> espeak-talk.wav</strong> in<strong> /tmp/</strong> directory. <br>Next, we say that we need a space between 60, a pause between words. We also say that we want step 70 and a read speed of 100.</p>



<pre class="wp-block-code"><code># espeak "y j w c t j" -w /tmp/espeak-talk.wav -g 60  -p 70 -s 100 -v en-uk</code></pre>



<p>Now you&#8217;ll have a file with the name <strong>espeak-talk.wav </strong>located in<strong> /tmp/</strong>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-install-espeak-on-frebsd-12/feed/</wfw:commentRss>
			<slash:comments>461</slash:comments>
		
		
			</item>
		<item>
		<title>How To Install MongoDB on FreeBSD</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-mongodb-on-freebsd/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-install-mongodb-on-freebsd/#comments</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Wed, 21 Oct 2020 10:01:38 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=2387</guid>

					<description><![CDATA[MongoDB is a very powerful resource and fast NoSQL database. As for the repositories on Debian, they update very slowly and often contain outdated versions of packages. This article&#8217;ll work for both x86 and x64 architectures, but note that MongoDB works best on 64-bit architectures. Update the package repository \Before [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>MongoDB is a very powerful resource and fast NoSQL database. As for the repositories on Debian, they update very slowly and often contain outdated versions of packages. This article&#8217;ll work for both x86 and x64 architectures, but note that MongoDB works best on 64-bit architectures.</p>



<h2 id="update-the-package-repository" >Update the package repository</h2>



<p>\Before installing MongoDB, you need to make sure everything is up to date. This can be done by running the following command accordingly:</p>



<pre class="wp-block-code"><code>pkg update</code></pre>



<p>There may be the following message stating that &#8220;<strong>package management tool</strong>&#8221; is not available, type <strong>Y</strong>, press Enter to continue. You can run pkg update -f a forced update if needed. If unsuccessful, go to step 2 &#8211;<strong> Installing MongoDB</strong></p>



<h2 id="installing-mongodb" >Installing MongoDB</h2>



<p>Install <strong>MongoDB</strong> using the following command:</p>



<pre class="wp-block-code"><code>pkg install mongodb</code></pre>



<h2 id="start-and-test-the-installation-of-mongodb" >Start and Test The Installation of MongoDB</h2>



<p>Check your <strong>MongoDB</strong> installation. This command will start the service:</p>



<pre class="wp-block-code"><code>service mongod onestart</code></pre>



<p>The consol&#8217;ll look loke this:</p>



<pre class="wp-block-code"><code>MongoDB shell version: 4.4
connecting to: test
Welcome to the MongoDB shell.
For interactive help, type "help".
For more comprehensive documentation, see
    http://docs.mongodb.org/
Questions? Try the support group
    http://groups.google.com/group/mongodb-user</code></pre>



<h2 id="turn-the-mongodb-at-each-boot" >Turn the MongoDB at each boot</h2>



<p>If you don&#8217;t want to use &#8220;<strong>onestart</strong>&#8221; to start <strong>Mongo</strong> on boot, you can configure it to run start instead. To do this, you need to edit <strong><em>/etc/rc.conf</em></strong><em>.</em> with vi or any other text editor and add mongod_enable = <strong>&#8220;YES&#8221;</strong> to the file. Once finished, it will start when your server boots up and you can now use its service mongod start to start the Mongo service. Other service commands such as stop and status will also be available.</p>



<p>You can try the Hostry&#8217;s VPS <a href="https://hostry.com/products/vps/"><strong>here</strong></a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-install-mongodb-on-freebsd/feed/</wfw:commentRss>
			<slash:comments>407</slash:comments>
		
		
			</item>
		<item>
		<title>How To Install Nginx on FreeBSD</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-nginx-on-freebsd/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-install-nginx-on-freebsd/#comments</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Fri, 06 Dec 2019 09:19:20 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=984</guid>

					<description><![CDATA[This guide will help you install the Nginx web server for the FreeBSD operating system. First you need to install or upgrade (if already installed) the ports tree using the following command: It usually takes a few minutes to download, and after the download is complete, you will proceed to [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>This guide will help you install the Nginx web server for the FreeBSD operating system. First you need to install or upgrade (if already installed) the ports tree using the following command:</p>



<pre class="wp-block-code"><code>portsnap fetch extract</code></pre>



<p>It usually takes a few minutes to download, and after the download is complete, you will proceed to the next step, which will be described. </p>



<h2 id="upgrade-pkg" >Upgrade pkg</h2>



<p>To install these ports that were recently downloaded, you need to update pgk by running the following command:</p>



<pre class="wp-block-code"><code>cd /usr/ports/ports-mgmt/pkg
make reinstall</code></pre>



<p>Then you can already run the command to clean the directory from all temporary files:</p>



<pre class="wp-block-code"><code>make clean</code></pre>



<h2 id="nginx-installation" >Nginx installation</h2>



<p>This command configures, compiles, and installs the Nginx web server</p>



<pre class="wp-block-code"><code>cd /usr/ports/www/nginx
make config-recursive</code></pre>



<p>You will get the configuration pop up, and when you can choose the following: HTTP_GZIP_STATIC, HTTP_SSL, HTTP_DAV_EXT. It may be desirable to include other modules for compiling with Nginx. Then, install Nginx</p>



<pre class="wp-block-code"><code>make install</code></pre>



<p>After the installation is complete, you will need to run the following to clear the directory of any files that will be created by this step:</p>



<pre class="wp-block-code"><code>make clean </code></pre>



<h2 id="configure-%d0%b0utorun" >Configure Аutorun</h2>



<p>To start nginx when your server boots up, edit <strong>/etc/rc.conf. </strong>You can edit this file by running ee  <strong>/etc/rc.conf. </strong>Alternatively you can use <strong>nano</strong>. Nano can be installed by running p<strong><em>kg install nano</em></strong></p>



<p>In <strong>/etc/rc.conf.</strong> you need to add nginx_enable = <strong><em>&#8220;<span style="text-decoration: underline;">YES</span>&#8221; </em></strong>to the end of the file. Once this is done, you can proceed to the next step.</p>



<h3 id="Starting_Nginx" id="starting-nginx" >Starting Nginx</h3>



<p>To start, enter the command:</p>



<pre class="wp-block-code"><code>service nginx start</code></pre>



<p>If the launch was successful, you can see the output, which will be approximately the following:</p>



<pre class="wp-block-code"><code>Performing sanity check on nginx configuration:
nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful
Starting nginx.</code></pre>



<p>To make sure Nginx is configured correctly, you can go to your IP address in a web browser. Go to <strong>http://0.0.0.0</strong> (change the IP accordingly). If successful, you will see the <strong><em>“Welcome to Nginx!” </em></strong>Page</p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-install-nginx-on-freebsd/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
