龙须面

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2013年3月25日

摘要: If you start from a source RPM, use the following command to make a binary RPM that you can install. If you do not have rpmbuild, use rpm instead.shell> rpmbuild --rebuild --clean MySQL-VERSION.src.rpm The result is one or more binary RPM packages that you install as indicated in Section 2.... 阅读全文
posted @ 2013-03-25 19:53 木子小黑 阅读(176) 评论(0) 推荐(0) 编辑

2013年3月23日

摘要: 转载自:http://blog.csdn.net/buutterfly/article/details/5630203DedeCMS部署--怎样去部署Apache+Mysql+PHP(LAMP)?1. Linux OS:Linux OS:Red Hat Enterprise Linux AS release 4 (Nahant Update 6)2.Deploy Apache2.1 下载Apache下载Apache2 source from http://httpd.apache.org/ ,直接下载在/root下,解压tar包php-5.2.13。2.2 编译 apachecd httpd- 阅读全文
posted @ 2013-03-23 19:38 木子小黑 阅读(511) 评论(1) 推荐(0) 编辑

摘要: /etc/init.d/mysql stop # mysqld_safe --user=mysql --skip-grant-tables --skip-networking & # mysql -u root mysql mysql> UPDATE user SET Password=PASSWORD(’newpassword’) where USER=’root’; mysql> FLUSH PRIVILEGES; mysql> quit # /etc/init.d/mysql restart # mysql -uroot -p Enter password: & 阅读全文
posted @ 2013-03-23 17:14 木子小黑 阅读(821) 评论(0) 推荐(0) 编辑

摘要: 1.在oracle官网上下载了一个mysql最新的RPM包2.把系统中的老mysql删掉3.安装新版的mysql4.就是启动不了,提示无法无法更新PID文件,错误日志为/var/lib/mysql/*.err,里面有提示: InnoDB: Could not open or create the system tablespace......5.用ls -l 看了下/var/lib/mysql下的文件,发现许多文件日期是以前的,直接晕倒,明明是刚刚才装的,果断卸载新版数据库,删掉这个mysql目录, 重新安装新版数据库,启动正确由于没有抓图,所以错误提示无法重现,所以再遇到类似的问题,先看.. 阅读全文
posted @ 2013-03-23 15:57 木子小黑 阅读(966) 评论(0) 推荐(0) 编辑

2013年3月18日

摘要: 很简单的,就不用解释了 阅读全文
posted @ 2013-03-18 18:11 木子小黑 阅读(225) 评论(0) 推荐(0) 编辑

摘要: 补充:原来出现这个错误原因(httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.xx for ServerName)是因为DNS没配置好. 如果不想配置DNS, 就在httpd.conf , 在最前加入 ServerName localhost:80 即可其实这个问题,解决的方法就是补充中的一句话,修改httpd.conf中的ServerName IP:port与Listen IP:端口一致就OK了。 阅读全文
posted @ 2013-03-18 14:36 木子小黑 阅读(416) 评论(0) 推荐(0) 编辑

摘要: 1、打开windows远程桌面连接服务 如果要修改端口, 打开开始—运行—输入regedit进入注册表,然后找到HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp 下的PortNamber,将它的值改为你想要的端口就可以了,如1234。 然后: 然后找到HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TerminalServer \WinStations\RDP-Tcp,将PortNumber的值改为十进制的1234.. 阅读全文
posted @ 2013-03-18 14:34 木子小黑 阅读(433) 评论(0) 推荐(0) 编辑

摘要: 因为版权问题软件 没有自带解码器我的是centos 32位系统所以用下面第一个源32位系统 第三方源 rpm -ivhhttp://pkgs.repoforge.org/rpmfor ... 2-2.el6.rf.i686.rpm64位系统 第三方源 rpm -ivhhttp://pkgs.repoforge.org/rpmfor ... 2.el6.rf.x86_64.rpm还要再安装个才可以:yum install gstreamer-ffmpeg源的使用方法图Screenshot-3.png安装完源之后再用播放器播放音频然后搜索。。。。等待吧。。。。看到图Screenshot-4.png 阅读全文
posted @ 2013-03-18 14:33 木子小黑 阅读(254) 评论(0) 推荐(0) 编辑

摘要: 1、下载apahcehttp://archive.apache.org/dist/httpd/httpd-2.4.4.tar.gz 编译提示:configure: error: APR not found. Please read the documentation. 查看文档: 位于apache发布包的INSTALL文档: 2、下载APR和APR-util最新版http://mirror.bit.edu.cn/apache/apr/apr-1.4.6.tar.gz 将它们解压到apachede目录下的srclib中的apr和apr-util目录中(一般需要自己手动创建)3、 编译a... 阅读全文
posted @ 2013-03-18 14:24 木子小黑 阅读(230) 评论(0) 推荐(0) 编辑

摘要: Netstat 命令用于显示各种网络相关信息,如网络连接,路由表,接口状态 (Interface Statistics),masquerade 连接,多播成员 (Multicast Memberships) 等等。输出信息含义执行netstat后,其输出结果为Active Internet connections (w/o servers)Proto Recv-Q Send-Q Local Address Foreign Address Statetcp 0 2 210.34.6.89:telnet 210.34.6.96:2873 ESTABLISHEDtcp 296 0 210.34.6. 阅读全文
posted @ 2013-03-18 14:23 木子小黑 阅读(964) 评论(0) 推荐(0) 编辑