<!DOCTYPE html>
	<html lang="vi" xmlns="http://www.w3.org/1999/xhtml" prefix="og: http://ogp.me/ns#">
	<head>
<title>xampp for linux</title>
<meta name="description" content="xampp for linux - Savefile - Tin Tức - https&#x3A;&#x002F;&#x002F;thienhashop.com&#x002F;news&#x002F;savefile&#x002F;huong-dan-phan-mem&#x002F;xampp-for-linux-135.html">
<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="xampp for linux">
<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;xampp-for-linux-135.html">
<meta property="og:site_name" content="PHAN MEM THIEN HA">
<meta property="og:url" content="https://phanmemthienha.com/news/huong-dan-phan-mem/xampp-for-linux-135.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/xampp-for-linux-135.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>xampp for linux</h1>
		<ul class="list-inline">
			<li>Thứ hai - 06/05/2019 23:22</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">
			XAMPP stands for cross-platform(X), Apache(A) server, MariaDB(M), PHP(P) and Perl(P).Huy Note: cần dùng lệnh khởi tạo nhóm mysql vào hệ thống linux trước khi cài xampp.addgroup mysqlLệnh gán quyền cho thư mụcchown -R root:mysql /opt/lampp/var/mysql/cấp quyền cho thu mụcchown -R root:mysql /opt/lampp/var/mysql/ chmod 755 /opt/lampp/var/mysql/thêm tài khoản mysql vào hệ thốngadduser mysql
		</div>
				<div class="imghome">
			<img alt="xampp for linux" src="https://vitux.com/wp-content/uploads/2018/10/word-image-1.png" width="460" class="img-thumbnail" />
		</div>
		<div class="clear"></div>
		<div id="bodytext" class="clearfix">
			<h3>Huy Note:<br  />
Cần dùng lệnh khởi tạo nhóm mysql vào hệ thống linux trước khi cài xampp.<br  />
<em>addgroup mysql </em><br  />
Lệnh gán quyền cho thư mục.<br  />
<em>chown -R root:mysql /opt/lampp/var/mysql/</em><br  />
cấp quyền cho thu mục<br  />
<em>chown -R root:mysql /opt/lampp/var/mysql/<br  />
chmod 755 /opt/lampp/var/mysql/</em><br  />
thêm tài khoản mysql vào hệ thống<br  />
<em>adduser mysql</em><br  />
<br  />
Step 1: Download the installation package</h3>

<p>The first step is to download the XAMPP package for Linux from the official Apache Friends website:</p>

<p><a href="https://www.apachefriends.org/index.html">https://www.apachefriends.org/index.html</a></p>
There was a SourceForge page that offer XAMPP 5.6.20 compiled for Linux 32-bit architecture, in which XAMPP 5.6.20 is compatible for 16.04 Ubuntu version.

<pre>
<code class="language-bash">wget &quot;https://downloads.sourceforge.net/project/xampp/XAMPP%20Linux/5.6.20/xampp-linux-5.6.20-0-installer.run&quot;
sudo su
chmod +x xampp-linux-5.6.20-0-installer.run
./xampp-linux-5.6.20-0-installer.run</code></pre>

<h3>Step 2: Make the installation package executable</h3>

<p>We will install the package through the Ubuntu command line, The Terminal. In order to open the Terminal, either use the Dash or the <em><strong>Ctrl+Alt+T</strong></em> shortcut. After the Terminal is open, you need to move to your Downloads folder to access the file.</p>

<p>Move to the Downloads folder by using the following command:</p>

<pre>
$ cd /home/&#91;username&#93;/Downloads</pre>

<p>The installation package you downloaded needs to be made executable before it can be used further. Run the following command for this purpose:</p>

<pre>
$ chmod 755 &#91;package name&#93;</pre>

<p>Example:</p>

<pre>
$ chmod 755 xampp-linux-x64-7.2.10-0-installer.run</pre>

<p><img alt="Make XAMPP installer executable" class="aligncenter wp-image-1856 lazy-loaded" data-lazy-type="image" data-src="https://vitux.com/wp-content/uploads/2018/10/word-image-1.png" data-srcset="" height="90" sizes="(max-width: 666px) 100vw, 666px" src="https://vitux.com/wp-content/uploads/2018/10/word-image-1.png" srcset="https://vitux.com/wp-content/uploads/2018/10/word-image-1.png 666w, https://vitux.com/wp-content/uploads/2018/10/word-image-1-300x41.png 300w" width="666" /></p>

<p>Now the install package is in an executable form.</p>

<h3>Step 3: Confirm execute permission</h3>

<p>It is important to verify if the package can be executed by the current user. The execute permission can be checked through the following command:</p>

<pre>
$ ls -l &#91;package name&#93;</pre>

<p>Example:</p>

<pre>
$ ls -l xampp-linux-x64-7.2.10-0-installer.run</pre>

<p><img alt="Check if XAMPP installer can be executed" class="aligncenter wp-image-1857 lazy-loaded" data-lazy-type="image" data-src="https://vitux.com/wp-content/uploads/2018/10/word-image-2.png" data-srcset="" height="55" sizes="(max-width: 734px) 100vw, 734px" src="https://vitux.com/wp-content/uploads/2018/10/word-image-2.png" srcset="https://vitux.com/wp-content/uploads/2018/10/word-image-2.png 734w, https://vitux.com/wp-content/uploads/2018/10/word-image-2-300x22.png 300w" width="734" /></p>

<p>The -rwxr output shows that the file can be executed by the user whose name is also mentioned in the output.</p>

<h3>Step 4: Launch the Setup Wizard</h3>

<p>As a privileged root user, run the following command in order to launch the graphical setup wizard.</p>

<pre>
$ sudo ./&#91;package name&#93;</pre>

<p>Example:</p>

<pre>
sudo ./xampp-linux-7.2.10-0-installer.run</pre>

<h1 class="grid--cell fs-headline1 fl1 ow-break-word" itemprop="name">mysql in not starting in XAMPP UBUNTU</h1>

<ol>
	<li>backup your htdocs folder</li>
	<li>backup your database folder &#039;/opt/lampp/var/mysql&#039;</li>
	<li>check user on /opt/lampp/var/mysql $ ls -la</li>
	<li>reinstall xampp full with delete data</li>
	<li>copy paste your database folder to /opt/lampp/var/mysql</li>
	<li>change user access after paste on /opt/lampp/var/mysql all file and folder</li>
</ol>

<p>to check user on folder</p>

<pre class="default prettyprint prettyprinted" style="">
<code><span class="pln">$ cd </span><span class="pun">/</span><span class="pln">opt</span><span class="pun">/</span><span class="pln">lampp</span><span class="pun">/</span><span class="kwd">var</span><span class="pun">/</span><span class="pln">mysql
$ ls </span><span class="pun">-</span><span class="pln">la</span></code></pre>

<p>to change user on folder for all files and folder</p>

<pre class="default prettyprint prettyprinted" style="">
<code><span class="pln">$ sudo chown </span><span class="pun">-</span><span class="pln">R mysql</span><span class="pun">:</span><span class="pln">mysql </span><span class="pun">*</span></code></pre>

<p>and 1 file based on your computer ex:</p>

<pre class="default prettyprint prettyprinted" style="">
<code><span class="pln">$ sudo chown </span><span class="pun">-</span><span class="pln">R mysql</span><span class="pun">:</span><span class="pln">root emild</span><span class="pun">-</span><span class="pln">desktop</span><span class="pun">.</span><span class="pln">err</span></code></pre>

<p>emild-desktop.err is log error of my pc</p>

<ol start="7">
	<li>
	<p>Copy Paste your htdocs folder on /opt/lampp</p>
	</li>
	<li>
	<p>Restart lampp service.</p>

	<p>$ sudo /opt/lampp/lampp start</p>
	</li>
</ol>
<br  />
<br  />
Chi tiết<br  />
https://vitux.com/how-to-install-xampp-on-your-ubuntu-18-04-lts-system/<br  />
<br  />
<strong>xampp for puppylinux</strong><br  />
( Chi tiết tham khảo <a href="http://murga-linux.com/puppy/viewtopic.php?search_id=1168041145&amp;t=115341" target="_blank">tại đây )</a><br  />
&nbsp;<br  />
<span class="postbody">I know it&#039;s a bit late answer but you could try any of these:<br  />
<b style="color:rgb(255, 163, 79);">xampp</b>-linux-x86_7.0.8-0_160628.squashfs <a class="postlink" href="https://1fichier.com/?1a6cja940l41fmehgwpd" target="_blank">https://1fichier.com/?1a6cja940l41fmehgwpd</a><br  />
<b style="color:rgb(255, 163, 79);">xampp</b>-linux-x64-7.3.3-1_190331a.squashfs <a class="postlink" href="https://1fichier.com/?mk31y4af6aqe0te3hilw" target="_blank">https://1fichier.com/?mk31y4af6aqe0te3hilw</a></span><br  />
<span class="postbody">Just rename them to .SFS and mount them.</span><br  />
<br  />
OR<br  />
<span class="postbody"><b style="color:rgb(255, 163, 79);">xampp</b>-linux-x86_7.0.8-0_160628.squashfs <a href="https://drive.google.com/open?id=1SDDNf3Jy8C8rDllj1TOZZdAyAft3kzzc" target="_blank">tại đây</a><br  />
<b style="color:rgb(255, 163, 79);">xampp</b>-linux-x64-7.3.3-1_190331a.squashfs <a href="https://drive.google.com/open?id=15zh8JciTAdJa0m7G7IEMSO2bJzSIHAJx" target="_blank">tại đây</a></span><br  />
<span class="postbody">Just rename them to .SFS and mount them.<br  />
<br  />
Đổi pas của root xong mà ko vào được thì dùng cách sau</span><br  />
https://www.youtube.com/watch?v=kea-2yFFrl0<br  />
Cac ung dung cua puppy<br  />
https://distro.ibiblio.org/puppylinux/pet_packages-3/<br  />
http://distro.ibiblio.org/puppylinux/pet_packages-4/<br  />
Tham khao them<br  />
https://community.vpssim.vn/viewtopic.php?t=59<br  />
<br  />
LỆNH CẤU HÌNH BẢO MẬT CHO XAMPP
<pre class="nfo" style="color:rgb(255, 252, 252);font-weight:normal;line-height:normal;font-size:10pt;font-family:Terminal,monospace;background-color:rgb(20, 0, 0);white-space:pre;margin:1em 0;padding:5px">
sudo /opt/lampp/lampp security</pre>
<br  />
<br  />
&nbsp;
		</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/xampp-for-linux-135.html" title="xampp for linux">https://thienhashop.com/news/huong-dan-phan-mem/xampp-for-linux-135.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>