共 37 篇文章 |
|
#consumerkafka-console-consumer.sh --bootstrap-server 10.194.202.17:8092 \--consumer.config $KAFKA_HOME/config/sasl.conf \--consumer-property client.id=consumer_01 \--topic test.1 \--group c1#producerkafka-console-producer.sh --broker-list 10.194.202.17:8092 \--consumer.config $KAFKA_HOME/config/sasl.conf \--consumer-... 阅33 转0 评0 公众公开 24-04-01 18:46 |
sudo mysql -u root -p radius <contrib/db/fr2-mysql-daloradius-and-freeradius.sql sudo mysql -u root -p radius <contrib/db/mysql-daloradius.sql.sudo mv /var/www/html/daloradius/library/daloradius.conf.php.sample /var/www/html/daloradius/library/daloradius.conf.phpsudo chown -R www-data:www-data /var/www/html/dalo... 阅109 转1 评0 公众公开 24-03-09 21:32 |
一文精通Linux配置NFS文件共享一、NFS简介。[root@nfs-server ~]# mkdir /nfsfile # 创建目录[root@nfs-server ~]# [root@nfs-server ~]# chmod 777 /nfsfile # 赋予权限[root@nfs-server ~]# [root@nfs-server ~]# ls -ld /nfsfile # 查看目录权限drwxrwxrwx. 2 root root 6 Dec 25 22:40 /nfsfile[root@nfs-server ~]# [root@nfs-server ~]# ... 阅26 转0 评0 公众公开 23-12-26 18:26 |
ip route add.ip route del.ip route list table table_numberip route list table 1204ip route list table table_nameip route list table tab1.# 清空默认表路由ip route flush# 清空指定表路由ip route flush table tab1# 模糊匹配清空路由ip route flush 192.168.182.0/24 #这个是清理所有192.168.182.0/24相关的所有路由,#有时候设置错... 阅109 转0 评0 公众公开 23-12-12 17:08 |
ip route list table table_numberip route list table 1204ip route list table table_nameip route list table tab1.# 清空默认表路由ip route flush# 清空指定表路由ip route flush table tab1# 模糊匹配清空路由ip route flush 192.168.182.0/24 #这个是清理所有192.168.182.0/24相关的所有路由,#有时候设置错网关存在多条记录,就需要一... 阅52 转0 评0 公众公开 23-12-12 17:08 |
提升工作效率的必备 Bash 键盘快捷键击上方蓝字 ● 关注Linux公社释放 Bash 快捷键在 Linux 中的威力!要深入了解 Linux 中的 history 命令,请查看《如何管理你的Linux命令历史记录,揭开Bash history的神秘面纱》 https://www.linuxmi.com/linux-history.htmlBash 进程控制快捷键这些快捷键对于频繁使用 Bash Shell 的用户至关重要。来自:Li... 阅5 转0 评0 公众公开 23-12-03 12:17 |
加强Linux服务器安全的20项建议。/var/log/message – 系统日志或当前活动日志/var/log/auth.log – 验证日志/var/log/kern.log – 内核日志/var/log/cron.log – 任务计划日志/var/log/maillog – 邮件服务器日志/var/log/boot.log – 系统启动日志/var/log/mysqld.log – MySQL 服务器日志/var/log/secure – 包含验证和授权方面信息/var/log... 阅9 转0 评0 公众公开 23-12-02 23:47 |
Linux管理员应该了解的20条IPTables防火墙规则用法。很多用户把 Linux 中的 IPTables 当成一个防火墙,从严格意见上来说 IPTables 只是能够帮助管理员定义各种规则并与 Linux Kernel 进行沟通的一个命令行工具。/etc/init.d/iptables start/etc/init.d/iptables stop/etc/init.d/iptables restart2、查看IPtables防火墙策略。iptables -A INPUT... 阅25 转0 评0 公众公开 23-12-02 23:47 |
ip_make_skb: 该函数的功能是构造skb包,构造好的skb包里面已经分配了IP包头,并且初始化了部分信息(IP包头的源IP就在这里被设置进去),同时该函数会调用__ip_append_dat,如果需要分片的话,会在__ip_append_data函数中进行分片,同时还会在该函数中检查socket的send buffer是否已经用光,如果被用光的话,返回ENOBUFS.udp_send_skb(skb, f... 阅21 转0 评0 公众公开 23-08-03 18:15 |
ip_make_skb: 该函数的功能是构造skb包,构造好的skb包里面已经分配了IP包头,并且初始化了部分信息(IP包头的源IP就在这里被设置进去),同时该函数会调用__ip_append_dat,如果需要分片的话,会在__ip_append_data函数中进行分片,同时还会在该函数中检查socket的send buffer是否已经用光,如果被用光的话,返回ENOBUFS.udp_send_skb(skb, f... 阅3 转0 评0 公众公开 23-08-03 18:12 |