PCI-NAS01SG教學+電驢+rtorrent+Debian變身補完

tnslf2k wrote:
很明顯的lightt...(恕刪)


請指教...我還是卡在這兒

# chmod u+x /ffp/start/mysqld.sh
# /ffp/start/mysqld.sh restart
WARNING: mysqld_safe: Not running
/mysqlalizing MySQL database: /ffp/var/mysql
Warning: World-writable config file '/ffp/etc/my.cnf' is ignored
WARNING: The host 'Storage' could not be looked up with resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MySQL version. The MySQL daemon, mysqld, should work
normally with the exception that host name resolving will not work.
This means that you should use IP addresses instead of hostnames
when specifying MySQL privileges !
Installing MySQL system tables...
Warning: World-writable config file '/ffp/etc/my.cnf' is ignored
OK
Filling help tables...
Warning: World-writable config file '/ffp/etc/my.cnf' is ignored
OK

To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:

/ffp/bin/mysqladmin -u root password 'new-password'
/ffp/bin/mysqladmin -u root -h Storage password 'new-password'

Alternatively you can run:
/ffp/bin/mysql_secure_installation

which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.

See the manual for more instructions.

You can start the MySQL daemon with:
cd /ffp ; /ffp/bin/mysqld_safe &

You can test the MySQL daemon with mysql-test-run.pl
cd /ffp/mysql-test ; perl mysql-test-run.pl

Please report any problems with the /ffp/bin/mysqlbug script!

The latest information about MySQL is available at http://www.mysql.com/
Support MySQL by buying support/licenses from http://shop.mysql.com/

:root: unknown user/group root
Starting mysqld_safe
# /ffp/bin/mysqladmin -u root password '19780531'
Warning: World-writable config file '/ffp/etc/my.cnf' is ignored
/ffp/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/ffp/var/mysql.sock'
(2)'
Check that mysqld is running and that the socket: '/ffp/var/mysql.sock' exists!

是不是這兒有問題??
Warning: World-writable config file '/ffp/etc/my.cnf' is ignored
/ffp/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/ffp/var/mysql.sock'
(2)'
Check that mysqld is running and that the socket: '/ffp/var/mysql.sock' exists!

應該怎做...謝謝

fishman0678 wrote:


請指教...我還...(恕刪)
Check that mysqld is running and that the socket: '/ffp/var/mysql.sock' exists!


ln -s /ffp/var/mysql.sock /tmp/mysql.sock
試試看
tnslf2k wrote:
打ln -s /ff...(恕刪)


請問打在那兒
telnet進去文字介面
輸入指令
tnslf2k wrote:
telnet進去文字...(恕刪)


我想問是不是在最後加這行


是加這行在
# /ffp/bin/mysqladmin -u root password '19780531'
之前
因為它找不到你的
mysql.sock
感謝各位大大的分享,最近也買了一台改機成功,不過因為之前都用 eMule 習慣了,所以就在 debian 裡面裝了 amule-daemon

裝法很簡單
apt-get amule-daemon

為了用 windows 遠端遙控,再上網抓 remote-gui 和 aMuleCmd,裝完之後就可以遠端監控小驢子抓取的狀況。

但是為了要能像以前一樣逛網站直接用 firefox 就可以點選下載,所以要在 firefox about:config 加上

network.protocol-handler.external.ed2k=true
network.protocol-handler.expose.ed2k=false

另外寫一個 reg 檔

REGEDIT4

[HKEY_CLASSES_ROOT\ed2k]
@="URL: ed2k Protocol"
"URL Protocol"=""

[HKEY_CLASSES_ROOT\ed2k\DefaultIcon]
@="F:\\aMule\\amulegui.exe"

[HKEY_CLASSES_ROOT\ed2k\shell]
@="open"

[HKEY_CLASSES_ROOT\ed2k\shell\open]

[HKEY_CLASSES_ROOT\ed2k\shell\open\command]
@="\"F:\\aMule\\ed2k.exe\" \"%1\""

這樣就可以了。

詳細可參考 http://wiki.amule.org/index.php/Ed2k_links_handling

但是因為傳進去的檔名都會變成亂碼所以這邊自己寫了一個小程式 ed2k.exe,
ed2k.exe 這隻程式的目的是把傳入的連結解碼且處理簡體轉成繁體再傳給
aMuleCMD.exe /c add "ed2k://xxx"。

附加壓縮檔: 201006/mobile01-4fdbb5a8d57fd6aaa9a854857e32e111.zip
請問 tnslf2k兄,我在設定MYSQL的密碼時,一直出現以下的錯誤,請問這該如何解決呢?

---------------------------------------------------------------------------------------------------------------

# /ffp/bin/mysqladmin -u root password '1234'
/ffp/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/ffp/var/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/ffp/var/mysql.sock' exists!
請把
/ffp/var/
裡面有個nas名稱.err檔
請把它貼出來
tnslf2k wrote:
請把/ffp/var...(恕刪)


在這個路徑裡面,我找不到你說的這個檔案;
VAR這個目錄底下,就只有lib、mysql、packages、test這四個目錄而已。

該不會是我根本就沒有安裝成功吧

文章分享
評分
評分
複製連結
請輸入您要前往的頁數(1 ~ 31)

今日熱門文章 網友點擊推薦!