忽然间想看看自己系统是什么版本的,却忘了命令,哈哈。索性整理了一下。 [root@localhost ~]# cat /etc/redhat-release #查看系统的版本CentOS Linux release 7.2.1511 (Core) 系统 #uname -a #查看内核/操作系统/CP ...
分类:
其他好文 时间:
2016-09-20 19:49:25
阅读次数:
135
先来看下配置文件的格式:[root@centos6~]#uname-r
2.6.32-642.el6.x86_64
[root@centos6~]#cat/boot/grub/grub.conf
#Notethatyoudonothavetorerungrubaftermakingchangestothisfile
#NOTICE:Youhavea/bootpartition.Thismeansthat
#allkernelandinitrdpathsarerelativeto/boo..
分类:
其他好文 时间:
2016-09-19 22:40:22
阅读次数:
785
以下命令几乎在所有Linux发行版都可用1.uname命令uname-m直接显示Linux系统架构uname-a命令也可以显示Linux系统架构,但是还有和其他信息2.dpkg命令dpkg的命令可用于查看Debian/Ubuntu操作系统是32位还是64位dpkg--print-architecture如果当前Linux是64位则输出amd64,是32位则..
分类:
系统相关 时间:
2016-09-19 22:30:07
阅读次数:
276
实验环境:一、操作系统[root@DB-SERVER~]#cat/etc/redhat-releaseCentOSrelease6.8(Final)[root@DB-SERVER~]#uname-aLinuxDB-SERVER2.6.32-642.el6.x86_64#1SMPTueMay1017:27:01UTC2016x86_64x86_64x86_64GNU/Linux[root@DB-SERVER~]#二、MySQL和percona版本及安装[root@DB-SER..
分类:
其他好文 时间:
2016-09-17 22:04:33
阅读次数:
207
查看系统基本信息: hostname | uname -n uname -r uname -a cat /etc/redhat-release lsblk blkid //查看磁盘号 du -sh //查看当前目录 du -sh /home //查看目录的使用空间 last //查看系统什么时候重启 ...
分类:
其他好文 时间:
2016-09-17 16:09:50
阅读次数:
148
应朋友需求,他要在vps上面安装metasploit,因为kali2.0是基于debian8的,所以我建议他使用debian8。但是他说使用debian8添加kali源,更新时出现404NotFound错误。于是乎,我就亲自尝试了一下。先看一下环境root@localhost:~#cat/etc/issue.net&&uname-a
DebianGNU/Lin..
分类:
Web程序 时间:
2016-09-17 13:35:18
阅读次数:
246
问题: 1. 当使用一台linux机器的时候,常常需要确认当前所用操作系统的版本信息,内核信息等, 操作系统的版本信息可以通过以下命令完成,比如:lsb_release -a;cat /etc/issue 而查看内核版本可以通过以下命令完成,比如:uname -a;cat /proc/version ...
分类:
系统相关 时间:
2016-09-15 16:41:14
阅读次数:
220
1.查看系统信息。cat/etc/redhat-release
CentOSLinuxrelease7.0.1406(Core)
uname-a
LinuxVM_96_155_centos3.10.0-123.el7.x86_64#1SMPMonJun3012:09:22UTC2014x86_64x86_64x86_64GNU/Linux2.使用rpm命令安装zabbix3.0最新的epel源,关闭selinux和iptables。rpm-ivhhttp://rep..
分类:
其他好文 时间:
2016-09-15 07:33:41
阅读次数:
242
列出常用的centos系统查看系统信息命令ps:centos71、uname
Linux2、uname-a
Linuxlocalhost3.10.0-327.el7.x86_64#1SMPThuNov1922:10:57UTC2015x86_64x86_64x86_64GNU/Linux3、uname-r
3.10.0-327.el7.x86_644、cat/etc/redhat-release
CentOSLinuxrelease7.2.1511(Core)5、rp..
分类:
其他好文 时间:
2016-09-14 23:36:59
阅读次数:
1052
$.ajax({ type: "get", url: "http://liuy.cuour.org/Home/Nsave", data: { "UName": UName, "Tel": Tel, "RegisterUrl": RegisterUrl, "ProvinceID": ProvinceI ...
分类:
Web程序 时间:
2016-09-14 15:16:30
阅读次数:
185