ubuntu 10.04 で xampp1.7.7 [ubuntu10.04]
ubuntu 10.04 で xampp1.7.7
今日したことのメモ
ダウンロードとインストール
$ wget http://sourceforge.net/projects/xampp/files/XAMPP%20Linux/1.7.7/xampp-linux-1.7.7.tar.gz/download -P ~ -O xampp.tar.gz -v
sudo tar xvfz xampp.tar.gz -C /opt optフォルダに解凍
起動
$ sudo /opt/lampp/lampp start
firefoxのアドレスに localhost と入力
xamppの画面になったらOK
パスワードの設定
ctrl+Alt+t で端末を起動して、 sudo /opt/lampp/lampp security と入力
(端末内でのコピーは ctrl+shift+c 貼り付けは、ctrl+shift+v )
$ sudo /opt/lampp/lampp 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 'lampp' as user name! 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. 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. XAMPP: Change phpMyAdmin's authentication method. XAMPP: The FTP password for user 'nobody' is still set to 'lampp'. XAMPP: Do you want to change the password? [yes] XAMPP: Password: XAMPP: Password (again): XAMPP: Reload ProFTPD... XAMPP: Done.
p, li { white-space: pre-wrap; }
パーミッションの変更
#XAMPPが入ってる場所の所有者を自分に変更します。
$ sudo chown -R (ubuntuユーザ名) /opt/lampp 例 sudo chown -R telstar /opt/lampp
$ chmod -R 777 /opt/lampp lamppフォルダのバーミッションを全て許可
httpd.conf の編集
sudo gedit /opt/lampp/etc/httpd.conf
最後に /opt/lampp/htdocs にindex.html を作成して表示
調べながら(検索)やったので結構時間が掛かった。
今日はここまで、、、
コピペで記事を書いたので間違いが有りそう、、
p, li { white-space: pre-wrap