Warning: Undefined array key "cperpage" in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 230

Warning: Undefined variable $output in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 300

Warning: Undefined variable $fixed_tags in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 301

Warning: Undefined variable $isshowdots in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 302

Warning: Undefined variable $tag_aditional in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 305

Warning: Undefined variable $tag_aditional in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 308

Warning: Undefined variable $tag_aditional in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 311

Warning: Undefined variable $post in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 320

Warning: Attempt to read property "ID" on null in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 320

Warning: Undefined variable $post in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 320

Warning: Attempt to read property "ID" on null in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 320

Warning: Undefined variable $more_text_link in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 320
理想社会 – 记载我的成功之路

Latest stories

单线融合IPTV到家庭局域网最简单的方法:路由+桥接混合模式

单线融合IPTV到家庭局域网最简单的方法:路由+桥接混合模式 以北京联通为例。同时也兼容VLAN绑定或双网线物理端口绑定的情况。 目录 前言 基础知识 第一步:光猫改桥接 桥接的方法 确认你的网络结构 第二步:Openwrt 路由器及基本配置 设置接口 网关跃点 第三步:组播代理到家庭网络 组播代理 组播转单播 第四步:融合IPTV内容服务网络到家庭网络 使用IPTV帮手 配置MWAN3 总结 前言 注意,你应该用有线网进行操作!如果你只有WiFi,那么你需要进行到组播转单播才可以正常观看 注意,如果你用的不是官方Openwrt,而是魔改版本,那么本文涉及的一些软件包可能并不兼容,它们只保证兼容官方的正式版Openwrt。...

centos7安装cmake3版本

c

1、首先安装编译需要的工具包:
yum install -y gcc gcc-c++ make automake wget
2、去下载需要的cmake版本
3、解压cmake3.xx.x,进入源码文件夹
tar zxvf cmake3.xx.x && cd cmake3.xx.x
4、运行booststrap
./bootstrap
5、编译
gmake
6、安装
gmake install
安装完成后可以通过cmake –version查看当前的版本。

批量设置用户quota磁盘配额

1、先给一个已存在的用户建好配额: a:修改/etc/fstab文件(如:LABEL=/     /  ext3  defaults,usrquota,grquota    1   1) b:重新启动系统使设置生效:reboot c:创建配额文件:quotacheck -cmug / (查看已建立的配额文件:ls /aquota.*) d:设置配额:edquota -u 用户名 使用quota -u 用户名查询配额 repquota -u /  显示配额 quotaoff |on -auvg关闭或开启配额 2、#users=`awk ‘BEGIN {FS=”:”} {if ($3>500) print $1}’ /etc/passwd`(第一个和最后一个符号是 `反撇号即esc下面的键) 3、显示上面的赋值:echo $users...

ubuntu20.04 bind 服务添加日志信息

u

网络中心发来了实验室内挖矿的记录,要求排查。看记录的日志是通过dns查询来判断是否有挖矿行为的。 我们有自建DNS服务器。开启日志记录,就可以查到是哪一台内网机器在挖矿了。 在named.conf添加如下信息开启日志记录。 logging { channel query_log { #这段是对日志文件的定义 file “query.log” versions 5 size 20m; #定义文件名,文件大小 severity info; #日志级别 print-time yes; #是否输出日期 print-category yes; #是否输出日志类型 }; category queries { query_log; }; }; 修改后保存,重启一下bind服务。 systemctl restart bind9...

Linux logout all other users

L

Linux logout all other users If you would like to logout other users, you must login as root user. Next you need to use the pkill command. pkill command syntax The syntax is: pkill -KILL -u {username} Warning: Do not kill root user or other system level user process. The following example, will kill all process on your server. Do not run the pkill for root user: pkill -KILL -u root To see list of...

Exchange2010/2013/2016删除指定主题邮件

E

说到Exchange服务,大家并不陌生了,但是作为一个Exchange管理员的话,随时都在学习中,近期有个问题,用户发错邮件了,说能不能把用户收到的主题邮件进行删除,所以就同意帮用户删除指定主题的邮件了,具体操作见下: 在Exchange中我们可以使用search-mailbox命令在邮箱中就行搜索然后再次删除的操作可以实现邮件的关键性搜索及删除操作。在操作前,我们需要明确的是删除指定用户的主题邮件还是组织中的所有用户的主题邮件,当然不管哪种方式操作方法都是一样的,只是命令稍微不一样而已;但是在操作之前我们需要注意的是,只有管理员用户有以下权限才可以对 用户邮箱中搜搜及删除邮件: 邮箱搜索:利用此角色,您可以跨组织中的多个邮箱搜索邮件。默认情况下不会向管理员分配此角色。要向自己分配此角色以便搜索邮箱,请将您自己添加为“发现管理”角色组的成员。 邮箱导入导出:...

Cisco交换机里IP和MAC地址互查找出对应端口

C

交换机:Cisco2960、Cisco G3560X 服务器:10.15.44.164 AC-*-2D-*-84-* PC:10.15.44.69 服务器44.164→port 2-Cisco2960-port1→G3560X-port5 通过IP地址查找这个IP在那台交换机的接口下   通过MAC、IP地址查询对应交换机端口 1.开始运行Nbtstat –a ip 查询出mac地址 或者直接到G3560X交换机上通过show arp查找mac地址 没发现对应关系是ARP信息超时了就被删除,ARP和MAC两张表的超时清理时间是不一样的,可以先到交换机上去ping下该IP地址在show arp 2.登陆G3560x 运行Switch#show mac address-table dynamic address AC-*-2D-*-84-* 可以看到mac地址为AC-*-2D-*...

Exchange2010/2013 Send Welcome Email to New Mailbox / New Users

E

Let’s understand how to configure Exchange Server to send welcome email: What is Cmdlet Extension Agents? Cmdlet extension agents are components in Microsoft Exchange Server 2013/Exchange Server 2010 invoked by Exchange 2013/2010 cmdlets when the cmdlets run. Every time an Exchange cmdlet is run, the cmdlet calls the Scripting Agent cmdlet extension agent. When this agent is called, the cmdlet...

Linux下批量创建删除账号

L

1、批量创建用户 cat adduser.sh #!/bin/bash # for username in $(more users.list) do if [ -n $username ] then useradd $username -g student -d /pub/home/$username echo echo $username"xyz" | passwd --stdin $username chage -d 0 $username echo $username "has been created!" else echo "The username is null!" fi done 2、批量删除用户 cat deluser.sh #!/bin/bash # for username in $(more users.list) do if [ -n $username ]...

Your sidebar area is currently empty. Hurry up and add some widgets.