
Unix&Linux
esinhee
这个作者很懒,什么都没留下…
展开
-
Starting MySQL.Manager of pid-file quit without updating
rm /path/to/mysql/var/mysql-bin.*/usr/local/mysql/bin/mysql_install_db --user=mysql --basedir=/path/to/mysql --datadir=/mysql数据库目录原创 2009-11-14 09:29:00 · 730 阅读 · 0 评论 -
You need to use --log-bin to make --binlog-format work.
Mysql:[ERROR] You need to use --log-bin to make --binlog-format work. my.cnflog-bin = mysql-bin原创 2009-12-13 00:11:00 · 4091 阅读 · 0 评论 -
nginx及php安装杂记
【1】php 5.3.0 编译安装./configure --prefix=/usr/local/php /--with-config-file-path=/usr/local/php /--with-mysql=mysqlnd /--with-mysqli=mysqlnd /--with-pdo-mysql=mysqlnd /--with-iconv /--with-原创 2009-12-13 00:02:00 · 699 阅读 · 0 评论 -
fcitx安装错误
错误1:TrayWindow.h:5:21: error: X11/xpm.h: No such file or directoryIn file included from ime.c:42:TrayWindow.h:20: error: expected specifier-qualifier-list before ‘XpmAttributes’make[2]: *** [i原创 2009-12-12 23:57:00 · 2219 阅读 · 0 评论 -
vsftp write enable
setsebool -P ftpd_disable_trans 1 ○关闭selinux#SELINUX=enforcingSELINUX=disabled 重启生效,或者:setenforce 0原创 2009-12-13 00:08:00 · 760 阅读 · 0 评论 -
debian amd64安装linuxqq
忘了原文的地址,请原谅从http://im.qq.com/qq/linux/download.shtml下载i386版本的deb文件$sudo aptitude install ia32-libs ia32-libs-gtk$sudo dpkg --force-architecture -i linuxqq_v1.0.2-beta1_i386.deb转载 2009-12-11 22:10:00 · 1191 阅读 · 0 评论 -
pscp文件传输
上传:>pscp -C c:/test.txt username@server:.下载:>pscp -C username@server:test.txt c:/ PuTTY Secure Copy clientRelease 0.58Usage: pscp [options] [user@]host:source target pscp [opt原创 2009-12-13 00:12:00 · 831 阅读 · 0 评论 -
sudo: must be setuid root
不知道什么时候修改了/usr的权限,致使sudo执行时提示sudo: must be setuid root 解决办法:chown root:root /usr/bin/sudochmod u+s /usr/bin/sudo原创 2009-12-13 00:10:00 · 778 阅读 · 0 评论 -
machine `x86_64-unknown' not recognized
执行configure时,提示“checking host system type... Invalid configuration `x86_64-unknown-linux-gnu: machine `x86_64-unknown not recognized”。解决办法拷贝 /usr/share/libtool/config.guess 到覆盖源码自带(可能没有)原创 2009-12-13 00:10:00 · 2124 阅读 · 0 评论 -
debian amd64上编译安装firefox 3.5.5
到mozilla上下载firefox 3.5.5源码(http://stage.mozilla.org/pub/mozilla.org/firefox/releases/)。解压之后进入解压出来到目录mozilla 1.9.1执行:$touch .mozconfig$vim .mozconfig输入:mk_add_options MOZ_OBJDIR=@TOPSRCDIR@原创 2009-12-11 21:01:00 · 1280 阅读 · 0 评论 -
tar:Error exit delayed from previous errors
tar:Error exit delayed from previous errors(由于前面延迟的错误而退出)解决办法:删除该文件或者修改权限。原创 2009-12-13 00:12:00 · 1117 阅读 · 0 评论 -
apache support for php5
add the following configuration:AddType application/x-httpd-php .phpAddType application/x-httpd-php .php .phtml .php3AddType application/x-httpd-php-source .phps原创 2009-12-13 00:09:00 · 520 阅读 · 0 评论 -
debian amd64上安装flash player x64
从adobe下载liinux x64版本的flash player,解压之后拷贝到~/.mozilla/plugiins。重新启动firefox之后有可能崩溃 解决办法:安装libcurl3-gnutls原创 2009-12-11 20:56:00 · 877 阅读 · 0 评论 -
php-fpm启动失败记录(1)——Address already in use
单独启动php-fpm:/path/to/php/sbin/php-fpm start比正常启动慢了很长时间,结果还是failed,而且还没其他提示。查看/path/to/php/logs/php-fpm.log:[ERROR] fpm_sockets_new_listening_socket(), line 221: bind() for address ‘127.0.0.1:原创 2009-11-14 09:31:00 · 9893 阅读 · 0 评论 -
my.conf配置
添加[mysqld]user = mysqlport = 3306socket = /tmp/mysql.sockbasedir = /usr/local/webserver/mysqldatadir = /data/mysql/dataopen_files_limit = 10240back_log = 600max_connecti原创 2009-11-14 09:30:00 · 1039 阅读 · 0 评论 -
Nginx错误相关
1. Warning: Unknown: Filename cannot be empty in Unknown on line 0 Fatal error: Unknown: Failed opening required (include_path=.:) in Unknown on line 0 检查步骤:1.确保Nginx默认用户对文件夹有浏览权限,755原创 2010-05-29 12:46:00 · 1852 阅读 · 1 评论