Q - สอบถามวิธีการ star localhost บน ระบบปฏิบัติการ ubuntu

กฎการใช้บอร์ด
คำถามหมวดนี้ ควรระบุ รายละเอียดของ Server OS, เวอร์ชั่น ของ PHP, CMS ที่ท่านใช้
รวมถึง Hosting หรือ Control Panel Hosting

ตอบกระทู้

รูปแสดงอารมณ์
:icon_plusone: :like: :plusone: :gfb: :-D :) :( :-o 8O :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen: :angry: :baa: :biggrin:
รูปแสดงอารมณ์อื่นๆ

BBCode เปิด
[img] เปิด
[url] เปิด
[Smile icon] เปิด

กระทู้แนะนำ
   

มุมมองที่ขยายได้ กระทู้แนะนำ: Q - สอบถามวิธีการ star localhost บน ระบบปฏิบัติการ ubuntu

Re: Q - สอบถามวิธีการ star localhost บน ระบบปฏิบัติการ ubuntu

โดย Ittichai_chupol » 27/09/2018 10:23 am

ได้แหละ พี่ ขอบคุณครับ

Re: Q - สอบถามวิธีการ star localhost บน ระบบปฏิบัติการ ubuntu

โดย thatsawan » 27/09/2018 10:20 am

ลอง

stop ทุกอย่าง
sudo /opt/lampp/lampp start ทำอันนี้อย่างเดียว

หรือ
/etc/init.d/apache2 stop
/opt/lampp/lampp restart

Re: Q - สอบถามวิธีการ star localhost บน ระบบปฏิบัติการ ubuntu

โดย Ittichai_chupol » 27/09/2018 10:16 am

ผมลองแหละ ก็ใช้ไม่ได้เหมือนเดิม ครับ

โค้ด: เลือกทั้งหมด

com002@com002-K43SD:~$ sudo /etc/init.d/apache2 stop
sudo: /var/lib/sudo writable by non-owner (040777), should be mode 0700
[sudo] password for com002: 
Sorry, try again.
[sudo] password for com002: 
 * Stopping web server apache2                                                   * 
com002@com002-K43SD:~$ sudo /etc/init.d/apache2 start
sudo: /var/lib/sudo writable by non-owner (040777), should be mode 0700
[sudo] password for com002: 
 * Starting web server apache2                                                   * 
com002@com002-K43SD:~$ sudo /opt/lampp/lampp start
sudo: /var/lib/sudo writable by non-owner (040777), should be mode 0700
[sudo] password for com002: 
Starting XAMPP for Linux 5.6.3-0...
XAMPP: Starting Apache...fail.
XAMPP:  Another web server is already running.
XAMPP: Starting MySQL...already running.
com002@com002-K43SD:~$ 

Re: Q - สอบถามวิธีการ star localhost บน ระบบปฏิบัติการ ubuntu

โดย Ittichai_chupol » 27/09/2018 10:12 am

ครับ เดียวลองทำครับ

Re: Q - สอบถามวิธีการ star localhost บน ระบบปฏิบัติการ ubuntu

โดย thatsawan » 27/09/2018 10:11 am

ลอง ทำตามนี่้



Apache. stop
Apache start ใหม่

Re: Q - สอบถามวิธีการ star localhost บน ระบบปฏิบัติการ ubuntu

โดย Ittichai_chupol » 27/09/2018 10:09 am

ผมลองใช้คำสั่ง start ใน terminal แล้วมันขึ้น โคด มันขึ้นมาแบบนี้ มีวิธีอะไรแก้ไข้ไหมครับ

Starting XAMPP for Linux 5.6.3-0...
XAMPP: Starting Apache...fail.
XAMPP: Another web server is already running.
XAMPP: Starting MySQL...already running.
com002@com002-K43SD:~$

Q - สอบถามวิธีการ star localhost บน ระบบปฏิบัติการ ubuntu

โดย Ittichai_chupol » 26/09/2018 5:47 pm

ผมอยากทราบวิธีการ star localhost บน ระบบปฏิบัติการ ubuntu ว่าทำได้อย่างไร บ้าง
หรือมีขั้นตอน คำสั่งอย่างไรบางครับ

ข้างบน