文章分类 -  Linux

 
Linux下查看端口的占用情况
摘要:ps -aux 或者ps-aux|grep telnet netstat -l或者netstat -l|grep telnet lsof -i或者|lsof -i|grep telnet nmap ip -p port (nmap要通过yum install来安装) 阅读全文
posted @ 2017-07-25 16:58 missinglihua 阅读(87) 评论(0) 推荐(0)
How to Install Apache on CentOS 7
摘要:The Apache web server is one of the most popular and powerful web servers in the world, due to its ease of administration and flexibility. In this tut 阅读全文
posted @ 2017-07-25 16:51 missinglihua 阅读(120) 评论(0) 推荐(0)
在linux下如何判断是否已经安装某个软件?
摘要:<1>.在linux下如何判断是否已经安装某个软件? 我的系统是red hat我用命令rpm查是否安装了某个软件(例如: matlab 与 fluent ),得到了如下的结果:我用rpm -qa (| grep) matlab , 回车后没有任何显示我用rpm -qa fluent , 回车后没有任 阅读全文
posted @ 2017-07-25 16:42 missinglihua 阅读(1130) 评论(0) 推荐(0)
linux下配置ip地址四种方法(图文)
摘要:配置ip地址四种方法 (1)Ifconfig命令 第一种使用ifconfig命令配置网卡的ip地址。此命令通常用来零时的测试用,计算机启动后 ip地址的配置将自动失效。具体用法如下。Ipconfig ethx ipadd netmask x.x.x.x。 其中ethx中的x代表第几快以太网卡,默认第 阅读全文
posted @ 2017-07-25 16:39 missinglihua 阅读(307) 评论(0) 推荐(0)
CentOS7配置telnet
摘要:centos系统默认telnet 23端口是关闭的。 服务器本地使用nmap ip地址 -p 23 查看telnet状态是关闭的; [root@localhost ~]# nmap 192.168.20.3 -p 23 Starting Nmap 5.51 ( http://nmap.org ) a 阅读全文
posted @ 2017-07-25 16:04 missinglihua 阅读(17130) 评论(0) 推荐(0)
Linux终端下锁屏与解锁
摘要:ctrl + s 锁屏 crtl + q 解锁 阅读全文
posted @ 2017-07-25 15:29 missinglihua 阅读(2088) 评论(0) 推荐(0)
vnc viewer与windows之间的复制粘贴
摘要:在使用vncconfig &命令后,下面的VNC config出现后,就可以按照上面说的进行复制粘贴了。 阅读全文
posted @ 2017-07-25 15:16 missinglihua 阅读(733) 评论(0) 推荐(0)
如何在 centos 7 上安装 postgresql 9.5
摘要:安装 yum 源(地址从 http://yum.postgresql.org/repopackages.php 获取) sudo yum install http://yum.postgresql.org/9.5/redhat/rhel-7-x86_64/pgdg-centos95-9.5-2.no 阅读全文
posted @ 2017-07-25 15:14 missinglihua 阅读(131) 评论(0) 推荐(0)
VNC-Server installation on CentOS 7
摘要:VNC-Server installation on CentOS 7 Version 1.0 Author: Srijan Kishore This guide explains how to configure VNC-server in CentOS 7.0 server. It is a v 阅读全文
posted @ 2017-07-25 15:09 missinglihua 阅读(177) 评论(0) 推荐(0)
centos7怎么取消锁屏?centos系统取消自动锁屏的教程
摘要:centos7怎么取消锁屏?自己的电脑是双系统,其中centos7总是没几分钟就自动锁屏了,该怎么取消锁屏呢?下面分享centos系统取消自动锁屏的教程,需要的朋友可以参考下 自己在使用虚拟机运行centos 7时,centos 7默认几分钟不动就锁屏,实在很讨厌,所以在设置中将其去掉 1、不同的版 阅读全文
posted @ 2017-07-25 14:26 missinglihua 阅读(811) 评论(0) 推荐(0)
CentOS VM Configuration 总结(JSH)
摘要:1. 刚申请的CentOS VM, vi /etc/sysconfig/network-scripts/ifcfg-ethxchange "ONBOOT" from no to yesservice network restart重启服务then the VM can be accessed rem 阅读全文
posted @ 2017-07-25 14:22 missinglihua 阅读(149) 评论(0) 推荐(0)
Linux下同时替换多个文件中的文本
摘要:一、Linux sed 批量替换多个文件中的字符串sed -i "s/oldstring/newstring/g" `grep oldstring -rl yourdir` sed 选项 -i[SUFFIX], --in-place[=SUFFIX] edit files in place (mak 阅读全文
posted @ 2017-06-29 14:03 missinglihua 阅读(703) 评论(0) 推荐(0)
vim全局替换命令
摘要:语法为 :[addr]s/源字符串/目的字符串/[option] 语法为 :[addr]s/源字符串/目的字符串/[option] 语法为 :[addr]s/源字符串/目的字符串/[option] 全局替换命令为::%s/源字符串/目的字符串/g [addr] 表示检索范围,省略时表示当前行。 如: 阅读全文
posted @ 2017-06-28 17:44 missinglihua 阅读(1080) 评论(0) 推荐(0)