xampp-linux-1.8.2-2-installer.run インストール [ubuntu10.04]
xamppのHPページからDLしたxampp-linux-1.8.2-2-installer.runインストール手順
昨日インストールしたxampp1.7.7を削除
sudo rm -r /opt/lampp
端末(ターミナル)を起動
telstar@telstar-laptop:~$ cd ./ダウンロード
telstar@telstar-laptop:~/ダウンロード$ sudo chmod 755 xampp-linux-1.8.2-2-installer.run
telstar@telstar-laptop:~/ダウンロード$
telstar@telstar-laptop:~/ダウンロード$ sudo ./xampp-linux-1.8.2-2-installer.run
インストール画面が起動、、、
インストールが終了したらPCを再起動して、端末で
sudo /opt/lampp/lampp start
sudo /opt/lampp/xampp start
ブラウザ(firefox)のアドレスにlocalhostと入力
パスワードの設定
telstar@telstar-laptop:~/ダウンロード$ cd ../
telstar@telstar-laptop:~$ /opt/lampp/xampp security
p, li { white-space: pre-wrap; }
You need to be root to perform this action.
telstar@telstar-laptop:~$ /opt/lampp/xampp security
You need to be root to perform this action.
telstar@telstar-laptop:~$ sudo chown -R telstar /opt/lampp
telstar@telstar-laptop:~$ chmod -R 777 /opt/lampp
telstar@telstar-laptop:~$ sudo /opt/lampp/xampp security
XAMPP: Quick security check...
XAMPP: Your XAMPP pages are NOT secured by a password.
XAMPP: Do you want to set a password? [yes] enterキーを押す
XAMPP: Password: パスワード入力(表示されない)
XAMPP: Password (again): パスワード入力(表示されない) 以下同じ
XAMPP: Password protection active. Please use 'xampp' as user name!
XAMPP: MySQL is accessable via network.
XAMPP: Normaly that's not recommended. Do you want me to turn it off? [yes]
XAMPP: Turned off.
XAMPP: Stopping MySQL...ok.
XAMPP: Starting MySQL...ok.
Warning: World-writable config file '/opt/lampp/etc/my.cnf' is ignored
Warning: World-writable config file '/opt/lampp/etc/my.cnf' is ignored
XAMPP: The MySQL/phpMyAdmin user pma has no password set!!!
XAMPP: Do you want to set a password? [yes]
XAMPP: Password:
XAMPP: Password (again):
XAMPP: Setting new MySQL pma password.
Warning: World-writable config file '/opt/lampp/etc/my.cnf' is ignored
Warning: World-writable config file '/opt/lampp/etc/my.cnf' is ignored
XAMPP: Setting phpMyAdmin's pma password to the new one.
XAMPP: MySQL has no root passwort set!!!
XAMPP: Do you want to set a password? [yes]
XAMPP: Write the password somewhere down to make sure you won't forget it!!!
XAMPP: Password:
XAMPP: Password (again):
XAMPP: Setting new MySQL root password.
Warning: World-writable config file '/opt/lampp/etc/my.cnf' is ignored
Warning: World-writable config file '/opt/lampp/etc/my.cnf' is ignored
XAMPP: Change phpMyAdmin's authentication method.
XAMPP: The FTP password for user 'daemon' is still set to 'xampp'.
XAMPP: Do you want to change the password? [yes]
XAMPP: Password:
XAMPP: Password (again):
XAMPP: Reload ProFTPD...ok.
XAMPP: Done.
パスワードの設定が終わったらfirefoxでアドレスにlocalhost と入力
安全と表示される
パスワードを求められたら
ユーザー名 lampp か xampp
パスワード 設定したパスワード
localhost でアクセスした左のphpMyadminをクリック
ユーザー名 root
パスワード 設定したパスワード
参照サイト
ttp://jonathanmelgoza.com/blog/como-instalar-xampp-en-ubuntu-13-10/
ubuntu10.04ではコントーロールパネルはインストールできない?
windowsと違って戸惑うことばかり、、習うより慣れろ!! だ
今日はここまで
追記
httpd.conf の編集
sudo gedit /opt/lampp/etc/httpd.conf
gedit で開き編集する
DocumentRoot の変更
www ディレクトリの作成
sudo mkdir www
#DocumentRoot "/opt/lampp/htdocs" #を付けてコメントに
DocumentRoot "/home/telstar/www" 新しく設定
#<Directory "/opt/lampp/htdocs">
<Directory "/home/telstar/www">
gedit を閉じてから
sudo /opt/lampp/xampp restart
/home/telstar/www にindex.html 作成
コメント 0