請問phpmyadmin該放在哪裡??

顯示結果從第 1 筆 到 8 筆,共計 8 筆
  1. #1
    阿賢 jollinman 的大頭照
    註冊日期
    2001-08-06
    討論區文章
    357

    請問phpmyadmin該放在哪裡??

    /var/www/html/
    是我網站的目錄位址
    apache mysql php的套件我都安裝設定好了
    接下來我想再加個phpmyadmin來方便我管理資料庫
    因為我這是第一次在linux下裝
    (windos下裝太方便了...但穩定性....)
    所以我想請教一下我該把phpmyadmin放在哪裡?
    thx~^^|||



  2. #2
    會員
    註冊日期
    2001-07-23
    討論區文章
    170
    /var/www/html/...下面都可以

  3. #3
    進階會員 repsol 的大頭照
    註冊日期
    2001-06-17
    所在地區
    ADSL 2M/256
    討論區文章
    818
    It is recommended that you protect the directory in which you
    installed phpMyAdmin (unless it's on a closed intranet, or you
    wish to use advanced authentication), for example with HTTP-AUTH
    (in a .htaccess file). See the [31]FAQ section for additional
    information.
    「遥か昔、正義に生きる悪魔の伝説があった。
    剣を取って戦い、悪魔の侵略を退けた魔剣士。
    その伝説も、やがて人々の記憶から消えて行った。

    だが2000年の時を経て、魔界はより強大になって甦る。
    圧倒的なパワーで押し寄せる魔界の軍勢。
    本格的な人間界侵攻が始まった…。

    再び訪れた人類の危機に一人の男が立ち上がる。
    伝説の魔剣士の血を引く悪魔狩人(デビルハンター)、その名はダンテ!」

  4. #4
    進階會員 repsol 的大頭照
    註冊日期
    2001-06-17
    所在地區
    ADSL 2M/256
    討論區文章
    818
    What's the preferred way of making phpMyAdmin secure against evil access?


    This depends on your system

    If you're running a server which cannot be accessed by other people

    , it's sufficient to use the directory protection bundled with your webserver (with Apache you can use .htaccess files, for example).

    If other people have telnet access to your server, you should use phpMyAdmin's advanced authentication feature

    Suggestions:

    1.Your config.inc.php3 file should be chmod 660.
    2.All your phpMyAdmin files should be chown phpmy.apache, where phpmy is a user whose password is only known to you, and apache is the group under which Apache runs.
    3.You should use PHP safe mode, to protect from other users that try to include your config.inc.php3 in their scripts.
    「遥か昔、正義に生きる悪魔の伝説があった。
    剣を取って戦い、悪魔の侵略を退けた魔剣士。
    その伝説も、やがて人々の記憶から消えて行った。

    だが2000年の時を経て、魔界はより強大になって甦る。
    圧倒的なパワーで押し寄せる魔界の軍勢。
    本格的な人間界侵攻が始まった…。

    再び訪れた人類の危機に一人の男が立ち上がる。
    伝説の魔剣士の血を引く悪魔狩人(デビルハンター)、その名はダンテ!」

  5. #5
    進階會員 repsol 的大頭照
    註冊日期
    2001-06-17
    所在地區
    ADSL 2M/256
    討論區文章
    818
    If other people have telnet access to your server, you should use phpMyAdmin's advanced authentication feature.


    Using Advanced Authentication:

    1.phpMyAdmin needs a stduser that has only the SELECT privilege on the mysql.db (Db,user,Select_priv) & mysql.user (user,Select_priv) tables. You must specify the details for the stduser in the config.inc.php3 file under the $cfgServers[n]['stduser'] & $cfgServers[n]['stdpass'] settings. To create the control account:


    GRANT USAGE ON mysql.* TO 'stduser'@localhost IDENTIFIED BY 'password';


    GRANT SELECT ON mysql.user TO 'stduser'@localhost;


    GRANT SELECT ON mysql.db TO 'stduser'@localhost;


    2.Then each of the true users should be granted of a set of privileges on a set of perticular databases but shouldn't have any global privileges. For example, to grant the user real_user with all privileges on the database user_base:


    GRANT ALL PRIVILEGES ON user_base TO 'real_user'@localhost IDENTIFIED BY 'real_password';


    What the user may now do is controlled entirely by the MySQL user management system.


    「遥か昔、正義に生きる悪魔の伝説があった。
    剣を取って戦い、悪魔の侵略を退けた魔剣士。
    その伝説も、やがて人々の記憶から消えて行った。

    だが2000年の時を経て、魔界はより強大になって甦る。
    圧倒的なパワーで押し寄せる魔界の軍勢。
    本格的な人間界侵攻が始まった…。

    再び訪れた人類の危機に一人の男が立ち上がる。
    伝説の魔剣士の血を引く悪魔狩人(デビルハンター)、その名はダンテ!」

  6. #6
    會員
    註冊日期
    2001-06-08
    討論區文章
    3

    Re: 請問phpmyadmin該放在哪裡??

    最初由 jollinman 發表
    /var/www/html/
    是我網站的目錄位址
    apache mysql php的套件我都安裝設定好了
    接下來我想再加個phpmyadmin來方便我管理資料庫
    因為我這是第一次在linux下裝
    (windos下裝太方便了...但穩定性....)
    所以我想請教一下我該把phpmyadmin放在哪裡?
    thx~^^|||
    將 phpMyAdmin-2.2.3-php.tar.gz 或 phpMyAdmin-2.2.3-php.zip 直接解壓縮
    至 apache\htdocs 資料夾下,會自動產生 phpMyAdmin資料夾。

    在 phpMyAdmin 資料夾內修改 config.inc.php 檔,找到下列三行:

    $cfgPmaAbsoluteUri = '';
    $cfgServers[1]['stduser'] = 'root';
    $cfgServers[1]['stdpass'] = '';

    假設 MySQL的帳號:root
    MySQL的密碼:kj6688
    則原設定應改成:

    $cfgPmaAbsoluteUri = 'http://xxx.xxx.xxx.edu.tw/phpMyAdmin/';
    $cfgServers[1]['adv_auth'] = true;
    $cfgServers[1]['stduser'] = 'root'; MySQL的帳號
    $cfgServers[1]['stdpass'] = 'kj6688'; MySQL的密碼

    開啟瀏覽器並在網址列鍵入 http://xxx.xxx.xxx.edu.tw/phpMyAdmin/index.php即可

  7. #7
    會員 Joes 的大頭照
    註冊日期
    2001-07-30
    所在地區
    宿舍網路
    討論區文章
    1,304

    Re: Re: 請問phpmyadmin該放在哪裡??

    最初由 Yueh 發表


    將 phpMyAdmin-2.2.3-php.tar.gz 或 phpMyAdmin-2.2.3-php.zip 直接解壓縮
    apache\htdocs 資料夾下,會自動產生 phpMyAdmin資料夾。
    -----恕刪-----
    這...這..是Win的做法吧-_-||
    設定方面就如Yueh兄所說....
    /var/www/html/放在這底下任意處都可...

  8. #8
    美麗與智慧並重英 bigmichael 的大頭照
    註冊日期
    2001-07-20
    所在地區
    ADSL 2M/256
    討論區文章
    374

    回覆: Re: 請問phpmyadmin該放在哪裡??

    $cfgServers[1]['adv_auth'] = true;
    設成true是有什摸作用嗎?
    煩請高手解說一下它的原理?

類似的主題

  1. 【問題】請問CTRL+C之後是放在哪裡呢?
    作者:ice568 所在討論版:-- Windows 討 論 版
    回覆: 6
    最後發表: 2007-05-10, 09:45 PM
  2. 【求助】請問 FTP Voyager 的用戶輸入FTP站址是放在哪裡?
    作者:阿敏 所在討論版:-- 網 路 軟 體 討 論 二 版 (網路其他軟體)
    回覆: 0
    最後發表: 2005-12-01, 03:56 PM
  3. 【求助】請問 Office 2003 內的輸入法(新注音)放在哪裡呢???
    作者:Nomad 所在討論版:-- OFFICE 相 關 軟 體 討 論 版
    回覆: 3
    最後發表: 2004-01-28, 08:17 AM
  4. 大家的ADSL modem放在哪裡?
    作者:cit0316 所在討論版:---- ADSL 軟 硬 體 技 術
    回覆: 47
    最後發表: 2003-10-01, 12:09 AM
  5. 【求助】Outlook Express6的信放在哪裡?
    作者:czw55 所在討論版:-- Windows 討 論 版
    回覆: 4
    最後發表: 2002-10-11, 05:36 PM

 

此網頁沒有從搜尋引擎而來的訪客

發表文章規則

  • 不可以發表新主題
  • 不可以回覆文章
  • 不可以上傳附加檔案
  • 不可以編輯自己的文章
  •