<!DOCTYPE html>
	<html lang="vi" xmlns="http://www.w3.org/1999/xhtml" prefix="og: http://ogp.me/ns#">
	<head>
<title>How to Install Jitsi Meet on Ubuntu 18.04 LTS</title>
<meta name="description" content="How to Install Jitsi Meet on Ubuntu 18.04 LTS - Savefile - Tin Tức -...">
<meta name="author" content="PHAN MEM THIEN HA">
<meta name="copyright" content="PHAN MEM THIEN HA [phamhuy842005@gmail.com]">
<meta name="robots" content="index, archive, follow, noodp">
<meta name="googlebot" content="index,archive,follow,noodp">
<meta name="msnbot" content="all,index,follow">
<meta name="generator" content="NukeViet v4.0">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta property="og:title" content="How to Install Jitsi Meet on Ubuntu 18.04 LTS">
<meta property="og:type" content="website">
<meta property="og:description" content="Savefile - Tin Tức - https&#x3A;&#x002F;&#x002F;thienhashop.com&#x002F;news&#x002F;savefile&#x002F;huong-dan-phan-mem&#x002F;how-to-install-jitsi-meet-on-ubuntu-18-04-lts-163.html">
<meta property="og:site_name" content="PHAN MEM THIEN HA">
<meta property="og:url" content="https://phanmemthienha.com/news/huong-dan-phan-mem/how-to-install-jitsi-meet-on-ubuntu-18-04-lts-163.html">
<link rel="shortcut icon" href="https://thienhashop.com/uploads/logo-shop-thien-ha-5.png">
<link rel="canonical" href="https://phanmemthienha.com/news/huong-dan-phan-mem/how-to-install-jitsi-meet-on-ubuntu-18-04-lts-163.html">
<link rel="alternate" href="https://thienhashop.com/news/rss/" title="Tin Tức" type="application/rss+xml">
<link rel="alternate" href="https://thienhashop.com/news/rss/huong-dan-phan-mem/" title="Tin Tức - Hướng dẫn phần mềm" type="application/rss+xml">
<link rel="alternate" href="https://thienhashop.com/news/rss/huong-dan-noi-bo/" title="Tin Tức - Hướng dẫn nội bộ" type="application/rss+xml">
<link rel="alternate" href="https://thienhashop.com/news/rss/Doi-tac/" title="Tin Tức - Đối tác" type="application/rss+xml">
<link rel="alternate" href="https://thienhashop.com/news/rss/Tuyen-dung/" title="Tin Tức - Tuyển dụng" type="application/rss+xml">
<link rel="preload" as="script" href="https://thienhashop.com/assets/js/jquery/jquery.min.js">
<link rel="preload" as="script" href="https://thienhashop.com/assets/js/language/vi.js">
<link rel="preload" as="script" href="https://thienhashop.com/assets/js/global.js">
<link rel="preload" as="script" href="https://thienhashop.com/themes/default/js/news.js">
<link rel="preload" as="script" href="https://thienhashop.com/themes/popovleather/js/main.js">
<link rel="preload" as="script" href="https://thienhashop.com/themes/popovleather/js/bootstrap.min.js">
<link rel="StyleSheet" href="https://thienhashop.com/assets/css/font-awesome.min.css">
<link rel="StyleSheet" href="https://thienhashop.com/themes/popovleather/css/bootstrap.min.css">
<link rel="StyleSheet" href="https://thienhashop.com/themes/popovleather/css/style.css">
<link rel="StyleSheet" href="https://thienhashop.com/themes/popovleather/css/style.responsive.css">
<link rel="StyleSheet" href="https://thienhashop.com/themes/default/css/news.css">
<link rel="StyleSheet" href="https://thienhashop.com/assets/css/popovleather.vi.0.css?t=87">
<style>
	body{background: #fff;}
</style>
	</head>
	<body>
<div id="print">
	<div id="hd_print">
		<h2 class="pull-left">PHAN MEM THIEN HA</h2>
		<p class="pull-right"><a title="PHAN MEM THIEN HA" href="https://thienhashop.com/">https://thienhashop.com</a></p>
	</div>
	<div class="clear"></div>
	<hr />
	<div id="content">
		<h1>How to Install Jitsi Meet on Ubuntu 18.04 LTS</h1>
		<ul class="list-inline">
			<li>Thứ năm - 09/04/2020 14:38</li>
			<li class="hidden-print txtrequired"><em class="fa fa-print">&nbsp;</em><a title="In ra" href="javascript:;" onclick="window.print()">In ra</a></li>
			<li class="hidden-print txtrequired"><em class="fa fa-power-off">&nbsp;</em><a title="Đóng cửa sổ này" href="javascript:;" onclick="window.close()">Đóng cửa sổ này</a></li>
		</ul>
		<div class="clear"></div>
		<div id="hometext">
			How to Install Jitsi Meet on Ubuntu 18.04 LTS
		</div>
		<div id="bodytext" class="clearfix">
			<h2 class="is-active" id="Step_1__Setup_a_swap_partition">Step 1: Setup a swap partition</h2>

<p>For a machine with 2GB of memory, it&#039;s recommended to setup a 2GB (2048M) swap partition in order to improve system performance.</p>

<pre>
<code>sudo dd if=/dev/zero of=/swapfile count=2048 bs=1M
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
echo &#039;/swapfile   none    swap    sw    0   0&#039; | sudo tee -a /etc/fstab
free -m
</code></pre>

<p><strong>Note:</strong> <em>If you are using a different server size, the size of the swap partition may vary.</em></p>

<h2 id="Step_2__Setup_the_machine_s_hostname_and_fully_qualified_domain_name__FQDN_">Step 2: Setup the machine&#039;s hostname and fully qualified domain name (FQDN)</h2>

<p>You need to properly setup a hostname and an FQDN for the machine before you can enable HTTPS security by deploying a Let&#039;s Encrypt HTTPS certificate. ( Tham khao <a href="https://www.hiroom2.com/2018/05/30/ubuntu-1804-hostname-en/" target="_blank">tai day</a> )</p>

<pre>
<code class="language-php">$ sudo hostnamectl set-hostname foobar
$ echo &#039;127.0.0.1 foobar.example.com foobar&#039; | sudo tee -a /etc/hosts
127.0.0.1 foobar.example.com foobar
$ hostname
foobar
$ hostname -f
foobar.example.com</code></pre>

<h2 id="Step_3__Tweak_firewall_rules_for_running_Jitsi_Meet">Step 3: Tweak firewall rules for running Jitsi Meet</h2>

<p>As required by Jitsi Meet, you need to allow <code>OpenSSH</code>, <code>HTTP</code>, and <code>HTTPS</code> traffic, along with inbound UDP traffic on port <code>10000</code> through port <code>20000</code>:</p>

<pre>
<code>sudo ufw allow OpenSSH
sudo ufw allow http
sudo ufw allow https
sudo ufw allow in 10000:20000/udp
sudo ufw enable
</code></pre>

<p>When you see the prompt <code>Command may disrupt existing ssh connections. Proceed with operation (y|n)?</code>, input <code>y</code> and then press ENTER.</p>

<h2 id="Step_4__Update_the_system">Step 4: Update the system</h2>

<p>For security and performance purposes, its necessary to update the Ubuntu 18.04 LTS system to the latest status:</p>

<pre>
<code>sudo apt update
sudo apt upgrade -y &amp;&amp; sudo shutdown -r now
</code></pre>

<p>During the upgrade, you may be informed that the currently installed version of the grub configuration file has been locally modified. Since we are actually not responsible for the modification, use the UP arrow to highlight the <code>install the package maintainer&#039;s version</code> option, and then press ENTER.</p>

<p>After the system reboot, log back in as the same sudo user to move on.</p>

<h2 id="Step_5__Install_OpenJDK_Java_Runtime_Environment__JRE__8">Step 5: Install OpenJDK Java Runtime Environment (JRE) 8</h2>

<p>Jitsi Meet requires Java Runtime Environment. Install OpenJDK JRE 8:</p>

<pre>
<code>sudo apt install -y openjdk-8-jre-headless
</code></pre>

<p>JAVA 11 Thi dong lenh la :<br  />
apt install openjdk-11-jre-headless<br  />
<br  />
Having OpenJDK JRE 8 installed, use the following command to verify the result:</p>

<pre>
<code>java -version
</code></pre>

<p>The output will be similar to the following:</p>

<pre>
<code>openjdk version &quot;1.8.0_171&quot;
OpenJDK Runtime Environment (build 1.8.0_171-8u171-b11-0ubuntu0.18.04.1-b11)
OpenJDK 64-Bit Server VM (build 25.171-b11, mixed mode)
</code></pre>

<p>In addition, you can setup the <code>JAVA_HOME</code> environment variable as follows:</p>

<pre>
<code>echo &quot;JAVA_HOME=$(readlink -f /usr/bin/java | sed &quot;s:bin/java::&quot;)&quot; | sudo tee -a /etc/profile
source /etc/profile
</code></pre>

<h2 id="Step_6__Install_the_Nginx_web_server">Step 6: Install the Nginx web server</h2>

<p>In order to better serve Jitsi Meet, you can install an Nginx web server before actually installing Jitsi Meet:</p>

<pre>
<code>sudo apt install -y nginx
sudo systemctl start nginx.service
sudo systemctl enable nginx.service
</code></pre>

<p>Having Nginx installed, you don&#039;t need to manually configure it because the Jitsi Meet installer will deal with this job for you later.</p>

<p><strong>Note:</strong> <em>If Nginx or Apache is not in place, the Jitsi Meet installer will automatically install Jetty along with the Jitsi Meet program.</em></p>

<h2 class="is-active" id="Step_7__Install_Jitsi_Meet">Step 7: Install Jitsi Meet</h2>

<p>On a modern Ubuntu or Debian system, you can easily install Jitsi Meet using the official Jitsi deb repo.</p>

<p>First setup the Jitsi repository on your system:</p>

<pre>
<code>cd
wget -qO - https://download.jitsi.org/jitsi-key.gpg.key | sudo apt-key add -
sudo sh -c &quot;echo &#039;deb https://download.jitsi.org stable/&#039; &gt; /etc/apt/sources.list.d/jitsi-stable.list&quot;
sudo apt update -y
</code></pre>

<p>Then install the full suite of Jitsi Meet:</p>

<pre>
<code>sudo apt install -y jitsi-meet
</code></pre>

<p>During the installation, when you are asked to provide the hostname of the current installation, type in the FQDN <code>jitsimeet.example.com</code> you setup earlier and then press ENTER.</p>

<p>When you are asked about the SSL certificate, highlight the <code>Generate a new self-signed certificate (You will later get a chance to obtain a Let&#039;s Encrypt certificate)</code> option and then press ENTER.</p>

<p>Having Jitsi Meet successfully installed, use the following script to apply for a Let&#039;s Encrypt SSL certificate:</p>

<pre>
<code>sudo /usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh
</code></pre>

<p>During the process, input your email <code>admin@example.com</code> as prompted and then press ENTER. This script will automatically handle any tasks related to the Let&#039;s Encrypt SSL certificate.</p>

<p>Finally, point your favorite web browser to <code>http://jitsimeet.example.com</code> or <code>https://jitsimeet.example.com</code> to access your Jitsi Meet Video conferencing service. Feel free to explore the interface. Clicking the <code>GO</code> button will immediately create a Video conferencing channel for you.</p>
Chi tiet tham khao <a href="https://www.vultr.com/docs/how-to-install-jitsi-meet-on-ubuntu-18-04-lts" target="_blank">tai day</a>
		</div>
	</div>
	<div id="footer" class="clearfix">
		<div id="url">
			<strong>URL của bản tin này: </strong><a href="https://thienhashop.com/news/huong-dan-phan-mem/how-to-install-jitsi-meet-on-ubuntu-18-04-lts-163.html" title="How to Install Jitsi Meet on Ubuntu 18.04 LTS">https://thienhashop.com/news/huong-dan-phan-mem/how-to-install-jitsi-meet-on-ubuntu-18-04-lts-163.html</a>

		</div>
		<div class="clear"></div>
		<div class="copyright">
			&copy; PHAN MEM THIEN HA
		</div>
		<div id="contact">
			<a href="mailto:phamhuy842005@gmail.com">phamhuy842005@gmail.com</a>
		</div>
	</div>
</div>
        <div id="timeoutsess" class="chromeframe">
            Bạn đã không sử dụng Site, <a onclick="timeoutsesscancel();" href="https://thienhashop.com/#">Bấm vào đây để duy trì trạng thái đăng nhập</a>. Thời gian chờ: <span id="secField"> 60 </span> giây
        </div>
        <div id="openidResult" class="nv-alert" style="display:none"></div>
        <div id="openidBt" data-result="" data-redirect=""></div>
<script src="https://thienhashop.com/assets/js/jquery/jquery.min.js"></script>
<script>var nv_base_siteurl="/",nv_lang_data="vi",nv_lang_interface="vi",nv_name_variable="nv",nv_fc_variable="op",nv_lang_variable="language",nv_module_name="news",nv_func_name="savefile",nv_is_user=0, nv_my_ofs=-4,nv_my_abbr="EDT",nv_cookie_prefix="nv4c_y8Y7D",nv_check_pass_mstime=1738000,nv_area_admin=0,nv_safemode=0,theme_responsive=1,nv_is_recaptcha=1,nv_recaptcha_sitekey="6LeSarIUAAAAAHRq6xkHwO6J0YYQOdMxgqKTXoL_",nv_recaptcha_type="image",nv_recaptcha_elements=[];</script>
<script src="https://thienhashop.com/assets/js/language/vi.js"></script>
<script src="https://thienhashop.com/assets/js/global.js"></script>
<script src="https://thienhashop.com/themes/default/js/news.js"></script>
<script src="https://thienhashop.com/themes/popovleather/js/main.js"></script>
<script src="https://thienhashop.com/themes/popovleather/js/bootstrap.min.js"></script>
</body>
</html>