包含标签 linux articles

rhel7/centos 7展望

上周在feedly上看到一篇名为《Where is the i686 in rhel 7》的文章(不要喷咱崇洋媚外,鲜果 也在用,呵呵)。其中一段为:RHEL 7 seems to have dropped installer / native support for 32bit Intel x86 machines. Only 64bit machines will be supported, and there is 32bit multilib support built in, so people can still run most 32bit apps. 所以了解到的redhat 7的第一个大的变化就是放弃了对Intel x86机器的支持。刚……

Continue reading

centos关闭ipv6

ipv6虽然未来将是主流,不过目前还是ipv4的天下。开启ipv6后有很多很烦的事情,而又由于现在用不到ipv6,所以就决定将其disabled掉。具体操作方法总结如下。 一、查看状态 1ifconfig |grep inet6 2lsmod |grep ipv6 有结果输出,表示已经启用了ipv6。 二、关闭ipv6 根据操作系统的版本不同,关系的方法……

Continue reading

Linux下载百度网盘资源的方法

很多情况下,通过公司网络往机房机器中上传镜像或其他文件的速度还赶不上下载的速度。今天在使用向一台机房里的linux服务器wget从网盘里下载windows2003镜像时,发现无法正常进行下载。网上找了下方法如下。 1wget -c --referer=引用地址 -O 文件名 "真实下载地址……

Continue reading

linux 下 强制回收内存

在查看以下内容之前需要注意:1、本篇所涉及内容只在cache占用大量内存时导致系统内存不够用,系统运行缓慢的情况下使用;2、强制回收前需要先进行sync 同步数据到硬盘操作,避免强制回收时造成数据丢失;3、当buffer/cached使用的内存并不大时,而系统本身确实不足时无法回收……

Continue reading

linux下查看某个文件属于哪个包

1、centos/redhat下查看某个文件或命令属于哪个rpm包: 1$ yum provides /etc/passwd 2或者 3$ rpm -qf /etc/passwd 2、ubuntu及衍生版: 1sudo dpkg -S whereis或 2sudo dpkg-query -S /usr/bin/whereis 具体参考ubuntu wiki skills页面 ,不过该命令不如rpm -qf强大,如/etc/passwd就查不出。 3、gentoo及衍生版 1#……

Continue reading

seq与批量建文件或文件夹

1、简单需求 新建test1--test5五个文件夹 mkdir test{1..5} 2、拓展 以上是最简单的写法,不过当有格式要求时,上面的方法就不妥了。比如,想要建test001--test010 ,即,后面的数字保持三位的精度时,再用这样的通配就不灵了。这时候可以使用seq 、printf或awk 。具体如下 1seq -f……

Continue reading

终端下调用X11桌面执行程序

有些程序在设计之初就设计成了需要桌面环境下执行。最近公司就遇到了这样的问题。公司的盒子会调用第三方的office的jar包,该包的功能就是将doc、docx、ppt、pptx之类的文件转化成html 。但该包有一个苛刻的要求,就是需要在linux 桌面环境下调用,如果找不到桌面环境就……

Continue reading

RHEL6.X CentOS 6.X系统服务详解

RHEL/CentOS 6.x的系统服务比5.x系列的要多了很多,理解这个对运维人员是必要的,因为开启不必要的服务越多,系统就相对越不安全。不需开启的服务尽量关闭。下面列表是在RHEL/CentOS 6.x最小化桌面环境安装下显示出来的系统服务,用官方的minimal ISO最小化安装系统后的服务列表如下……

Continue reading

centos设置IP地址及连续IP地址

公司现网的一台web入口机,配置了很多域名。由于避免搜索引擎当垃圾站将对应一个公网IP的多个域名给K掉。所以该入口机上配置了N多个IP,而且很多IP是整段加上去的。之前傻傻的通过增加多个配置文件。后来发现网卡的配置文件里有两个参数IPADDR_START和IPADDR_END专门……

Continue reading

centos 6.X系统里的网卡em1还原为eth0

随着centos 6.X版本的普及,很多服务器上也开始将之前的centos 5.X升级安装成centos 6.X 。最近在对公司新购的一批DELL R720服务器安装完centos 6.3版本后,发现原先熟悉的eth0、eth1变成了em1、em2 。 本来认为只是接口名称变化,并不伤大雅 。不过在放……

Continue reading

Latest articles

Categories

Tags

ACL AD AES AI AWS Ansible Atlassian Azure BMC Blockchain Brocade CDH5 CL210 Cobbler Confd C语言 DDOS DISTINCT DNS Duckdb EKS ELK GCP Ghost Git Glusterfs Go Godaddy Grafana HBA HCIE Hotspot HttpWatch IBM IIS IOS InfluxDB Ingress InnoDB JavaScript Jinja2 KVM Keepalived Mplayer MySQLdb Netlify OpenResty PM PostgreSQL QoS RH318 RH442 RHCA RHCE RHEV RSA SRE SecureCRT Statuscode SublimeText2 TC Telecom Tencentcloud VBA aira2 alpine android anpic apache apm apparmor appfog apr apt-get aria2 array atop audit awk awstats axel backdoor backup bamboo bash bat benchmark bigdata bin bind bitwise book bootstrap bsd c1000 cache capistrano catlog centos centos7 chatops chattr check_mk checkinstall cisco clearall clickhouse cloud-desktop cmdb cms collectd comm compress conver corosync cpu crontab crunchbang css curl date decode dell desktop devops df dhcp diff diskpart django docker dos2unix dpkg drupal etcd excel fail2ban fastcgi fdisk fiddler find firewalld flask flvtool ftp function fuser geek gin github gitlab glances golang google gooupadd graphviz gravatra grep grub2 hadoop haproxy hardware heartbeat helm hexdump hhvm history html http/html/web httplogs https huawei huaweicloud hugo icmp iconv ifconfig inotify iopp ipmitool iptables iredmail iscsi isito it-news java jdk jenkins jira join joomla k3s k8s kdump kernel kingate lamp last leetcode lib light-http linux linux高级篇 ln ls lsi lsof lvm lvs mac mail man mark markdown matplotlib maven memcached microservice mimikatz mkdocs mkpasswd mmonit mod_jk mongodb monit monitor mono moodle mosh mount mpm mrtg mtr my.cnf mysql mysqlbinlog mysqld_multi mysqldump mysqlhotcopy nagios nc nethogs nexus nfs nginx nmon nocatlog node.js nrpe ntfs ntop ntp obs ocr open-falcon openbox opencv openldap openssl openstack oracle oswatch paas pacemaker pam pandas parted pcp pcre pdf percona perl pexpect pgrep php php-fpm ping plsql develope postfix powershell prettify proc prometheus puppeteer pushd pwgen pxe pyecharts python python模块 radmin raid rdesktop read redhat redis redmine regex rh134 rhel7 rhel8 rm rman rootkit route rpm rpmforge rrdtool rsync rsyslog safe saltstack samba scapy screen sed selenium selinux seo seq session set shc sheepdog shell shopt sitemap skydns smokeping snffier snmp socket soft sort spider sql sqlserver squid ss ssh sshpass strace strings su sudo suse svn sysbench syslog-ng sysstat systemd t tar tcpcopy tcpdump tech telnet tengine test testlink threads time tmux tomcat touch tr tsar twisted ubuntu udev ulimit unix unixbench user-agent useradd varnish vbs vercel vi vim visudo vmstat vmware vnc voice vpn vscode vsftp vsftpd vue watchdog web webcam webistrano wget wiki windows wol wordpress workshop wsl x-windows xampp xcache xmllint xtrabackup yule yum zabbix zeromq zip zonetime zookeeper 下载工具 云主机 云原生 代理 加密 古意 吐槽 圈里圈外 娱乐 字符串函数 安全 平台架构 意林 推理 提权 故事汇 故障案例 数据结构 每日看点 民国史 生活 科学记录 站长管理工具 算法 管理 网站架构 翻墙 股票 行业 诗韵 负载均衡 远程管理 面试题

Links

Meta