big bug ban

兴趣 创新 践行

Archive for the ‘linux’ Category

linux服务器,ubuntu,安装,LAMP等等相关内容

诡异的shell问题

 

这是一段小代码

#!/bin/sh

read c

echo $c

读取一个字符然后显示出来

但是!!!!

不能运行!!

为什么??

我也不知道..

下载这个new.sh (165)试试.

改个名就可以正常用了.

我表示[......]

继续阅读

Written by princehaku

七月 8th, 2011 at 1:30 上午

296 views

Posted in linux

Tagged with

with 3 comments

linux限制进程--ulimit

 

ulimit 参数说明
选项 [options] 含义 例子 -a 显示当前所有的 limit 信息。 ulimit – a;显示当前所有的 limit 信息。[......]

继续阅读

Written by princehaku

六月 2nd, 2011 at 10:04 下午

427 views

Posted in linux

with 2 comments

ubuntu androidapk程序一键安装工具

 

这个东东呢叫apkinstaller 给ubuntu用的

ubuntu下面貌似没有豌豆荚啊之类的程序。

于是做了这个,一键安装android程序

已经打包成deb,直接安装就可以了

安装完后当你连接手机到usb的时候 双击任意的apk文件就可以安装了

支持HTC[......]

继续阅读

Written by princehaku

三月 27th, 2011 at 12:17 下午

1,406 views

Posted in Android,linux

Tagged with

with 6 comments

GTK..

 

准备做个linux下的小工具..

原来gtk做界面也很方便嘛...

相关信息稍后连源代码一起发布..

RT.

Written by princehaku

三月 25th, 2011 at 7:16 下午

557 views

Posted in linux

Tagged with

with 4 comments

ubuntu server 安装VPN pptp

 

首先说一点.安装pptp类型的VPN VPS不能是openvz的 XEN的都可以 首先使用如下命令安装pptp sudo apt-get install pptpd

然后执行

sudo vim /etc/pp...[......]

继续阅读

Written by princehaku

九月 9th, 2010 at 10:55 下午

773 views

Posted in linux

Tagged with ,

without comments

这个耗电量我还能接受…

 


附上一个代码...降低耗电量...

#!/bin/sh
sudo service apache2 stop
sudo service mysql stop
sh /usr/local/tomcat6/bin/shutdown.sh
sudo service virtualbox-o[......]

继续阅读

Written by princehaku

五月 26th, 2010 at 2:30 下午

433 views

Posted in linux

Tagged with

without comments

ubuntu10.04好像出来了…

 

又得更新了..
希望开机速度变快一点..
耗电量低一点...
不然我还是得用win7....
找个时间下补丁..600+MB呢..

Written by princehaku

五月 23rd, 2010 at 4:29 下午

323 views

Posted in linux

Tagged with

without comments

瓦…chrome..

 

最近终于再次装上了它..chrome..

ubuntu...

比firefox快多了...

上个图..

Written by princehaku

五月 20th, 2010 at 8:28 上午

457 views

Posted in linux

without comments

ubuntu 想说爱你不容易

 

ubuntu 想说爱你不容易[......]

继续阅读

Written by princehaku

十二月 25th, 2009 at 11:13 下午

530 views

Posted in linux

Tagged with

without comments

ubuntu 9.10 mono配置

 

昨天和今天半天。。。

在 服务器上弄了半天都么成功

然后在自己电脑上了了。。

结果直接就可以用了。。

mark一下

503错误:

可能是服务器的配置写错了

比如我的就是 /etc/mono-server2/mono-server2-hosts.conf错了。。多了一行

标准的应该[......]

继续阅读

Written by princehaku

十一月 30th, 2009 at 11:08 上午

563 views

Posted in linux

without comments