VPS网站数据快速备份到本地
Linux / 2013年01月26日

//此方法只适用于有自主管理权限的主机或服务器,虚拟主机请使用phpmysqladmin快速备份数据库然后参考:https://www.myzhenai.com/thread-15412-1-1.html
参考资料:
https://www.myzhenai.com/thread-15175-1-1.html
https://www.myzhenai.com/thread-15141-1-1.html
https://www.myzhenai.com/thread-15066-1-1.html
https://www.myzhenai.com/thread-14309-1-2.html
登录VPS,这里以我为和尚的bbsjiuwo社区的备份做演示.

WordPress快速更新的方法
仙岛教程 / 2013年01月26日

这个方法更新其他网络程序也可以的,这里以Wordpress进行演示.这个方法的前提是你的是VPS或独立服务器,对Wordpress模板的改动变化不是太大,不然的话,还是老老实实的用其他方法更新吧.此方法对虚拟主机无效.
虚拟主机请参考:https://www.myzhenai.com/thread-15412-1-1.html https://www.myzhenai.com.cn/post/902.html
1:首先把Wordpress最新版本下载一份到本地,解压缩后查看Wordpress都更新了哪些文件(主要是看文件的改动时间).
//如果你修改过的文件不在这次更新的行列,那么你可以用这个方法快速更新.
2:登录你的VPS服务器,执行以下命令

一招搞定FlashFXP快速上传下载
仙岛教程 / 2013年01月26日

FlashFXP是一款著名的FTP上传下载软件,功能齐也比较好用.很多站长在使用FlashFXP可能不怎么留意它的文件传输规则功能,这里用好规则能省我们好多时间.
FlashFXP界面\属性\文件传输规则\全局\新建
如图,这样一来,无论是上传还是下载,只要文件时间相等同时文件大小相等的时候(这不说明文件没有变动,所以没必要上传下载,保持原来的文件就可以了),程序会自动跳过这些文件.

Centos6.3安装pps播放器
Linux / 2013年01月23日

安装说明:
辅助软件:
安装PPS Linux版本前需要先安装以下辅助软件:
* QT库, 4.4.0及以上版本
* libFuse库, 2.7.2及以上版本
* Mplayer, 1.0rc2及以上版本
* MPlayer视频解码器: MPlayer Essential Codec Pack(https://www.mplayerhq.hu/MPlayer/releases/codecs/essential-20071007.tar.bz2)

推荐使用apt-get方式安装: sudo apt-get install libqt4-core libqt4-dbus libqt4-gui libqt4-network libqt4-webkit libqt4-xml libfuse2 mplayer

linux pptp客户端无法链接的解决方法
Linux / 2013年01月23日

Jan 22 19:09:40 localhost nautilus: [N-A] Nautilus-Actions Menu Extender 2.30.3 initializing…
Jan 22 19:09:45 localhost NetworkManager[2007]: (eth0): device state change: 8 -> 3 (reason 0)
Jan 22 19:09:45 localhost NetworkManager[2007]:
(eth0): deactivating device (reason: 0).
Jan 22 19:09:45 localhost pppd[2023]: Terminating on signal 15
Jan 22 19:09:45 localhost pppd[2023]: Connect time 0.5 minutes.
Jan 22 19:09:45 localhost pppd[2023]: Sent 2408 bytes, received 4087 bytes.
Jan 22 19:09:45 localhost NetworkManager[2007]:
Activation (eth0) starting connection ‘ADSL’
Jan 22 19:09:45 localhost NetworkManager[2007]:
(eth0): device state change: 3 -> 4 (reason 0)
Jan 22 19:09:45 localhost NetworkManager[2007]:
Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled…
Jan 22 19:09:45 localhost NetworkManager[2007]:
Activation (eth0) Stage 1 of 5 (Device Prepare) started…
Jan 22 19:09:45 localhost NetworkManager[2007]:
Activation (eth0) Stage 2 of 5 (Device Configure) scheduled…
Jan 22 19:09:45 localhost NetworkManager[2007]:
Activation (eth0) Stage 1 of 5 (Device Prepare) complete.
Jan 22 19:09:45 localhost NetworkManager[2007]:
Activation (eth0) Stage 2 of 5 (Device Configure) starting…
Jan 22 19:09:45 localhost NetworkManager[2007]:
(eth0): device state change: 4 -> 5 (reason 0)
Jan 22 19:09:45 localhost NetworkManager[2007]:
Activation (eth0) Stage 2 of 5 (Device Configure) successful.
Jan 22 19:09:45 localhost NetworkManager[2007]:
Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled.
Jan 22 19:09:45 localhost NetworkManager[2007]:
Activation (eth0) Stage 2 of 5 (Device Configure) complete.
Jan 22 19:09:45 localhost NetworkManager[2007]:
Activation (eth0) Stage 3 of 5 (IP Configure Start) started…
Jan 22 19:09:45 localhost NetworkManager[2007]:
(eth0): device state change: 5 -> 7 (reason 0)
Jan 22 19:09:45 localhost NetworkManager[2007]:
starting PPP connection
Jan 22 19:09:45 localhost dbus: [system] Rejected send message, 2 matched rules; type=”error”, sender=”:1.1″ (uid=0 pid=2007 comm=”NetworkManager) interface=”(unset)” member=”(unset)” error name=”org.freedesktop.DBus.Error.UnknownMethod” requested_reply=0 destination=”:1.6″ (uid=0 pid=2023 comm=”/usr/sbin/pppd))
Jan 22 19:09:45 localhost dbus: [system] Rejected send message, 2 matched rules; type=”error”, sender=”:1.1″ (uid=0 pid=2007 comm=”NetworkManager) interface=”(unset)” member=”(unset)” error name=”org.freedesktop.DBus.Error.UnknownMethod” requested_reply=0 destination=”:1.6″ (uid=0 pid=2023 comm=”/usr/sbin/pppd))
Jan 22 19:09:45 localhost pppd[3126]: Warning: can’t open options file /root/.ppprc: Permission denied
Jan 22 19:09:45 localhost pppd[3126]: Plugin rp-pppoe.so loaded.
Jan 22 19:09:45 localhost pppd[3126]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Jan 22 19:09:45 localhost NetworkManager[2007]:
pppd started with pid 3126
Jan 22 19:09:45 localhost NetworkManager[2007]:
Activation (eth0) Stage 3 of 5 (IP Configure Start) complete.
Jan 22 19:09:45 localhost pppd[3126]: Plugin /usr/lib/pppd/2.4.5/nm-pppd-plugin.so loaded.
Jan 22 19:09:45 localhost dbus: [system] Rejected send message, 2 matched rules; type=”error”, sender=”:1.1″ (uid=0 pid=2007 comm=”NetworkManager) interface=”(unset)” member=”(unset)” error name=”org.freedesktop.DBus.Error.UnknownMethod” requested_reply=0 destination=”:1.6″ (uid=0 pid=2023 comm=”/usr/sbin/pppd))
Jan 22 19:09:45 localhost pppd[2023]: Connection terminated.
Jan 22 19:09:45 localhost dbus: [system] Rejected send message, 2 matched rules; type=”error”, sender=”:1.1″ (uid=0 pid=2007 comm=”NetworkManager) interface=”(unset)” member=”(unset)” error name=”org.freedesktop.DBus.Error.UnknownMethod” requested_reply=0 destination=”:1.6″ (uid=0 pid=2023 comm=”/usr/sbin/pppd))
Jan 22 19:09:45 localhost pppd[3126]: pppd 2.4.5 started by root, uid 0
Jan 22 19:09:45 localhost dbus: [system] Rejected send message, 2 matched rules; type=”error”, sender=”:1.1″ (uid=0 pid=2007 comm=”NetworkManager) interface=”(unset)” member=”(unset)” error name=”org.freedesktop.DBus.Error.UnknownMethod” requested_reply=0 destination=”:1.6″ (uid=0 pid=2023 comm=”/usr/sbin/pppd))
Jan 22 19:09:45 localhost pppd[3126]: PPP session is 9892
Jan 22 19:09:45 localhost pppd[3126]: Connected to 00:46:4b:ad:da:b6 via interface eth0
Jan 22 19:09:45 localhost pppd[3126]: Using interface ppp0
Jan 22 19:09:45 localhost pppd[3126]: Connect: ppp0 < --> eth0
Jan 22 19:09:45 localhost pppd[2023]: Exit.
Jan 22 19:09:45 localhost pppd[3126]: Remote message: Authentication success,Welcome!
Jan 22 19:09:45 localhost pppd[3126]: PAP authentication succeeded
Jan 22 19:09:45 localhost pppd[3126]: peer from calling number 00:46:4B:AD:DA:B6 authorized
Jan 22 19:09:45 localhost pppd[3126]: local IP address 112.66.50.113
Jan 22 19:09:45 localhost pppd[3126]: remote IP address 112.66.50.1
Jan 22 19:09:45 localhost pppd[3126]: primary DNS address 202.100.199.8
Jan 22 19:09:45 localhost pppd[3126]: secondary DNS address 202.100.192.68
Jan 22 19:09:45 localhost NetworkManager[2007]:
PPP manager(IP Config Get) reply received.
Jan 22 19:09:45 localhost NetworkManager[2007]:
Activation (eth0) Stage 4 of 5 (IP4 Configure Get) scheduled…
Jan 22 19:09:45 localhost NetworkManager[2007]:
Activation (eth0) Stage 4 of 5 (IP4 Configure Get) started…
Jan 22 19:09:45 localhost NetworkManager[2007]:
Activation (eth0) Stage 5 of 5 (IP Configure Commit) scheduled…
Jan 22 19:09:45 localhost NetworkManager[2007]:
Activation (eth0) Stage 4 of 5 (IP4 Configure Get) complete.
Jan 22 19:09:45 localhost NetworkManager[2007]:
Activation (eth0) Stage 5 of 5 (IP Configure Commit) started…
Jan 22 19:09:46 localhost NetworkManager[2007]:
(eth0): device state change: 7 -> 8 (reason 0)
Jan 22 19:09:46 localhost NetworkManager[2007]:
Policy set ‘ADSL’ (ppp0) as default for IPv4 routing and DNS.
Jan 22 19:09:46 localhost NetworkManager[2007]:
Activation (eth0) successful, device activated.
Jan 22 19:09:46 localhost NetworkManager[2007]:
Activation (eth0) Stage 5 of 5 (IP Configure Commit) complete.
Jan 22 19:09:47 localhost tpvmlpd2[3198]: device type not supported
Jan 22 19:09:50 localhost NetworkManager[2007]:
Starting VPN service ‘org.freedesktop.NetworkManager.pptp’…
Jan 22 19:09:50 localhost NetworkManager[2007]:
VPN service ‘org.freedesktop.NetworkManager.pptp’ started (org.freedesktop.NetworkManager.pptp), PID 3200
Jan 22 19:09:50 localhost NetworkManager[2007]:
VPN service ‘org.freedesktop.NetworkManager.pptp’ appeared, activating connections
Jan 22 19:09:50 localhost NetworkManager[2007]:
VPN plugin state changed: 1
Jan 22 19:09:50 localhost NetworkManager[2007]:
VPN plugin state changed: 3
Jan 22 19:09:50 localhost NetworkManager[2007]:
VPN connection ‘PPTP’ (Connect) reply received.
Jan 22 19:09:50 localhost NetworkManager[2007]: VPN connection ‘PPTP’ failed to connect: ‘No VPN secrets!’.
Jan 22 19:09:50 localhost NetworkManager[2007]:
error disconnecting VPN: Could not process the request because no VPN connection was active.
Jan 22 19:09:50 localhost NetworkManager[2007]: Policy set ‘ADSL’ (ppp0) as default for IPv4 routing and DNS.
Jan 22 19:10:02 localhost tpvmlpd2[3223]: device type not supported
Jan 22 19:10:17 localhost tpvmlpd2[3227]: device type not supported
Jan 22 19:10:32 localhost tpvmlpd2[3231]: device type not supported
Jan 22 19:10:47 localhost tpvmlpd2[3235]: device type not supported

Linux下安装flash player的方法
Linux / 2013年01月18日

在linux系统里播放swf文档可以用firefox浏览器来打开swf文件,但是我们也可以另外安装独立的flash player播放器来播放swf文件.方法如下
打开:https://www.adobe.com/support/flashplayer/downloads.html 下载linux版本的flash player文件.
例如我安装的flashplayer11

Linux Centos 创建快捷方式的方法
Linux / 2013年01月15日

在/usr/share/applications和~/.local/share/applications/xxxx.desktop这两个目录下有很多系统中的快捷方式图标,如果你的某个图标被误删了,可以在这里创建一个.图标都是.desktop格式的. application/x-desktop文件.

Centos VPS安装Pptp和OpenVpn的方法与经验分享
Linux / 2013年01月9日

这几天自己上了一台Buyvm位于圣何塞节点的VPS服务器,只用来练习安装调试Openvpn和Pptpd科V学P上N网用的,折腾了两天才弄好Openvpn和Pptpd一起能上网,本来第一次安装Pptpd的时候就已经可以正常使用Pptpd了,但后来安装Openvpn的时候却发现Openvpn不能连接,同时Pptpd能连接但却不能上网了,没办法,只能是一步一步的往后逆,想看看哪步出问题了,但最后还是决定卸掉Openvpn看是不是安装这个出的问题,可是没留神,把Centos5卸崩了,只得重新安装系统.下面就详细说一下我折腾的方法与经验,以便对有需要的朋友们有所帮助.如果您认为有用的话,请回复个支持一下,转载的话,也请您注明文章出处地址,谢谢了.

腾讯即将淘汰linuxqq?
Linux / 2013年01月3日

Dear User your version of the software will be obsolete soon. Please download the latest version to avoid interruption of service thank you
(https://im.qq.com/qq/dlqq.shtml)
在linux系统中运行linuxqq时弹出这个提示,当前版本号是:linuxqq-v1.0.2-beta1.i386,难道腾讯要淘汰linuxqq?