<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Ubuntu on Shafiq Alibhai</title>
    <link>https://www.shafiq.in/zh/tags/ubuntu/</link>
    <description>Recent content in Ubuntu on Shafiq Alibhai</description>
    <generator>Hugo</generator>
    <language>zh-CN</language>
    <copyright>© 2009-2026 All rights reserved.</copyright>
    <lastBuildDate>Wed, 19 Sep 2018 15:44:02 +0000</lastBuildDate>
    <atom:link href="https://www.shafiq.in/zh/tags/ubuntu/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>scripts/extract-cert.c:21:10: fatal error: openssl/bio.h: No such file or directory</title>
      <link>https://www.shafiq.in/zh/blog/scripts/extract-cert.c2110-fatal-error-openssl/bio.h-no-such-file-or-directory/</link>
      <pubDate>Wed, 19 Sep 2018 15:44:02 +0000</pubDate>
      <guid>https://www.shafiq.in/zh/blog/scripts/extract-cert.c2110-fatal-error-openssl/bio.h-no-such-file-or-directory/</guid>
      <description>&lt;p&gt;&lt;code&gt;sudo apt-get install -y libssl-dev&lt;/code&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>/bin/sh: 1: bison: not found</title>
      <link>https://www.shafiq.in/zh/blog/bin/sh-1-bison-not-found/</link>
      <pubDate>Wed, 19 Sep 2018 15:33:07 +0000</pubDate>
      <guid>https://www.shafiq.in/zh/blog/bin/sh-1-bison-not-found/</guid>
      <description>&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sudo apt-get install bison&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description>
    </item>
    <item>
      <title>/bin/sh: 1: flex: not found</title>
      <link>https://www.shafiq.in/zh/blog/bin/sh-1-flex-not-found/</link>
      <pubDate>Wed, 19 Sep 2018 15:32:11 +0000</pubDate>
      <guid>https://www.shafiq.in/zh/blog/bin/sh-1-flex-not-found/</guid>
      <description>&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sudo apt-get install flex&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description>
    </item>
    <item>
      <title>A Simple Guide to Installing SSHPass on Ubuntu and macOS</title>
      <link>https://www.shafiq.in/zh/blog/a-simple-guide-to-installing-sshpass-on-ubuntu-and-macos/</link>
      <pubDate>Sun, 02 Sep 2018 10:33:49 +0000</pubDate>
      <guid>https://www.shafiq.in/zh/blog/a-simple-guide-to-installing-sshpass-on-ubuntu-and-macos/</guid>
      <description>&lt;h1 id=&#34;introduction&#34;&gt;Introduction&lt;a class=&#34;anchor&#34; href=&#34;#introduction&#34;&gt;#&lt;/a&gt;&lt;/h1&gt;&#xA;&lt;p&gt;SSHPass is a nifty little tool that lets you automate SSH login by bypassing the usual password prompt. While it&amp;rsquo;s super convenient for scripting, bear in mind that it&amp;rsquo;s not ideal for a multi-user setup due to security concerns. However, if you&amp;rsquo;re using it on your personal development machine, it&amp;rsquo;s pretty harmless.&lt;/p&gt;&#xA;&lt;h2 id=&#34;how-to-install-sshpass-on-ubuntu&#34;&gt;How to Install SSHPass on Ubuntu&lt;a class=&#34;anchor&#34; href=&#34;#how-to-install-sshpass-on-ubuntu&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;Installing SSHPass on Ubuntu is as straightforward as it gets. All you need to do is open up your terminal and run the following command:&lt;/p&gt;</description>
    </item>
    <item>
      <title>A Simple Guide to Installing Docker CE on Ubuntu</title>
      <link>https://www.shafiq.in/zh/blog/a-simple-guide-to-installing-docker-ce-on-ubuntu/</link>
      <pubDate>Sun, 02 Sep 2018 09:09:10 +0000</pubDate>
      <guid>https://www.shafiq.in/zh/blog/a-simple-guide-to-installing-docker-ce-on-ubuntu/</guid>
      <description>&lt;h2 id=&#34;what-you-need-before-you-begin&#34;&gt;What You Need Before You Begin&lt;a class=&#34;anchor&#34; href=&#34;#what-you-need-before-you-begin&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;h3 id=&#34;operating-system-requirements&#34;&gt;Operating System Requirements&lt;a class=&#34;anchor&#34; href=&#34;#operating-system-requirements&#34;&gt;#&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;p&gt;First things first, make sure you&amp;rsquo;re running one of the following 64-bit Ubuntu versions to install Docker CE:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Ubuntu 18.04 (Bionic) - LTS&lt;/li&gt;&#xA;&lt;li&gt;Ubuntu 17.10 (Artful)&lt;/li&gt;&#xA;&lt;li&gt;Ubuntu 16.04 (Xenial) - LTS&lt;/li&gt;&#xA;&lt;li&gt;Ubuntu 14.04 (Trusty) - LTS&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Docker CE is compatible with these architectures: &lt;code&gt;x86_64&lt;/code&gt;, &lt;code&gt;armhf&lt;/code&gt;, &lt;code&gt;s390x&lt;/code&gt; (IBM Z), and &lt;code&gt;ppc64le&lt;/code&gt; (IBM Power).&lt;/p&gt;&#xA;&lt;blockquote class=&#39;book-hint &#39;&gt;&#xA;&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: For IBM Z and Power architectures, you&amp;rsquo;ll need at least Ubuntu 16.04 (Xenial) or higher.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Running Firefox OS apps on Ubuntu linux</title>
      <link>https://www.shafiq.in/zh/blog/running-firefox-os-apps-on-ubuntu-linux/</link>
      <pubDate>Sat, 24 Nov 2012 12:02:39 +0000</pubDate>
      <guid>https://www.shafiq.in/zh/blog/running-firefox-os-apps-on-ubuntu-linux/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://www.shafiq.in/wp-content/uploads/2012/11/2012-11-24-172842_1366x768_scrot.png&#34;&gt;&lt;img class=&#34;aligncenter size-full wp-image-1449&#34; title=&#34;2012-11-24-172842_1366x768_scrot&#34; alt=&#34;&#34; src=&#34;wp-content/uploads/2012/11/2012-11-24-172842_1366x768_scrot.png&#34; height=&#34;339&#34; width=&#34;604&#34; srcset=&#34;https://www.shafiq.in/wp-content/uploads/2012/11/2012-11-24-172842_1366x768_scrot.png 1366w, https://www.shafiq.in/wp-content/uploads/2012/11/2012-11-24-172842_1366x768_scrot.png 300w, https://www.shafiq.in/wp-content/uploads/2012/11/2012-11-24-172842_1366x768_scrot.png 768w, https://www.shafiq.in/wp-content/uploads/2012/11/2012-11-24-172842_1366x768_scrot.png 1024w&#34; sizes=&#34;(max-width: 604px) 100vw, 604px&#34; /&gt;&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>A Simple Guide to Installing Both Firefox 4 and Firefox 3 on Ubuntu</title>
      <link>https://www.shafiq.in/zh/blog/a-simple-guide-to-installing-both-firefox-4-and-firefox-3-on-ubuntu/</link>
      <pubDate>Mon, 07 Feb 2011 07:03:39 +0000</pubDate>
      <guid>https://www.shafiq.in/zh/blog/a-simple-guide-to-installing-both-firefox-4-and-firefox-3-on-ubuntu/</guid>
      <description>&lt;h3 id=&#34;step-1-add-the-mozilla-daily-ppa-repository&#34;&gt;Step 1: Add the Mozilla Daily PPA Repository&lt;a class=&#34;anchor&#34; href=&#34;#step-1-add-the-mozilla-daily-ppa-repository&#34;&gt;#&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;p&gt;First, open up your terminal window. Once it&amp;rsquo;s up, type in the command below to add the Ubuntu Mozilla Daily PPA repository to your system:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;You&amp;rsquo;ll be prompted to enter your password. Go ahead and do that, then hit Enter to confirm the addition of the repository.&lt;/p&gt;&#xA;&lt;h3 id=&#34;step-2-update-your-package-list&#34;&gt;Step 2: Update Your Package List&lt;a class=&#34;anchor&#34; href=&#34;#step-2-update-your-package-list&#34;&gt;#&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;p&gt;After adding the repository, it&amp;rsquo;s crucial to update the package list to ensure you get the latest software. Type the following command:&lt;/p&gt;</description>
    </item>
    <item>
      <title>ERROR: phpize failed [solved]</title>
      <link>https://www.shafiq.in/zh/blog/error-phpize-failed-solved/</link>
      <pubDate>Mon, 17 Jan 2011 06:51:05 +0000</pubDate>
      <guid>https://www.shafiq.in/zh/blog/error-phpize-failed-solved/</guid>
      <description>&lt;p&gt;&lt;strong&gt;How to install PHP development files&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;If you want to run &lt;code&gt;phpize&lt;/code&gt; on your system, you need to install the development files of PHP first. Otherwise, you might get an error message like this:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sh: phpize: not found&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;ERROR: &lt;span class=&#34;sb&#34;&gt;`&lt;/span&gt;phpize&lt;span class=&#34;err&#34;&gt;&amp;#39;&lt;/span&gt; failed&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;To install the PHP development files on Ubuntu/Debian, you can use the following command in the terminal:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;apt-get install php5-dev&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;That should solve the problem. 🙂&lt;/p&gt;</description>
    </item>
    <item>
      <title>How to Install PHP 5.3.1 on Ubuntu 64 bit and 32 bit</title>
      <link>https://www.shafiq.in/zh/blog/how-to-install-php-5.3.1-on-ubuntu-64-bit-and-32-bit/</link>
      <pubDate>Wed, 17 Mar 2010 07:33:06 +0000</pubDate>
      <guid>https://www.shafiq.in/zh/blog/how-to-install-php-5.3.1-on-ubuntu-64-bit-and-32-bit/</guid>
      <description>&lt;h2 id=&#34;yes-just-2-lines&#34;&gt;&amp;hellip;yes just 2 lines&lt;a class=&#34;anchor&#34; href=&#34;#yes-just-2-lines&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;h3 id=&#34;for-ubuntu-x64&#34;&gt;For Ubuntu x64&lt;a class=&#34;anchor&#34; href=&#34;#for-ubuntu-x64&#34;&gt;#&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;sudo su&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;cd /tmp &amp;amp;&amp;amp; mkdir php53 &amp;amp;&amp;amp; cd php53 &amp;amp;&amp;amp; wget &amp;amp;&amp;amp; wget &amp;amp;&amp;amp; dpkg -i *.deb &amp;amp;&amp;amp; echo &amp;ldquo;deb &lt;a href=&#34;http://php53.dotdeb.org&#34;&gt;http://php53.dotdeb.org&lt;/a&gt; stable all&amp;rdquo; &amp;raquo; /etc/apt/sources.list &amp;amp;&amp;amp; aptitude update &amp;amp;&amp;amp; aptitude install libapache2-mod-php5=5.3.1 apache2&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h3 id=&#34;for-ubuntu-32-bit-i386&#34;&gt;For Ubuntu 32 bit i386&lt;a class=&#34;anchor&#34; href=&#34;#for-ubuntu-32-bit-i386&#34;&gt;#&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;sudo su&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;cd /tmp &amp;amp;&amp;amp; mkdir php53 &amp;amp;&amp;amp; cd php53 &amp;amp;&amp;amp; wget &amp;amp;&amp;amp; wget &amp;amp;&amp;amp; dpkg -i *.deb &amp;amp;&amp;amp; echo &amp;ldquo;deb &lt;a href=&#34;http://php53.dotdeb.org&#34;&gt;http://php53.dotdeb.org&lt;/a&gt; stable all&amp;rdquo; &amp;raquo; /etc/apt/sources.list &amp;amp;&amp;amp; aptitude update &amp;amp;&amp;amp; aptitude install libapache2-mod-php5=5.3.1 apache2&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
