XAMPP
ナビゲーションに移動
検索に移動
目次
XAMPP
Ubuntu
インストール
ダウンロード
- https://www.apachefriends.org/jp/index.html
- ダウンロードして、実行権限を付与して、ヘルプを確認
- $ wget https://sourceforge.net/projects/xampp/files/XAMPP%20Linux/8.0.2/xampp-linux-x64-8.0.2-0-installer.run
- $ chmod +x xampp-linux-x64-8.0.2-0-installer.run
- $ sudo ./xampp-linux-x64-8.0.2-0-installer.run --help
- :
- --mode <mode> Installation mode
- Default: qt
- Allowed: qt gtk xwindow text unattended
- :
インストール
- サイレントモードでインストール
- $ sudo ./xampp-linux-x64-8.0.2-0-installer.run --mode unattended
- インストール完了
ドキュメントルートに書き込み権限
- $ sudo chmod o+w /opt/lampp/htdocs/
停止
- $ sudo /opt/lampp/lampp stop
- Stopping XAMPP for Linux 8.0.2-0...
- XAMPP: Stopping Apache...ok.
- XAMPP: Stopping MySQL...not running.
- XAMPP: Stopping ProFTPD...not running.
開始
- $ sudo /opt/lampp/lampp start
- Starting XAMPP for Linux 8.0.2-0...
- XAMPP: Starting Apache.../opt/lampp/share/xampp/xampplib: line 22: netstat: command not found
- /opt/lampp/share/xampp/xampplib: line 22: netstat: command not found
- ok.
- XAMPP: Starting MySQL.../opt/lampp/share/xampp/xampplib: line 22: netstat: command not found
- ok.
- XAMPP: Starting ProFTPD.../opt/lampp/share/xampp/xampplib: line 22: netstat: command not found
- ok.
- $ sudo apt install net-tools
© 2006 矢木浩人