`
ma3310
  • 浏览: 15982 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论
文章列表
安装 PHP 引用scott@uec-ref:/etc/php5$ tree . ├── apache2 │   ├── conf.d -> ../conf.d │   ├── php.ini ├── cli │   ├── conf.d -> ../conf.d │   └── php.ini └── conf.d        <- extension 的配置在这里     ├── gd.ini     ├── imap.ini     ├── ldap.ini     ├── mcrypt.ini     ├── mysqli.ini     ├── mysql.ini ...
升级版本 # do-release-upgrade SSH 远程登录 % ssh -o TCPKeepAlive=yes -o Compression=yes -o CompressionLevel=9 scott@seven.vicp.net landscape-sysinfo 重复显示 清空 motd.tail 文件 # > /etc/motd.tail
需要输出调试信息用 msg_info 函数,语法同 printf。 日志打在 syslog 里,Ubuntu 默认路径为 /var/log/mail.log 改造 msg_info,使其能够输出文件名及行号。msg.h 的函数声明改成: #ifdef NO_LINE_NUMBER extern void PRINTFLIKE(1, 2) msg_info(const char *,...); #else extern void msg_info_ext(const char *, const unsigned int, const char *,...); #define msg_in ...
方法1:(Ubuntu 下无效) $ cat /etc/X11/xinit/xserverrc #!/bin/sh #exec /usr/bin/X -nolisten tcp &quot;$@&quot; exec /usr/bin/X tcp &quot;$@&quot; 方法2:(有时需新建 custom.conf) scott@xserver:~$ cat /etc/gdm/custom.conf [security] DisallowTCP=false scott@xserver:~$ xhost + xclient s ...
# 保持上一次退出的位置 autocmd BufReadPost * \ if line("'\"") > 0 && line("'\"") <= line("$") | \ exe "normal g`\"" | \ endif
生成 keystore 文件,默认路径为 home/.keystore。 $ keytool -genkey -alias <tomcat admin name> -keyalg RSA Enter keystore password: <tomcat admin password> Re-enter new password: <tomcat admin password> What is your first and last name? [Unknown]: <Enter> What is the name of your ...
微博一键分享主要通过对指定 URL 添加各种参数来实现;也可以用在线生成器自动生成。 示例: 搜狐微博一键分享 URL,只需三个参数: http://t.sohu.com/third/post.jsp?url=http://ma3310.vicp.net&title=搜狐一键分享真好用!&content=utf-8 网易微博一键分享 URL: http://t.163.com/article/user/checkLogin.do?source=网易科技&info=参数source貌似需要申请di...可是如何申请捏,要送红包么? passit.cn 生成的代码,贴 ...
前提: # apt-get install libdb-dev # adduser postfix # addgroup postdrop 编译: % make 安装: # make install 备份原始配置文件: # cp /etc/postfix/main.cf /etc/postfix/main.cf.org # cp /etc/postfix/master.cf /etc/postfix/master.cf.org 配置: # touch /etc/aliases # /usr/bin/newaliases # postconf -e myhostname=uec-nd2 # ...
启动 hadoop 后,datanode 的 log 里一直报错,提示连不上 namenode。 2011-03-30 00:14:00,582 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: uec-fe/16.157.63.10:9000. Already tried 0 time(s). 2011-03-30 00:14:01,583 INFO org.apache.hadoop.ipc.Client: Retrying connect to server: uec-fe/16.157.63.10:9000. ...
# 编译出错 ma3310@u-svr-32:~/postfix-2.8.2 $ make make -f Makefile.in MAKELEVEL= Makefiles (echo &quot;# Do not edit -- this file documents how Postfix was built for your machine.&quot;; /bin/sh makedefs) &gt;makedefs.tmp No include file found. Install the appropriate db*-devel package ...
MySQL 中对默认创建的表进行模糊匹配查询时,是忽略大小写的。原因是 MySQL 比较两个值时会参考与预定义的字符集相匹配的比较规则(collation)。 mysql> SHOW CHARACTER SET; +----------+-----------------------------+---------------------+--------+ | Charset | Description | Default collation | Maxlen | +----------+---------------------------- ...
Global site tag (gtag.js) - Google Analytics