<?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>firebird Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/firebird/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Thu, 04 Jun 2020 23:09:52 +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 Firebird on Ubuntu 20.04/ 18.04?</title>
		<link>https://www.osradar.com/install-firebird-ubuntu-18-04/</link>
					<comments>https://www.osradar.com/install-firebird-ubuntu-18-04/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 05 Jun 2020 00:22:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[bionic]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[firebird]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=14920</guid>

					<description><![CDATA[<p>Database management systems are sufficient for many kinds of projects. Of course, they abound with MySQL / MariaDB or PostgreSQL popular but there are also other very good and efficient ones like SQLite or Firebird. The latter is less known but equally efficient and sophisticated. Of course, its operation is more similar to SQLite than [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-firebird-ubuntu-18-04/">How to install Firebird on Ubuntu 20.04/ 18.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>Database management systems are sufficient for many kinds of projects. Of course, they abound with MySQL / MariaDB or PostgreSQL popular but there are also other very good and efficient ones like SQLite or Firebird. The latter is less known but equally efficient and sophisticated. Of course, its operation is more similar to SQLite than to the very robust MySQL / MariaDB. So in this post, I will show you how to install Firebird on Ubuntu 20.04 / 18.04.</p>



<p><a rel="noreferrer noopener" aria-label="Firebird (opens in a new tab)" href="https://firebirdsql.org" target="_blank">Firebird</a> is a relational database management system written in C++, open<g class="gr_ gr_5 gr-alert gr_spell gr_inline_cards gr_disable_anim_appear ContextualSpelling ins-del multiReplace gr-progress" id="5" data-gr-id="5">&#8211;</g>source and based on Interbase version 6. It uses SQL language which makes its learning curve quite low. It is less known than the highly popular MySQL / MariaDB but also used in large projects for its efficiency.</p>



<p>On the other hand, some of the features of the application are the following:</p>



<ul><li>It is scalable</li><li>Support the Client/Server architecture by TCP protocol.</li><li>Many drivers are available for various programming languages such as <a href="https://www.osradar.com/tag/php/" target="_blank" rel="noreferrer noopener" aria-label="PHP (opens in a new tab)">PHP</a>, <a rel="noreferrer noopener" aria-label="Java (opens in a new tab)" href="https://www.osradar.com/tag/java/" target="_blank">Java</a> or C++.</li><li>Quite secure in user management.</li><li>Cross-platform. With installable binaries for Windows, Linux, BSD, Solaris, <g class="gr_ gr_11 gr-alert gr_gramm gr_inline_cards gr_run_anim Punctuation only-ins replaceWithoutSep" id="11" data-gr-id="11">and</g> others.</li></ul>



<p>So I will teach you how to install it and we will take the opportunity to do some small tests with the application.</p>



<h2>Install Firebird on Ubuntu 20.04 / 18.04</h2>



<p>The version that is available in the official Ubuntu 18.04 repositories <g class="gr_ gr_5 gr-alert gr_gramm gr_inline_cards gr_run_anim Grammar multiReplace" id="5" data-gr-id="5">include</g>s Firebird. But the included version is quite old and does not take advantage of the new features of the recent versions as the correction of quite critical bugs.</p>



<p>In the case of Ubuntu 20.04 already Firebird 3 is in the official repositories. That is, nothing needs to be added.</p>



<p><strong>Only for Ubuntu 18.04</strong>:</p>



<p>Fortunately, we have a dedicated repository for Ubuntu 18.04, so let us get to work.</p>



<p>Open a terminal session or connect to your server using SSH and add the repository.</p>



<pre class="wp-block-preformatted">:~$ sudo add-apt-repository ppa:mapopa/firebird3.0</pre>



<p>After it is added. Refresh the APT cache and install the necessary packages:</p>



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



<p><strong>For Ubuntu 20.04 / 18.04</strong>:</p>



<pre class="wp-block-preformatted">:~$ sudo apt firebird3.0-server</pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="276" src="https://www.osradar.com/wp-content/uploads/2019/10/1-18-1024x276.png" alt="1.- Install Firebird on Ubuntu 20.04 /18.04" class="wp-image-14921" srcset="https://www.osradar.com/wp-content/uploads/2019/10/1-18-1024x276.png 1024w, https://www.osradar.com/wp-content/uploads/2019/10/1-18-300x81.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/1-18-768x207.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/1-18-696x187.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/1-18-1068x287.png 1068w, https://www.osradar.com/wp-content/uploads/2019/10/1-18.png 1278w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- Install Firebird on Ubuntu 20.04 /18.04</figcaption></figure>



<p>During installation, you will be informed that the default user is &#8220;SYSDBA&#8221;. Define a password for this main user. It has to be quite secure.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="529" src="https://www.osradar.com/wp-content/uploads/2019/10/2-17-1024x529.png" alt="2.- Set a password for the default user" class="wp-image-14922" srcset="https://www.osradar.com/wp-content/uploads/2019/10/2-17-1024x529.png 1024w, https://www.osradar.com/wp-content/uploads/2019/10/2-17-300x155.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/2-17-768x397.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/2-17-696x360.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/2-17-1068x552.png 1068w, https://www.osradar.com/wp-content/uploads/2019/10/2-17-813x420.png 813w, https://www.osradar.com/wp-content/uploads/2019/10/2-17.png 1357w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>2.- Set a password for the default user</figcaption></figure>



<p>Once you have defined the password. All you have to do is reconfigure the package so that all the changes are properly applied.</p>



<pre class="wp-block-preformatted">:~$ sudo dpkg-reconfigure firebird3.0-server</pre>



<p>And it is ready to use.</p>



<h2>Working with Firebird on Ubuntu 20.04 / 18.04</h2>



<p>To enter the Firebird administration console and start using commands, just execute:</p>



<pre class="wp-block-preformatted">:~$ sudo isql-fb</pre>



<figure class="wp-block-image"><img loading="lazy" width="592" height="104" src="https://www.osradar.com/wp-content/uploads/2019/10/3-16.png" alt="3.- Using Firebird" class="wp-image-14923" srcset="https://www.osradar.com/wp-content/uploads/2019/10/3-16.png 592w, https://www.osradar.com/wp-content/uploads/2019/10/3-16-300x53.png 300w" sizes="(max-width: 592px) 100vw, 592px" /><figcaption>3.- Using Firebird</figcaption></figure>



<p>With this we will be able to execute commands. And to get out just use this other one:</p>



<pre class="wp-block-preformatted">&gt; quit;</pre>



<p>Before starting to create databases and tables, it is necessary to talk about one thing. Firebird can store and access your databases from anywhere SQLite style, but can also restrict the location of them. </p>



<p>To make it accessible from anywhere or from a specific directory, just edit its configuration file:</p>



<pre class="wp-block-preformatted">:~$ sudo nano /etc/firebird/3.0/firebird.conf</pre>



<p>Leave it as it is in the image to allow access to the database from any directory. There you can set a restriction to a particular directory.</p>



<figure class="wp-block-image"><img loading="lazy" width="619" height="391" src="https://www.osradar.com/wp-content/uploads/2019/10/4-14.png" alt="4.- Making some changes in the configuration file" class="wp-image-14924" srcset="https://www.osradar.com/wp-content/uploads/2019/10/4-14.png 619w, https://www.osradar.com/wp-content/uploads/2019/10/4-14-300x189.png 300w" sizes="(max-width: 619px) 100vw, 619px" /><figcaption>4.- Making some changes in the configuration file</figcaption></figure>



<p>Save the changes and close the file. Then, to apply the changes, just restart the service.</p>



<pre class="wp-block-preformatted">:~$ sudo systemctl restart firebird3.0</pre>



<h3>Creating databases and tables</h3>



<p>Now we can start creating new databases and tables.</p>



<p>First we connect again to the Firebird shell. </p>



<pre class="wp-block-preformatted">:~$ sudo isql-fb</pre>



<p>And then, we proceed to create the new database with the following syntax:</p>



<pre class="wp-block-preformatted">:&gt; create database ["database_path.fdb"] user ['user']password '[password]';</pre>



<p>For example:</p>



<pre class="wp-block-preformatted">:&gt; create database "/var/lib/firebird/3.0/data/first_database.fdb" user 'SYSDBA' password 'angelo123';</pre>



<p>Then, to use it or rather to connect to it we use this other command:</p>



<pre class="wp-block-preformatted">:&gt; connect "/var/lib/firebird/3.0/data/first_database.fdb" user 'SYSDBA' password 'angelo123';</pre>



<p>Now we&#8217;re ready to start creating tables. </p>



<p>For this example I will create a table with only two fields.</p>



<pre class="wp-block-preformatted">:&gt; CREATE TABLE STUDENT (ID INT NOT NULL PRIMARY KEY, NAME VARCHAR(25));</pre>



<p>So, you can show all the tables by using this command:</p>



<pre class="wp-block-preformatted">:&gt; show tables;</pre>



<figure class="wp-block-image"><img loading="lazy" width="649" height="142" src="https://www.osradar.com/wp-content/uploads/2019/10/6-10.png" alt="6.- Creating table with two columns" class="wp-image-14942" srcset="https://www.osradar.com/wp-content/uploads/2019/10/6-10.png 649w, https://www.osradar.com/wp-content/uploads/2019/10/6-10-300x66.png 300w" sizes="(max-width: 649px) 100vw, 649px" /><figcaption>6.- Creating table with two columns</figcaption></figure>



<p>Now, I am going to insert some data. Just use the following command:</p>



<pre class="wp-block-preformatted">:&gt; INSERT INTO STUDENT VALUES (1, 'Angelo');</pre>



<p>And get the data:</p>



<pre class="wp-block-preformatted">:&gt; select * from STUDENT;</pre>



<figure class="wp-block-image"><img loading="lazy" width="518" height="157" src="https://www.osradar.com/wp-content/uploads/2019/10/7-7.png" alt="7.- Using Firebird on Ubuntu 20.04 / 18.04" class="wp-image-14945" srcset="https://www.osradar.com/wp-content/uploads/2019/10/7-7.png 518w, https://www.osradar.com/wp-content/uploads/2019/10/7-7-300x91.png 300w" sizes="(max-width: 518px) 100vw, 518px" /><figcaption>7.- Using Firebird on Ubuntu 20.04 / 18.04</figcaption></figure>



<p>As you can see being SQL language, the commands and operations are similar to MySQL / MariaDB and PostgreSQL. </p>



<p>Finally, you can show the installed version:</p>



<pre class="wp-block-preformatted">:&gt; show version;</pre>



<figure class="wp-block-image"><img loading="lazy" width="508" height="126" src="https://www.osradar.com/wp-content/uploads/2019/10/8-6.png" alt="8.- Firebird on Ubuntu 20.04 / 18.04" class="wp-image-14946" srcset="https://www.osradar.com/wp-content/uploads/2019/10/8-6.png 508w, https://www.osradar.com/wp-content/uploads/2019/10/8-6-300x74.png 300w" sizes="(max-width: 508px) 100vw, 508px" /><figcaption>8.- Firebird on Ubuntu 20.04 / 18.04</figcaption></figure>



<p>And that is it.</p>



<h2>Conclusion</h2>



<p>Firebird may not be popular but is considered by many projects for its efficiency. Being of the SQL family its commands are not so different from those of other better known programs such as <a rel="noreferrer noopener" aria-label="MySQL (opens in a new tab)" href="https://www.osradar.com/how-to-install-mysql-8-on-centos-8/" target="_blank">MySQL</a> or MariaDB. So we only have to work with it.</p>



<p>Share this post and join <a href="https://t.me/osradar" target="_blank" rel="noreferrer noopener">our Telegram Channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-firebird-ubuntu-18-04/">How to install Firebird on Ubuntu 20.04/ 18.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-firebird-ubuntu-18-04/feed/</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Firebird on CentOS 8?</title>
		<link>https://www.osradar.com/install-firebird-centos-8/</link>
					<comments>https://www.osradar.com/install-firebird-centos-8/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 01 Jan 2020 23:35:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Centos 8]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[firebird]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=17181</guid>

					<description><![CDATA[<p>In this post, you will learn how to install Firebird on CentOS 8. We already know that the database is an essential part of any application. Especially if we have to record transactions or data in it. However, we also know that there are many database management systems. So, which one to choose? It all [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-firebird-centos-8/">How to install Firebird on CentOS 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><strong>In this post, you will learn how to install Firebird on CentOS 8.</strong></p>



<p>We already know that the database is an essential part of any application. Especially if we have to record transactions or data in it. However, we also know that there are many database management systems. So, which one to choose? It all depends on the circumstances. Therefore, it is good that there are many alternatives. One of them is Firebird.</p>



<p><a rel="noreferrer noopener" href="https://firebirdsql.org" target="_blank">Firebird</a> is a relational database management system written in C++, open-source and based on Interbase version 6. It uses SQL language which makes its learning curve quite low. It is less known than the highly popular MySQL  / MariaDB but also used in large projects for its efficiency.</p>



<p>On the other hand, some of the features of the application are the following:</p>



<ul><li>It is scalable</li><li>Support the Client/Server architecture by TCP protocol.</li><li>Many drivers are available for various programming languages such as <a href="https://www.osradar.com/tag/php/" target="_blank" rel="noreferrer noopener">PHP</a>, <a rel="noreferrer noopener" href="https://www.osradar.com/tag/java/" target="_blank">Java</a> or C++.</li><li>Quite secure in user management.</li><li>Cross-platform. With installable binaries for Windows, Linux, BSD, Solaris, and others.</li></ul>



<p>So, let us do it.</p>



<h2>Install Firebird on CentOS 8</h2>



<h3>1.- Enable the EPEL repository on CentOS 8</h3>



<p>The latest available version of Firebird can be obtained by downloading the source code from the project website and then compiling it. However, it is available in the EPEL repository, so we have to enable it. </p>



<p>For this, I recommend you to read our post:</p>



<p><a href="https://www.osradar.com/nable-the-epel-repository-centos-rhel-oracle-linux-8/" target="_blank" rel="noreferrer noopener" aria-label="How to enable the EPEL repository on CentOS 8? (opens in a new tab)">How to enable the EPEL repository on CentOS 8?</a></p>



<p>There I explain step by step the process.</p>



<h3>2.- Install Firebird on CentOS 8</h3>



<p>After the repository has been enabled, simply use the following command to perform the installation:</p>



<pre class="wp-block-preformatted">:~# dnf install firebird</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="323" src="https://www.osradar.com/wp-content/uploads/2019/12/1-15-1024x323.png" alt="1.- Install Firebird on CentOS 8" class="wp-image-17182" srcset="https://www.osradar.com/wp-content/uploads/2019/12/1-15-1024x323.png 1024w, https://www.osradar.com/wp-content/uploads/2019/12/1-15-300x95.png 300w, https://www.osradar.com/wp-content/uploads/2019/12/1-15-768x242.png 768w, https://www.osradar.com/wp-content/uploads/2019/12/1-15-696x220.png 696w, https://www.osradar.com/wp-content/uploads/2019/12/1-15-1068x337.png 1068w, https://www.osradar.com/wp-content/uploads/2019/12/1-15-1330x420.png 1330w, https://www.osradar.com/wp-content/uploads/2019/12/1-15.png 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- Install Firebird on CentOS 8</figcaption></figure>



<p>During the process, you will have to accept the GPG key from the repository. It will then start the download and installation.</p>



<p>Once you&#8217;ve installed it. You can access the program shell with the command:</p>



<pre class="wp-block-preformatted">:~$ isql-fb</pre>



<p>In the previous command, you have to run it as the root user.</p>



<p>Inside it you can start working with the application, creating databases and tables.</p>



<p>However, it is recommended to see the configuration file where you can, for example, set a specific directory for the databases. Or specify that anywhere can be created and accessed.</p>



<pre class="wp-block-preformatted">:~$ sudo nano /etc/firebird/firebird.conf</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="741" height="362" src="https://www.osradar.com/wp-content/uploads/2019/12/2-14.png" alt="2.- The configuration file of Firebird" class="wp-image-17183" srcset="https://www.osradar.com/wp-content/uploads/2019/12/2-14.png 741w, https://www.osradar.com/wp-content/uploads/2019/12/2-14-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2019/12/2-14-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/12/2-14-696x340.png 696w" sizes="(max-width: 741px) 100vw, 741px" /><figcaption>2.- The configuration file of Firebird</figcaption></figure>



<p>Finally, you can check the help to learn about the firebird command:</p>



<pre class="wp-block-preformatted">:~$ firebird -h</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="806" height="227" src="https://www.osradar.com/wp-content/uploads/2019/12/3-15.png" alt="3.- Firebird on CentOS 8" class="wp-image-17184" srcset="https://www.osradar.com/wp-content/uploads/2019/12/3-15.png 806w, https://www.osradar.com/wp-content/uploads/2019/12/3-15-300x84.png 300w, https://www.osradar.com/wp-content/uploads/2019/12/3-15-768x216.png 768w, https://www.osradar.com/wp-content/uploads/2019/12/3-15-696x196.png 696w" sizes="(max-width: 806px) 100vw, 806px" /><figcaption>3.- Firebird on CentOS 8</figcaption></figure>



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



<h2>Conclusion</h2>



<p>Firebird is a not-so-popular database manager that is quite useful for applications of various kinds. In this post, you&#8217;ve learned how to install it on CentOS 8.</p>



<p>Please share this post and join <a href="https://t.me/osradar" target="_blank" rel="noreferrer noopener" aria-label="our Telegram channel. (opens in a new tab)">our Telegram channel.</a></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-firebird-centos-8/">How to install Firebird on CentOS 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/install-firebird-centos-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
