上一页 1 ··· 7 8 9 10 11 12 13 14 15 下一页
摘要: 写一篇《gitlab无法启动了应该怎么办》 阅读全文
posted @ 2013-12-15 00:27 silence.li 阅读(200) 评论(0) 推荐(0)
摘要: 1.安装nginx下载nginx-1.4.3解压:tar zxvf nginx-1.4.3.tar.gz编译安装:./configure--prefix=/app/act/nginx/nginx-1.4.3 --with-debug --with-http_addition_module --with-http_dav_module --with-http_gzip_static_module --with-http_stub_status_module --with-http_sub_modulemake && make install配置文件: location / { . 阅读全文
posted @ 2013-12-15 00:13 silence.li 阅读(285) 评论(0) 推荐(0)
摘要: 今天查看之前配置的tomcat发现catalina.out文件已经增大到接近5G,过不了多久就会将所在分区撑爆。搜集了一下,大部分都使用cronolog切割catalina.out文件。按照这个方式设置了一下安装cronolog软件wget http://cronolog.org/download/cronolog-1.6.2.tar.gztar zxvf cronolog-1.6.2.tar.gzcd cronolog-1.6.2./configure --prefix=/path/to/cronologmake && make install修改catalina.sh文件1 阅读全文
posted @ 2013-12-14 23:36 silence.li 阅读(348) 评论(0) 推荐(0)
摘要: 1.制作usb boot盘,在ubuntu上使用startup disk creater将ubuntu-server12.04.iso写入到usb中;2.修改syslinux文件夹中的syslinux.cfg文件,例如:prompt 1timeout 5default auto1label auto1kernel /install/vmlinuzappend initrd=/install/initrd.gz preseed/file=/preseed/preseed.cfg auto=true3.在preseed/目录下添加preseed文件4.安装virtualbox,创建虚拟机使系统从u 阅读全文
posted @ 2013-12-13 00:33 silence.li 阅读(693) 评论(1) 推荐(0)
摘要: 很久之前做ubuntu的PXE配置ubuntu的preseed费了很大的力气,总结的不多,现在温习一下。就我所接触的,有分区普通磁盘,LVM,和raid三种方式。其中前两中方式比较多,raid方式是建立软raid,如果有硬件raid,不许要这个。先看我配置成功的例子:# Partitioning d-i partman-auto/method string regulard-i partman-lvm/device_remove_lvm boolean trued-i partman-md/device_remove_md boolean trued-i partman-lvm/confirm 阅读全文
posted @ 2013-12-12 23:13 silence.li 阅读(5346) 评论(0) 推荐(0)
摘要: 这个问题曾经困扰我很久,在了解了MBR之后,我曾认为第一块分区之前为一个block。但是用fdisk查看是2048,一直不了解其中的缘由,今天查了一下资料,大概了解了,其中的细节留着慢慢去了解。最直接的回答:With the death of the legacy BIOS (ok, its not quite dead yet) and its replacement with EFI BIOS, a special boot partitionis needed to allow EFIsystems to boot in EFI mode.Starting the first parti 阅读全文
posted @ 2013-12-12 21:58 silence.li 阅读(11226) 评论(2) 推荐(0)
摘要: http://rritw.com/a/caozuoxitong/Linux/20120614/171157.htmlhttps://www.zabbix.com/wiki/templates/iptstate 阅读全文
posted @ 2013-12-10 12:43 silence.li 阅读(230) 评论(1) 推荐(0)
摘要: ubuntu没有图形界面,插入无线网卡后启动不能连接无线。看这个帖子http://askubuntu.com/questions/138472/how-do-i-connect-to-a-wpa-wifi-network-using-the-command-lineiw(list/config) can only handle WEP.You needwpa-supplicantfor this.sudo apt-get install wpasupplicantIn/etc/wpa_supplicant.confyou put your ssid and password.gksu gedi 阅读全文
posted @ 2013-12-06 21:56 silence.li 阅读(497) 评论(0) 推荐(0)
摘要: iptables -t nat -A PREROUTING -d {外网ip}/32 -p tcp -m tcp --dport 4956 -j DNAT --to-destination 10.1.3.4:4956iptables -t nat -A POSTROUTING -d 10.1.3.4/32 -p tcp -m tcp --dport 4956 -j SNAT --to-source 10.1.3.41 阅读全文
posted @ 2013-12-05 13:56 silence.li 阅读(208) 评论(0) 推荐(0)
摘要: 1.fengoffice配置config/ldap_config.php $config_ldap = array ( 'binddn' => 'cn=admin,dc=xxx,dc=xxx', 'bindpw' => 'xxxxxx', 'basedn' => 'dc=xxx,dc=xxx', 'host' => 'ldap://192.168.1.41:389', 'uid' => 'uid' //Ch 阅读全文
posted @ 2013-12-05 11:47 silence.li 阅读(721) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 下一页