-
日志查看技巧之筛选amp;去重[排查篇]
所属栏目:[Linux] 日期:2021-01-19 热度:157
引语:相信大家都会偶尔遇到要排查问题发生的原因的情况,那这种时候,我们最有力后盾就是日志文件了,所以谨记日志记录真的很重要。但是日志文件往往是很大的文件,而且里面有太多的东西可能不是我们需要的,如无数重复行。如果能够有效筛选出对我们有意[详细]
-
如何在cygwin中运行crontab定时脚本[利刃篇]
所属栏目:[Linux] 日期:2021-01-19 热度:117
用到cygwin,自然是希望能多处理一些类似linux的任务了,那就自然少不了定时任务crontab,看到网上教程不少,自己运行一个测试却也不那么容易,下面就记录我的安装过程,以供参考吧! 1、首先,你肯定已经在运行cygwin了,那就再次点击setup.exe安装程序,[详细]
-
apk文件md5校验之用好压对下载服务器测试[测试篇]
所属栏目:[Linux] 日期:2021-01-19 热度:164
? ? ? ? ?往往稍微有点规模的公司,都会有一个独立下载服务器,那么,我还是简单说一下下载服务器的原理吧,首先后台上传文件或软件,然后web服务器通过定时脚本检测,如有变化,则将文件同步出去到下载服务器,源站数据库中保存下载服务器的下载地址进行[详细]
-
使用cygwin中的awk工具进行mysql binlog日志查看[利刃篇]
所属栏目:[Linux] 日期:2021-01-19 热度:161
linux工具确实强悍,然而作为没有linux机器使用权以及开发没有使用linux进行的人,有时想用一些命令确实不方便,所以,才去试着用用cygwin,一款在windows平台上运行的类UNIX模拟环境,是cygnus solutions公司开发的,对于一些命令的使用带来了许多方便。[详细]
-
在windows如何操控一些屌炸天的linux命令[利刃篇]
所属栏目:[Linux] 日期:2021-01-19 热度:73
作为开发者,也许你会说,不会linux简直弱爆了。是的,但是,倒底有多少人是真正在用linux进行开发工作呢,也许是我孤陋寡闻,但我相信,windows操作很多东西是真方便,不愿意使用linux直接开发。但是,我们会接触很多类型的命令,今天就来盘点一下,跑在w[详细]
-
linux中ftp的安装过程记录[运维篇]
所属栏目:[Linux] 日期:2021-01-19 热度:154
安装FTP的全过程记录,对于相同情况希望有所帮助。【centOS】 1、查询本机是否安装vsftpd: rpm -qa |grep vsftpd ; 2、安装ftp服务 yum install vsftpd; 3、开启ftp服务?chkconfig vsftpd on,开机启动; 4、手动操作ftp服务,service vsftpd start 【res[详细]
-
How can I exclude directories from grep -R?
所属栏目:[Linux] 日期:2021-01-19 热度:154
‘--exclude-dir=dir’ Exclude directories matching the pattern dir from recursive directory searches. = ) provide: ‘--exclude-dir=dir’ Exclude directories matching the pattern dir from recursive directory searches. So you can do: grep[详细]
-
主机访问虚拟机中linux上的web服务
所属栏目:[Linux] 日期:2021-01-19 热度:188
环境:主机windows xp 虚拟机centos 6.4 [root@localhost /]# iptables -I INPUT -p tcp --dport 80 -j ACCEPT[root@localhost /]# /etc/rc.d/init.d/iptables saveiptables: Saving firewall rules to /etc/sysconfig/iptables:[? OK? ] [root@localhost[详细]
-
CentOS下安装JDK7 转载
所属栏目:[Linux] 日期:2021-01-19 热度:175
转载地址:http://www.cnblogs.com/rilley/archive/2012/02/02/2335395.html 下载地址:http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.html 1. 安装JDK1.7.0下载完成后在取得root权限后执行: [root@sea sea][详细]
-
用于软件包管理的21个Linux YUM命令 转载
所属栏目:[Linux] 日期:2021-01-19 热度:171
副标题#e# http://flycars001.iteye.com/blog/1949085 ol class="dp-xml" style="margin-top: 0px !important; margin-right: 0px !important; margin-bottom: 1px !important; margin-left: 55px; padding: 5px 0px; color: #5c5c5c; border: none; backgr[详细]
-
centos nfs配置--转载
所属栏目:[Linux] 日期:2021-01-19 热度:162
副标题#e# h2 class="title"http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-nfs-client-config.html h2 class="title"18.6.?NFS Server Configuration There are three ways to configure an NFS server under Red Hat Enterprise Linux: us[详细]
-
Device eth0 does not seem to be present, delaying initializa
所属栏目:[Linux] 日期:2021-01-19 热度:160
昨天在vm里面克隆了个虚拟机,克隆之后,启动了网卡起不来,已启动就报Device eth0 does not seem to be present,delaying initialization.[FAILED]经过各种google,最终要是找到了答案使用克隆后的虚拟机时发现原来在基本系统中的网卡eth0到了新系统却没[详细]
-
Mount NAS Storage in Linux Overview 转载
所属栏目:[Linux] 日期:2021-01-19 热度:188
h1 class="title"Mount NAS Storage in Linux OverviewMounting your NAS Storage to a device that runs on a Linux-based Operating System can be done using a series of simple commands in the shell or terminal within the OS.? This procedure ou[详细]
-
启动weblogic的错误:Could not obtain an exclusive lock to th
所属栏目:[Linux] 日期:2021-01-19 热度:57
http://hi.baidu.com/kaisep/item/0e4bf6ee5da001d1ea34c986 源地址 启动weblogic时报以下错误: 解决办法: 为避免此错误,应确保没有没有启动其它进程或访问此文件并将它删除。?? 在关机时通常会对此文件进行解锁,但如果上次发生了异常关机(如崩溃),[详细]
-
linux下如何修改weblogic console登陆的用户名和密码
所属栏目:[Linux] 日期:2021-01-19 热度:50
1. 执行安装目录下config.sh ./config.sh 2.选择 ?2|Extend an existing WebLogic configuration 3. 别的一路跳过,到修改security,选择yes,即可修改weblogic console登录的用户名和密码。[详细]
-
Apache禁止访问目录
所属栏目:[Linux] 日期:2021-01-18 热度:68
设置Apache禁止访问目录 本文将详细介绍如何操作禁止显示apache网站根目录 进入apache的配置文件 httpd.conf 找到: vim?/etc/httpd/conf/httpd.confOptions?Indexes?FollowSymLinks Options?FollowSymLinks[详细]
-
linux安装redis redis注册服务
所属栏目:[Linux] 日期:2021-01-18 热度:58
安装redis 这一般安装在/uer/local/ mkdir?/usr/local/redis wget?http://download.redis.io/releases/redis-4.0.1.tar.gz tar?xzf?redis-4.0.1.tar.gz cd?redis-4.0.1 make进入redis-4.0.1目录里?启动?src/redis-server 讲redis加入服务 cp?/usr/local/re[详细]
-
linux iptables: No config file
所属栏目:[Linux] 日期:2021-01-18 热度:116
启动 service iptables start报错误:iptables: No config file. 1、输入以下命令 iptables?-P?OUTPUT?ACCEPT service?iptables?save service?iptables?start[详细]
-
在linux外部无法访问,centos7修改防火墙配置
所属栏目:[Linux] 日期:2021-01-18 热度:81
centos7外部无法访问网页,linux外部无法访问网页 ?主要原因在于防火墙的存在,导致的端口无法访问。 ?CentOS7使用firewall而不是iptables。所以解决这类问题可以通过添加firewall的端口,使其对我们需要用的端口开放 1.使用命令??firewall-cmd?--state查看[详细]
-
centos6 yum安装 mysql5.5,mysql5.5 yum源
所属栏目:[Linux] 日期:2021-01-18 热度:75
通过Yum,CentOS 安装MySQL 5.5 rpm?-Uvh?https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm?rpm?-Uvh?https://mirror.webtatic.com/yum/el6/latest.rpm?yum?install?mysql55w?mysql55w-server 如果出现错误 Finished?Dependency?R[详细]
-
centos7.3 yum 安装php7.1
所属栏目:[Linux] 日期:2021-01-18 热度:194
centos7.3 yum php7.1 rpm?-Uvh?https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpmrpm?-Uvh?https://mirror.webtatic.com/yum/el7/webtatic-release.rpm yum?install?mod_php71w?php71w-opcache yum?install?php71w-mysql?php71w-b[详细]
-
centos6 yum 安装php7.1
所属栏目:[Linux] 日期:2021-01-18 热度:156
rpm?-Uvh?https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm?rpm?-Uvh?https://mirror.webtatic.com/yum/el6/latest.rpm yum?install?mod_php71w?php71w-opcache yum?install?php71w-cli?php71w-mysql?php71w-bcmath?php71w-gd?php[详细]
-
解决两台centos虚拟机Telnet服务无法联机的问题
所属栏目:[Linux] 日期:2021-01-18 热度:88
关闭防火墙 [root@localhost ~]# service iptables stopiptables: Flushing firewall rules:???????????????????????? [? OK? ]iptables: Setting chains to policy ACCEPT: filter????????? [? OK? ]iptables: Unloading modules:???????????????????????[详细]
-
linux主机间复制文件
所属栏目:[Linux] 日期:2021-01-18 热度:130
命令基本格式: 1、从 本地 复制到 远程??* 复制文件:?? ? ? ? * 命令格式:?? ? ? ? ? ? ? ? scp local_file remote_username@remote_ip:remote_folder?? ? ? ? ? ? ? ? 或者?? ? ? ? ? ? ? ? scp local_file remote_username@remote_ip:remote_file2、[详细]
-
RPM安装命令总结--转载
所属栏目:[Linux] 日期:2021-01-18 热度:60
div id="cnblogs_post_body" 安装、卸载、升级、查询和验证。 #rpm - #rpm - #rpm -ivh example.rpm 安装 example.rpm 包并在安装过程中显示正在安装的文件信息及安装进度 # rpm -e example # rpm -Uvh example.rpm saving /etc/example.conf as /etc/exam[详细]