幸福飞过海 - 2013年5月 https://fengqi.me/2013/05/ 风起的网络记事本 [记录]vim 记住上一次编辑的位置 https://fengqi.me/unix/137.html 2013-05-27T08:16:00+00:00 打开/etc/vimrc 在最后一行 加入:if has("autocmd") au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif endif 如果已经有, 去掉注释即可. [原创]Ubuntu/LinuxMint下安装rabbitvcs(类似Windows下的Tortoisesvn) https://fengqi.me/unix/128.html 2013-05-27T06:31:00+00:00 参考文章: Ubuntu RabbitVCSLinuxMint是Ubuntu的一个衍生版, 系统大体一样, 自我感觉LinuxMint比原版Ubuntu好用, 所以本文围绕着LinuxMint展开.RabbitVCS是Ubuntu下的可视化SVN客户端, 类似Windows下的Tortoisesvn;安装和Ubuntu下安装差不多, 唯一的区别就是Ubuntu下的文件管理器是Nautilus, LinuxMint下的的Nautilus的分支Nemo.PS:LinuxMint16已经不需要额外添加ppa了,需要的包都已经纳入官方库,所以第一第二步可以省略,然后第三第四步更改为如下就可以了:apt-get install rabbitvcs-core nemo-rabbitvcs python-nemo 一: 添加rabbitvcs的ppa源sudo add-apt-repository ppa:rabbitvcs/ppa # 会提示确认, 直接按回车键 二: 更新本地源缓存apt-get update 三: 安装rabbitvcsapt-get install rabbitvcs-core rabbitvcs-cli rabbitvcs-thunar thunarx-python # 若依赖错误, 可手工一个个安装 四: 安装nemo-python, nemo-rabbitvcs插件apt-add-repository ppa:gwendal-lebihan-dev/cinnamon-stable # 会提示确认, 直接按回车键 apt-get update apt-get install python-nemo 从这里: python-nemo 下载RabbitVCS.py, 放入到/usr/share/nemo-python/extensions/下, 或直接安装nemo-rabbitvcs五: 重启Nemo[...] 换域名了, 从今天开始使用fengqi.me域名 https://fengqi.me/default/127.html 2013-05-20T14:57:14+00:00 RT 换域名了, 从今天开始启用fengqi.me域名, 原windphp.com做301重定向, 部分图片缺失问题, 可不理会, 我会慢慢补回来. [记录]为CentOS添加第三方源 https://fengqi.me/unix/121.html 2013-05-10T02:01:00+00:00 参考链接: 为CentOS添加第三方源一、安装CentOS yum源优先级插件yum-prioritiesyum install yum-priorities -y 二、设置CentOS默认yum源的优先级为最高cd /etc/yum.repos.d/ 在[base]、[updates]、[extras]组下面添加priority=1,在[centosplus]、[contrib]组下面添加priority=2[...] [总结]自行编译php手册 https://fengqi.me/php/119.html 2013-05-08T02:34:01+00:00 占位, 正在折腾集成评论编译... [总结]Linux下安装php的pear和pecl https://fengqi.me/php/117.html 2013-05-08T02:21:00+00:00 参考链接: Linux上安装php的pear首先下载安装脚本, 使用curl下载, wget也可以, 如果没有这两个命令请自行安装:cd /usr/local/php/bin/ curl -o go-pear.php http://pear.php.net/go-pear curl -o go-pear.php http://pear.php.net/go-pear.phar # 如果你的php版本高于php5.3, 执行这条 安装:php go-pear.php # 回车, 会提示选择安装的东西, 直接回车, 安装全部, 若后面有要选择y/n的, 输入y回车 [...]