四虎影视在线影院在线观看,小s货再浪些再咬紧点h,国产精品水嫩水嫩,97精产国品一二三产区

Board logo

標(biāo)題: [求助] wdcp系統(tǒng)管理面板登錄 無(wú)法訪問(wèn)提示下載 [打印本頁(yè)]

作者: caiwaji    時(shí)間: 2015-1-28 09:31     標(biāo)題: wdcp系統(tǒng)管理面板登錄 無(wú)法訪問(wèn)提示下載

wdcp系統(tǒng)管理面板登錄 無(wú)法訪問(wèn)提示下載
長(zhǎng)度:89439947 (85M) [text/plain]
Saving to: `lanmp_wdcp-2-5.i386.rpm'

100%[======================================>] 89,439,947  89.1K/s   in 10m 32s

2015-01-28 09:02:06 (138 KB/s) - `lanmp_wdcp-2-5.i386.rpm' saved [89439947/89439947]

Preparing...                ########################################### [100%]
   1:lanmp_wdcp             ########################################### [100%]
Installing MySQL system tables...
OK
Filling help tables...
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:

/www/wdlinux/mysql-5.1.63/bin/mysqladmin -u root password 'new-password'
/www/wdlinux/mysql-5.1.63/bin/mysqladmin -u root -h v157-7-113-200.z1d13.static.cnode.jp password 'new-password'

Alternatively you can run:
/www/wdlinux/mysql-5.1.63/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 /www/wdlinux/mysql-5.1.63 ; /www/wdlinux/mysql-5.1.63/bin/mysqld_safe &

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

Please report any problems with the /www/wdlinux/mysql-5.1.63/bin/mysqlbug script!

Starting MySQL.Manager of pid-file quit without updating file.[失敗]
/www/wdlinux/mysql/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
ln: “/usr/lib/plugin”:無(wú)法覆蓋目錄
啟動(dòng) httpd:[確定]
啟動(dòng) nginx:nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()
[失敗]
啟動(dòng) httpd:
啟動(dòng) pure-config.pl:Running: /usr/sbin/pure-ftpd --daemonize -S21 -A -c50 -B -C8 -D -E -fftp -H -I15 -L10000:8 -m4 -s -U133:022 -u100 -k99 -Z -lunix -p20000:20500 -lmysql:/www/wdlinux/etc/pureftpd-mysql.conf



============  lanmp_wdcp install OK  ==============



          configuration ,lamp or lnmp,wdcp install is finshed
          visit http://ip
          wdcp visit http://ip:8080
          more infomation please visit http://cd-genova.com
作者: caiwaji    時(shí)間: 2015-1-28 09:59

登陸phpmyadmin創(chuàng)建數(shù)據(jù)庫(kù)wdcpdb數(shù)據(jù)
作者: caiwaji    時(shí)間: 2015-1-28 10:02

B 檢查/www/wdlinux/mysql/var/下有沒(méi)wdcpd目錄及目錄下是否有文件
如果沒(méi)有
可手工在phpmyadmin創(chuàng)建數(shù)據(jù)庫(kù)wdcpdb數(shù)據(jù)庫(kù),及wdcp用戶并把信息保存到/www/wdlinux/wdcp/data/db.inc.php文件中
同時(shí)將/www/wdlinux/wdcp/wdcpdb.sql文件導(dǎo)入
完成
作者: caiwaji    時(shí)間: 2015-1-28 10:03

不會(huì)使用手工在phpmyadmin創(chuàng)建數(shù)據(jù)庫(kù) 管理員能發(fā)具體操作么?感謝
作者: caiwaji    時(shí)間: 2015-1-28 13:25

wdcp支持兩種安裝方式 1 源碼編譯此安裝比較麻煩和耗時(shí),一般是20分鐘至一個(gè)小時(shí)不等,具體視機(jī)器配置情況而定 2 RPM包安裝簡(jiǎn)單快速,下載快的話,幾分鐘就可以完成 源碼安裝(ssh登錄服務(wù)器,

執(zhí)行如下操作即可,需root用戶身份安裝)

wget http://dl.wdlinux.cn:5180/lanmp_laster.tar.gz

tar zxvf lanmp_laster.tar.gz

sh install.sh

4個(gè)可選安裝,如下圖

1,2,3 是安裝獨(dú)立的環(huán)境,不可自由切換nginx,apache,nginx+apache應(yīng)用環(huán)境

4 是安裝所有,即可在wdcp的后臺(tái)里自由切換nginx,apache,nginx+apache的應(yīng)用環(huán)境

卸載(注意備份數(shù)據(jù),否則后果自負(fù))

sh install.sh uninstall

就可以

RPM包安裝

wget http://down.wdlinux.cn/in/lanmp_wdcp_ins.sh

sh lanmp_wdcp_ins.sh

就可以

RPM包安裝支持系統(tǒng):CentOS 5.X/wdlinux_base 5.X/wdOS 1.0,CentOS 6.X ,32位,64位均支持

卸載 (切記備份好數(shù)據(jù))

sh lanmp_wdcp_ins.sh uninstall

就可以

安裝完后,默認(rèn)的后臺(tái)管理地址如下

http://ip:8080

用戶名:admin 默認(rèn)密碼:wdlinux.cn

mysql默認(rèn)的管理用戶名:root 默認(rèn)密碼:wdlinux.cn

相關(guān)說(shuō)明

所有軟件安裝目錄/www/wdlinux

站點(diǎn)配置文件

/www/wdlinux/nginx/conf/vhost

/www/wdlinux/apache/conf/vhost

數(shù)據(jù)庫(kù)配置文件/www/wdlinux/etc/my.cnf

數(shù)據(jù)庫(kù)數(shù)據(jù)文件目錄 /www/wdlinux/mysql/var

可能問(wèn)題

1 登錄時(shí)提示超時(shí),檢查下系統(tǒng)時(shí)間是否為當(dāng)前時(shí)間

2 重裝后重新打開(kāi)IE,否則會(huì)有session錯(cuò)誤提示的問(wèn)題

安裝wdCP,無(wú)法連接mysql,解決方法

在ubuntu 12.04版本上安裝wdCP,采用編譯安裝的方式,一路裝下來(lái)最后悲催地報(bào)錯(cuò)了:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) 無(wú)法連接mysql,請(qǐng)檢查mysql是否已啟動(dòng)及用戶密碼是否設(shè)置正確!:

* Restarting web server httpd

去/tmp目錄下找了找還真沒(méi)有mysql.sock,用netstat–lnpt也沒(méi)發(fā)現(xiàn)那個(gè)占用3306端口的吃貨,你妹的mysql就沒(méi)啟動(dòng)起來(lái)啊。

根據(jù)網(wǎng)上消息,/etc/my.cnf中的basedir、datadir、user是要正確填寫滴,不寫是容易出錯(cuò)滴。用vi一看,果然沒(méi)有這幾貨。

不過(guò)似乎basedir和datadir不填也行,只需要填寫user=root即可,如下:

[mysqld]

user = root

port = 3306

socket = /tmp/mysql.sock

然后重啟一下mysql:

servicemysqld restart

這回mysql終于啟動(dòng)了,netstat–lnpt也能發(fā)現(xiàn)有3306端口了。但此時(shí)訪問(wèn)wdCP主頁(yè)(http://ip:8080)還是會(huì)報(bào)錯(cuò),打開(kāi)頁(yè)面就是:

無(wú)法連接mysql,請(qǐng)檢查mysql是否已啟動(dòng)及用戶密碼是否設(shè)置正確!:

這時(shí)先用wdcp的工具重新設(shè)置一下數(shù)據(jù)庫(kù)的root密碼和wdcp密碼:

sh /www/wdlinux/tools/mysql_root_chg.sh

會(huì)顯示重置之后的root密碼

sh /www/wdlinux/tools/mysql_wdcp_chg.sh

會(huì)顯示重置之后的wdcp密碼

重置之后,終于好不容易能從phpMyAdmin訪問(wèn)數(shù)據(jù)庫(kù)了,用戶root,密碼為上文返回值,訪問(wèn)地址為:

http://ip:8080/phpmyadmin/

在phpmyadmin中創(chuàng)建個(gè)用戶wdcp,密碼為上文所述,權(quán)限全選。此時(shí)再訪問(wèn)wdCP會(huì)發(fā)

現(xiàn)字符終于有了點(diǎn)變化,嚯嚯嚯嚯:

MySQL Query Error:select * from wd_conf where name='os_rl'

再去phpmyadmin中創(chuàng)建一個(gè)名為wdcpdb的數(shù)據(jù)庫(kù),把/www/wdlinux/wdcp/wdcpdb.sql拷出來(lái),導(dǎo)入數(shù)據(jù)庫(kù)。

此時(shí)再訪問(wèn)wdcp主頁(yè),發(fā)現(xiàn)眼前一亮,終于登陸界面出現(xiàn)了,輸入用戶名admin,密碼wdlinux.cn,爽去吧騷年….




歡迎光臨 WDlinux官方論壇 (http://cd-genova.com/bbs/) Powered by Discuz! 7.2