• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
天生我材有P用
When Everything Is Ready, Everything May Be Too Late
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理

09 2014 档案

 
配置suricata
摘要:yum -y install libpcap libpcap-devel libnet libnet-devel pcre \pcre-devel gcc gcc-c++ automake autoconf libtool make libyaml \libyaml-devel zlib zlib-... 阅读全文
posted @ 2014-09-24 21:42 沉重的蚂蚱 阅读(974) 评论(0) 推荐(0)
CentOS 6.5 安装Nvidia驱动后出现"no screens found "错误
摘要:参考官网文档http://cn.download.nvidia.com/XFree86/Linux-x86_64/280.13/README/editxconfig.html进入更改文档:vi /etc/X11/xorg.confRemove the line: Driver "nv" ... 阅读全文
posted @ 2014-09-24 09:57 沉重的蚂蚱 阅读(1817) 评论(0) 推荐(0)
linux 备份系统
摘要:切换到root用户切换到根目录tar cvpzf backup.tgz --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/mnt --exclude=/sys /恢复系统tar xvpfz backup.tg... 阅读全文
posted @ 2014-09-22 15:49 沉重的蚂蚱 阅读(211) 评论(0) 推荐(0)
linux下的文本处理命令sed&awk&grep
摘要:Sedsed 是个精简的、非交互式的编辑器。他能执行和编辑vi和emacs相同的编辑任务。sed编辑器不提供交互使用方式:只能在命令行输入编辑命令、指定文件名,然后在屏幕上察看输出。sed编辑器没有破坏性。他不会修改文件,除非用shell重定向来保存输出结果。缺省情况下,所以的输出都被打印到屏幕上。... 阅读全文
posted @ 2014-09-21 22:02 沉重的蚂蚱 阅读(413) 评论(0) 推荐(0)
CentOS 单用户登录&命令行、图像界面
摘要:如何单用户登录:这是一个很简单的问题,以前没重视,每次linux服务器无法正常启动时,都找应急盘,想偷懒,反而浪费了时间。今天备忘如下:1.系统启动时,按光标键调出GRUB引导菜单。2.选定一种可引导的内核,按e,进入edit模式。3. 在kernel行再按e,编辑此行,即在行尾输入single,按... 阅读全文
posted @ 2014-09-21 21:06 沉重的蚂蚱 阅读(924) 评论(0) 推荐(0)
CentOS 6.5 安装Suricata(with PF_RING & CUDA)
摘要:0.基础包 确保已安装yum install mpfr cpp ppl cloog-ppl gcc kernel-devel pcre-devel libpcap-devel yum-plugin-priorities yum-conf libyaml libyaml-devel libnet f... 阅读全文
posted @ 2014-09-21 12:17 沉重的蚂蚱 阅读(2181) 评论(0) 推荐(0)
设置网卡为混杂模式
摘要:linux下ifconfig eth0 promisc #设置混杂ifconfig eth0 -promisc #取消混杂 阅读全文
posted @ 2014-09-19 19:03 沉重的蚂蚱 阅读(970) 评论(0) 推荐(0)
【转】Grub Rescue修复方法
摘要:症状: 开机显示:GRUB loadingerror:unknow filesystemgrub rescue>原因:已经发现下面几种操作会导致这种问题:1,想删除debian,于是直接在windows下删除/格式化了debian所在的分区。2,调整磁盘,利用工具合并/分割/调整/删除分区,使磁盘... 阅读全文
posted @ 2014-09-19 12:16 沉重的蚂蚱 阅读(18037) 评论(0) 推荐(2)
关于Tcpreplay
摘要:tcpprep -p -o /root/Desktop/ZS/Tcpreplay/cache_test.cache -i /root/Desktop/ZS/Tcpreplay/9.17.pcap tcpreplay -i eth0 –cachefile=/root/Desktop/ZS/Tcpr... 阅读全文
posted @ 2014-09-17 17:25 沉重的蚂蚱 阅读(252) 评论(0) 推荐(0)
关于Ubuntu下apt的一些用法及和yum的比较
摘要:Fedora和Red Hat有yum安装软件,Ubuntu有apt工具。apt简单的来说,就是给Ubuntu安装软件的一种命令方式。一、apt的相关文件/etc/apt/sources.list设置软件包的获取来源/etc/apt/apt.confapt配置文件/etc/apt/apt.conf.d... 阅读全文
posted @ 2014-09-17 12:56 沉重的蚂蚱 阅读(6731) 评论(1) 推荐(0)
Linux Mint 17.2个性化配置
摘要:一.开启root 帐号登陆 设置一个口令,使用:sudo passwd root 当你使用完毕后屏蔽root帐号使用以下命令锁定root帐号:sudo passwd -l root 如何在终端模式下切换到root身份?sudo -s -HPassword: 二.安装基础编译环境sudo a... 阅读全文
posted @ 2014-09-17 12:42 沉重的蚂蚱 阅读(619) 评论(0) 推荐(0)
【转】Linux 标准目录结构
摘要:初学Linux,首先需要弄清Linux 标准目录结构/root ---启动Linux时使用的一些核心文件。如操作系统内核、引导程序Grub等。home ---存储普通用户的个人文件ftp --- 用户所有服务httpdsambauser1user2bin ---系统启动时需要的执行文件(二进制)sb... 阅读全文
posted @ 2014-09-16 13:11 沉重的蚂蚱 阅读(176) 评论(0) 推荐(0)
硬盘安装Win7、CentOS7双系统
摘要:待补充0.软件 Acronis Disk Director:用来对硬盘分区,将磁盘的一部分格式化成Linux可以识别的ext3格式 Ext2Fsd:因为Windows不能识别ext3格式的文件系统,所以需要借助这个软件将linux安装文件放到ext3的磁盘 EasyBCD:用于添加和修改启... 阅读全文
posted @ 2014-09-14 00:43 沉重的蚂蚱 阅读(948) 评论(0) 推荐(0)
配置snort
摘要:0.如果要输出到mysql,请安装barnyard2在此之前,请启动并配置mysqlgit clone https://github.com/firnsy/barnyard2cd barnyard2./autogen.sh./configure --with-mysql-libraries=/usr... 阅读全文
posted @ 2014-09-08 21:29 沉重的蚂蚱 阅读(2073) 评论(0) 推荐(1)
linux查找命令
摘要:1、which 语法: [root@localhost ZS]#which 可执行文件名称 例如: [root@localhost ZS]#which passwd /usr/bin/passwd which是通过PATH环境变量到该路径内查找可执行文件,所以基本的功能是寻找可执行文件 2、wher... 阅读全文
posted @ 2014-09-06 21:39 沉重的蚂蚱 阅读(542) 评论(0) 推荐(0)
CenOS 用PF_RING优化Snort
摘要:0.优化顺序 安装PF_RING的kernel模块 安装PF_RING的用户态库 安装Snort的DAQ 安装PF_RING的pfring-daq-module 安装snort 安装PF_RING-aware网卡驱动1.PF_RING安装请参考kernel、用户态库、网卡驱动请参考 Ce... 阅读全文
posted @ 2014-09-06 16:18 沉重的蚂蚱 阅读(967) 评论(0) 推荐(0)
CentOS 修改DNS,固定IP等操作(网络)
摘要:1.修改DNS修改对应网卡的DNS的配置文件vi /etc/resolv.conf 内容格式(西工大)nameserver 114.114.114.114nameserver 202.117.80.2nameserver 202.117.80.3nameserver 202.117.80.2002.... 阅读全文
posted @ 2014-09-05 20:11 沉重的蚂蚱 阅读(685) 评论(0) 推荐(0)
VMware克隆CentOS虚拟机后固定IP的问题
摘要:由于克隆虚拟机,VMware只是修改了虚拟机的名字等信息,并没有修改虚拟硬盘中的任何信息,导致克隆后网卡的MAC地址和操作系统中记录的mac地址不符,导致eth0启动不起来。操作系统记录了一个新网卡的添加,新网卡的名字eth1,mac地址就是VMware分配给的新的mac地址解决方法:修改 /etc... 阅读全文
posted @ 2014-09-05 16:31 沉重的蚂蚱 阅读(252) 评论(0) 推荐(0)
CentOS 安装Chrome
摘要:yum install http://people.centos.org/hughesjr/chromium/6/x86_64/RPMS/chromium-31.0.1650.63-2.el6.x86_64.rpm可以进入网页自己查看最新版本然后安装完成后,如果是root用户必须要指定运行的文件夹,... 阅读全文
posted @ 2014-09-05 16:04 沉重的蚂蚱 阅读(233) 评论(0) 推荐(0)
网络安全
摘要:hashcatsvnhttps://www.threatstack.com/open-source 阅读全文
posted @ 2014-09-02 15:58 沉重的蚂蚱 阅读(123) 评论(0) 推荐(0)
 

公告


博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3