Latest Entries »

客户端基本信息:

客户端进程:
scclinet.exe 客户端主进程
scguardc.exe 客户端保护进程
scclitui.exe 客户端界面进程

客户端解除保护命令:bbclp (在cmd中运行)
杀客户端进程操作:
在cmd中运行bbclp命令;进入任务管理器进程选项卡,找到客户端的三个进程,右键结束掉即可。

客户端安装路径:
XP和win7 32位操作系统:C:\Windows\System32\Pclient
Win7 64位操作系统:C:\Windows\SysWOW64\Pclient

客户端驱动文件:
C:\Windows\System32\drivers目录下
Netmgr.sys和网络有关
Nmfmgr.sys和准入有关
Devmgr.sys外设管理驱动

1、 客户端卸载提示失败、客户端进程自动重启
处理方法:
打开“任务管理器”点开进程,查看scclient.exe是否有自动重启现象。如果有就多次点击“卸载客户端”按钮。直到提示操作成功。
如果没有出现scclient.exe进程重启问题,但还是提示操作失败;运行客户端解除保护命令,将客户端所有进程结束掉;然后到客户端安装目录中删除掉所有文件后;在重新安装客户端即可。
注意:提示操作成功后,不要着急切换用户或者重启系统。因客户端所有文件完全删除,需要1分钟左右。

2、 Xp、Win7 系统无法打开网页问题
如果客户端能ping通服务器,但网页无法正常打开。且客户端进程没有自动重启问题。
操作方法:查看系统版本是32位还是64位;到8.213\杨涛\通软\替换文件中扎到相应文件。 进入客户端C:\Windows\System32\drivers目录下;将netmgr.sys驱动文件替换。 替换件文件前需要将客户端所有进程杀掉。

3、 卸载客户端需要注意事项
如果终端安装有360杀掉软件和360卫士时,需要卸载客户端时请注意下操作顺序! 此问题只针对XP系统(win 7 可以自行略过)卸载客户端以后需要将360杀毒和卫士同时卸载掉,然后在重启操作系统。
因360的dsark.sys驱动在卸载客户端后,如果重启系统会有几率造成客户端卡在XP滚动条界面,切无法正常开机,只能使用PE系统到C:\Windows\System32\drivers将dsark 驱动删除掉。

Updating VSAN HCL
https://partnerweb.vmware.com/service/vsan/all.json
(右键单击,另存为all.json)。如果无法保存文件,则必须复制整个内容并创建扩展名为 “*.json". 的新文件。

Updating VSAN Release Catalog
https://vcsa.vmware.com/ph/api/v1/results?deploymentId=2d02e861-7e93-4954-9a73-b08692a330d1&collectorId=VsanCloudHealth.6_5&objectId=0c3e9009-ba5d-4e5f6-bae8-f25ec506d219&type=vsan-updates-json
(右键单击,另存为results.json)。如果无法保存文件,则必须复制整个内容并创建扩展名为 “*.json". 的新文件。

PS:
https://kb.vmware.com/s/article/2145116?lang=zh_cn
https://kb.vmware.com/kb/58891

首先声明:不需要升级KERNEL内核。centos8自带BBR功能,只是未开启。

1、正在运行的系统生效:
sysctl -w net.ipv4.tcp_congestion_control=bbr

2、重启后也能生效:
echo “net.ipv4.tcp_congestion_control = bbr" >> /etc/sysctl.conf

3、验证当前设置:
sysctl -a | egrep -e congestion
net.ipv4.tcp_allowed_congestion_control = reno cubic bbr
net.ipv4.tcp_available_congestion_control = reno cubic bbr
net.ipv4.tcp_congestion_control = bbr

PS:开启BBR对新建立链接立即生效,对已建立链接的,需要重新建立链接才能生效。

显示当前链接使用的拥塞控制算法:
ss -tin

https://access.redhat.com/solutions/3713681

一、环境初始化
# 开启Ubuntu’s universe 更新源
sudo apt-add-repository universe
# 更新源最新的包版本信息
apt update
# 改主机名
sudo hostnamectl set-hostname meet.example.org
# 改主机名文件设置Fully Qualified Domain Name (FQDN)
vi /etc/hosts
127.0.0.1 localhost meet.example.org
# 测试主机名解析
ping “$(hostname)"
# 添加Jitsi 更新源
curl https://download.jitsi.org/jitsi-key.gpg.key | sudo sh -c ‘gpg –dearmor > /usr/share/keyrings/jitsi-keyring.gpg’
echo ‘deb [signed-by=/usr/share/keyrings/jitsi-keyring.gpg] https://download.jitsi.org stable/’ | sudo tee /etc/apt/sources.list.d/jitsi-stable.list > /dev/null
# 更新源最新包信息
sudo apt update
# 开通防火墙权限
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
sudo ufw allow 4443/tcp
sudo ufw allow 10000/udp
sudo ufw allow 22/tcp
sudo ufw enable
# 检验防火墙策略是否生效
sudo ufw status verbose

二、安装、部署、优化、排错、附加组件
# 安装Jitsi Meet
sudo apt install jitsi-meet
# 免费证书自动续期,选装,非必须
sudo /usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh
# 修改内核参数
/etc/systemd/system.conf
DefaultLimitNOFILE=65000
DefaultLimitNPROC=65000
DefaultTasksMax=65000
# 检验内核参数是否生效
systemctl show –property DefaultLimitNPROC
systemctl show –property DefaultLimitNOFILE
systemctl show –property DefaultTasksMax
# 排错时,常用日志路径
/var/log/jitsi/jvb.log
/var/log/jitsi/jicofo.log
/var/log/prosody/prosody.log
# 附加功能安装sip-gateway,安装时将提示输入SIP的帐号密码
sudo apt install jigasi

======================
1、JITSI所用端口说明
80 TCP – for SSL certificate verification / renewal with Let’s Encrypt
443 TCP – for general access to Jitsi Meet
4443 TCP – for fallback network video/audio communications (when UDP is blocked for example)
10000 UDP – for general network video/audio communications
22 TCP – if you access you server using SSH (change the port accordingly if it’s not 22)

2、更换个性设置
Logos Change
/usr/share/jitsi-meet/images/watermark.png
Favicon Change
/usr/share/jitsi-meet/images/favicon.ico
Change welcome page content
/usr/share/jitsi-meet/libs/app.bundle.min.js

PS:
https://jitsi.github.io/handbook/docs/devops-guide/devops-guide-quickstart
https://jitsi.github.io/handbook/docs/devops-guide/devops-guide-manual
https://gitlab.talview.com/meet/lib-jitsi-meet-v1/tree/59fc3642a6bc612ac0366d118718e942153b85c5
http://www.xmanong.com/project/12272

让xscreensaver随机自启

1、安装
sudo pacman -S xscreensaver

2、配置屏保
xscreensaver-demo

3、编辑启动文件
vi ~/.config/systemd/user/xscreensaver.service
[Unit]
Description=XScreenSaver
[Service]
ExecStart=/usr/bin/xscreensaver -nosplash
[Install]
WantedBy=default.target

4、加入自启动项
systemctl –user enable xscreensaver

#!/bin/bash
i=1

# 硬盘数量,除系统盘之外是12块
while [ $i -lt 13 ]
do
# 若不足2位数,则左侧补0
k=`printf “%02d" $i`
# ready for convert ascii value to char
u=$((97+$i))
# 系统盘是sda,%c格式化为单个字符
#j=`echo $i|awk ‘{printf “%c",97+$i}’`
#j=echo $u|awk ‘{printf(“%c",$1)}’
j=$(printf \\x`printf %x $u`)

# 每个物理硬盘整块分成一个区
parted -s /dev/sd$j mklabel gpt
parted /dev/sd$j mkpart primary ext4 0% 100%
# 格式化磁盘
mkfs.ext4 /dev/sd${j}1

# 建立挂载点目录
mkdir /mnt/disk${k}
# 导入挂载硬盘信息
mountfs="/dev/sd${j}1 /mnt/disk${k} ext4 defaults 0 0″

# 写入分区表
echo $mountfs >>/etc/fstab

i=$(($i+1))
done
echo “It’s mounting all of the disk, wait a min, plz"
# 挂载fstab里所有的磁盘
mount -a
echo “SUCCESS, CONGRATULATIONS!"

#!/bin/bash
# 业务IP
IP=10.131.0.117
GW=10.131.0.251
# 心跳IP
HB=172.17.0.117
# 业务网卡
ETH1=eno1
ETH2=ens6f0
# 心跳网卡
ETH3=eno2
ETH4=ens6f1

modprobe –first-time bonding
#modprobe bonding

cd /etc/sysconfig/network-scripts/
mkdir bak
mv ifcfg-$ETH1 ifcfg-$ETH2 ifcfg-$ETH3 ifcfg-$ETH4 bak/

cat < /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
#NAME=bond0
TYPE=Bond
BONDING_MASTER=yes
IPADDR=$IP
PREFIX=24
GATEWAY=$GW
ONBOOT=yes
BOOTPROTO=none
BONDING_OPTS="mode=6 miimon=100"
NM_CONTROLLED="no"
USERCTL=no
EOF

cat < /etc/sysconfig/network-scripts/ifcfg-bond1
DEVICE=bond1
#NAME=bond1
TYPE=Bond
BONDING_MASTER=yes
IPADDR=$HB
PREFIX=24
ONBOOT=yes
BOOTPROTO=none
BONDING_OPTS="mode=6 miimon=100"
NM_CONTROLLED="no"
USERCTL=no
EOF

cat < /etc/sysconfig/network-scripts/ifcfg-$ETH1
DEVICE=$ETH1
#NAME=bond0-slave1
TYPE=Ethernet
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
NM_CONTROLLED="no"
EOF

cat < /etc/sysconfig/network-scripts/ifcfg-$ETH2
DEVICE=$ETH2
#NAME=bond0-slave2
TYPE=Ethernet
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
NM_CONTROLLED="no"
EOF

cat < /etc/sysconfig/network-scripts/ifcfg-$ETH3
DEVICE=$ETH3
#NAME=bond1-slave1
TYPE=Ethernet
BOOTPROTO=none
ONBOOT=yes
MASTER=bond1
SLAVE=yes
NM_CONTROLLED="no"
EOF

cat < /etc/sysconfig/network-scripts/ifcfg-$ETH4
DEVICE=$ETH4
#NAME=bond1-slave2
TYPE=Ethernet
BOOTPROTO=none
ONBOOT=yes
MASTER=bond1
SLAVE=yes
NM_CONTROLLED="no"
EOF

systemctl restart network
echo $IP
ping -c 3 $GW

Dim x, y, time

Randomize

x = Int((30 – (-30) + 1) * Rnd + (-30))

y = Int((10 – (- 10 ) + 1) * Rnd + (- 10 ))

time = Int((200 – (- 1 ) + 1) * Rnd + (- 1 ))

IfColor 8, 754, “14100e", 0 Then

MoveTo 200, 310

LeftClick 1

End If

IfColor 490, 490, “1400dc", 0 Then

MoveTo 357 + x, 485 + y

LeftClick 1

Delay 1000 + time

End If

IfColor 1228, 89, “ff7a00″, 0 Then

MoveTo 1228 + y, 89 + y

LeftClick 1

End If

IfColor 720, 59, “ff7a00″, 0 Then

MoveTo 174 + x, 147 + y

LeftClick 1

Delay 3000 + time

MoveTo 330 + x, 633 + y

LeftClick 1

Delay 3000 + time

MoveTo 894 + x, 220 + y

LeftClick 1

Delay 3000 + time

End If

IfColor 404, 126, “2f3bff", 0 Then

Delay 1000 + time

MoveTo 206 + x, 195 + y

LeftClick 1

Delay 2000 + time

MoveTo 96 + x, 312 + y

LeftClick 1

Delay 2000 + time

MoveTo 705 + x, 188 + y

LeftClick 1

Delay 2000 + time

IfColor 769, 615, “ff7a00″, 0 Then

MoveTo 265 + x, 615 + y

LeftClick 1

Else

MoveTo 639 + x, 615 + y

LeftClick 1

End If

Delay 2000 + time

MoveTo 639 + x, 241 + y

LeftClick 1

Delay 4000 + time

MoveTo 190 + x, 717 + y

LeftClick 1

Delay 2000 + time

LeftClick 1

End If

IfColor 750,714, “f4eeee",0 then

MoveTo 640 + x, 714 + y

LeftClick 1

Delay 120 + time

End If

IfColor 1091,710,"fd7900″,0 Then

MoveTo 1091 + x + x, 710 + y

LeftClick 1

Delay 4001

End If

IfColor 642,307,"6430ff",2 Then

MoveTo 707 + x, 583 + y

LeftClick 1

Delay 2001 + time

MoveTo 745 + x, 713 + y

LeftClick 1

Delay 2012 + time

MoveTo 627 + x, 245 + y

LeftClick 1

Delay 2052 + time

MoveTo 512 + x, 414 + y

LeftClick 1

Delay 2031 + time

MoveTo 716 + x, 446 + y

LeftClick 1

Delay 6047 + time

MoveTo 716 + x, 537 + y

LeftClick 1

Delay 2013 + time

MoveTo 1092 + x, 714 + y

LeftClick 1

Delay 2087 + time

End If

IfColor 705,605,"f1decb",0 Then

MoveTo 705 + x, 605 + y

LeftClick 1

Delay 102 + time

End If

IfColor 62,77,"301e00″,0 Then

MoveTo 884 + x * 5, 364 + y * 15

LeftClick 1

Delay 102 + time

End If

IfColor 329,660,"301e00″,0 Then

MoveTo 884 + x * 5, 364 + y * 15

LeftClick 1

Delay 102 + time

End If

IfColor 706, 500, “F1DECB", 0 Then

MoveTo 706 + x, 500 + y

LeftClick 1

Delay 102 + time

End If

IfColor 738, 553, “F1DECB", 0 Then

MoveTo 738 + x, 553 + y

LeftClick 1

Delay 1102 + time

MoveTo 722 + x, 711 + y

LeftClick 1

Delay 1202 + time

End If

IfColor 722, 459, “F1DECB", 0 Then

MoveTo 722 + x, 459 + y

LeftClick 1

Delay 104 + time

End If

Delay 100 + time

==================
BY B站hoassi支持自动闪退重进,图标放第二行第一列

Dim x, y, time

Randomize

x = Int((30 – (-30) + 1) * Rnd + (-30))

y = Int((10 – (- 10 ) + 1) * Rnd + (- 10 ))

time = Int((200 – (- 1 ) + 1) * Rnd + (- 1 ))

IfColor 1200, 50, “ffffff", 0 Then

MoveTo 200, 310

LeftClick 1

End If

IfColor 44, 71, “2A00E0″, 0 Then

MoveTo 357 + x, 485 + y

LeftClick 1

Delay 1000 + time

End If

IfColor 1228, 89, “ff7a00″, 0 Then

MoveTo 1228 + y, 89 + y

LeftClick 1

End If

IfColor 727, 66, “3C081A", 0 Then

MoveTo 174 + x, 147 + y

LeftClick 1

Delay 3000 + time

MoveTo 935 + x, 365 + y

LeftClick 1

Delay 3000 + time

MoveTo 637 + x, 386 + y

LeftClick 1

Delay 3000 + time

End If

IfColor 404, 126, “2f3bff", 0 Then

Delay 1000 + time

MoveTo 206 + x, 195 + y

LeftClick 1

Delay 2000 + time

MoveTo 96 + x, 312 + y

LeftClick 1

Delay 2000 + time

MoveTo 705 + x, 188 + y

LeftClick 1

Delay 2000 + time

IfColor 769, 615, “ff7a00″, 0 Then

MoveTo 265 + x, 615 + y

LeftClick 1

Else

MoveTo 639 + x, 615 + y

LeftClick 1

End If

Delay 2000 + time

MoveTo 639 + x, 241 + y

LeftClick 1

Delay 4000 + time

MoveTo 190 + x, 717 + y

LeftClick 1

Delay 2000 + time

LeftClick 1

End If

IfColor 1091,710,"fd7900″,0 Then

MoveTo 1091 + x + x, 710 + y

LeftClick 1

Delay 4001

End If

IfColor 642,307,"6430ff",2 Then

MoveTo 707 + x, 583 + y

LeftClick 1

Delay 2001 + time

MoveTo 745 + x, 713 + y

LeftClick 1

Delay 2012 + time

MoveTo 627 + x, 245 + y

LeftClick 1

Delay 2052 + time

MoveTo 512 + x, 414 + y

LeftClick 1

Delay 2031 + time

MoveTo 716 + x, 446 + y

LeftClick 1

Delay 6047 + time

MoveTo 716 + x, 537 + y

LeftClick 1

Delay 2013 + time

MoveTo 1092 + x, 714 + y

LeftClick 1

Delay 2087 + time

End If

IfColor 705,605,"f1decb",0 Then

MoveTo 705 + x, 605 + y

LeftClick 1

Delay 102 + time

End If

IfColor 62,77,"301e00″,0 Then

MoveTo 884 + x * 5, 364 + y * 15

LeftClick 1

Delay 102 + time

End If

IfColor 329,660,"301e00″,0 Then

MoveTo 884 + x * 5, 364 + y * 15

LeftClick 1

Delay 102 + time

End If

IfColor 706, 500, “F1DECB", 0 Then

MoveTo 706 + x, 500 + y

LeftClick 1

Delay 102 + time

End If

IfColor 738, 553, “F1DECB", 0 Then

MoveTo 738 + x, 553 + y

LeftClick 1

Delay 1102 + time

MoveTo 722 + x, 711 + y

LeftClick 1

Delay 1202 + time

End If

IfColor 722, 459, “F1DECB", 0 Then

MoveTo 722 + x, 459 + y

LeftClick 1

Delay 104 + time

End If

Delay 100 + time

=================
BY B站hoassi支持自动闪退重进,图标放在左边第一列第二行

Dim x, y, time

Randomize

x = Int((30 – (-30) + 1) * Rnd + (-30))

y = Int((10 – (- 10 ) + 1) * Rnd + (- 10 ))

time = Int((200 – (- 1 ) + 1) * Rnd + (- 1 ))

IfColor 1200, 50, “ffffff", 0 Then

MoveTo 200, 180

LeftClick 1

End If

IfColor 226, 287, “7800eb", 0 Then

MoveTo 357 + x, 485 + y

LeftClick 1

Delay 1000 + time

End If

IfColor 1228, 89, “ff7a00″, 0 Then

MoveTo 1228 + y, 89 + y

LeftClick 1

End If

IfColor 720, 59, “ff7a00″, 0 Then

Delay 2000 + time

MoveTo 174 + x, 147 + y

LeftClick 1

Delay 3000 + time

IfColor 331, 388, “ffffff", 0 Then

MoveTo 1057 + x, 629 + y * 2

LeftClick 1

Delay 3000 + time

End If

End If

IfColor 723, 192, “fe7900″, 0 Then

IfColor 764, 192, “fefefe", 0 Then

IfColor 678, 192, “fefefe", 0 Then

MoveTo 809 + x, 365 + y * 5

LeftClick 1

Delay 3000 + time

End If

End If

End If

IfColor 404, 126, “2f3bff", 0 Then

Delay 1000 + time

IfColor 206, 195, “ffffff", 0 Then

MoveTo 206 + x, 195 + y

LeftClick 1

Delay 2000 + time

MoveTo 96 + x, 312 + y

LeftClick 1

Delay 3000 + time

MoveTo 747 + x, 186 + y

LeftClick 1

Delay 3000 + time

End If

IfColor 30, 615, “FFFFFF", 0 Then

MoveTo 30 + x, 545 + y

LeftClick 1

Else

MoveTo 639 + x, 545 + y

LeftClick 1

End If

Delay 2000 + time

MoveTo 1111 + x, 717 + y

LeftClick 1

Delay 6000 + time

MoveTo 639 + x, 450 + y

LeftClick 1

Delay 2000 + time

MoveTo 156 + x, 717 + y

LeftClick 1

End If

IfColor 260,211,"2f3bff",0 Then

Delay 2001 + time

IfColor 837, 208, “2f3bff", 0 Then

MoveTo 803 + x, 255 + y*3

LeftClick 1

Delay 213 + time

MoveTo 803 + x, 407 + y*3

LeftClick 1

Delay 209 + time

MoveTo 803 + x, 559 + y*3

LeftClick 1

Delay 230 + time

End If

MoveTo 454 + x, 254 + y*3

LeftClick 1

Delay 231 + time

MoveTo 454 + x, 406 + y*3

LeftClick 1

Delay 210 + time

MoveTo 454 + x, 558 + y*3

LeftClick 1

Delay 224 + time

MoveTo 745 + x, 713 + y

LeftClick 1

Delay 2012 + time

MoveTo 627 + x, 245 + y

LeftClick 1

Delay 2052 + time

MoveTo 512 + x, 414 + y

LeftClick 1

Delay 2031 + time

MoveTo 716 + x, 446 + y

LeftClick 1

Delay 6047 + time

MoveTo 716 + x, 537 + y

LeftClick 1

Delay 2013 + time

MoveTo 1113 + x, 719 + y

LeftClick 1

Delay 2087 + time

End If

IfColor 1091,710,"fd7900″,0 Then

MoveTo 1107 + x * 4, 717 + y * 3

LeftClick 1

Delay 2001 + time

End If

IfColor 705,605,"f1decb",0 Then

MoveTo 705 + x, 605 + y

LeftClick 1

Delay 102 + time

End If

IfColor 37,117,"472344″,2 Then

MoveTo 1091 + x + x, 710 + y

LeftClick 1

Delay 102 + time

End If

IfColor 82,184,"472344″,2 Then

MoveTo 1091 + x + x, 710 + y

LeftClick 1

Delay 110 + time

End If

IfColor 706, 500, “F1DECB", 0 Then

MoveTo 706 + x, 500 + y

LeftClick 1

Delay 102 + time

End If

IfColor 710, 714, “f4eeee", 0 Then

MoveTo 638 + x+ x, 717 + y

LeftClick 1

Delay 500 + time

End If

IfColor 738, 553, “F1DECB", 0 Then

MoveTo 738 + x, 553 + y

LeftClick 1

Delay 1102 + time

MoveTo 722 + x, 711 + y

LeftClick 1

Delay 1202 + time

End If

IfColor 722, 459, “F1DECB", 0 Then

MoveTo 722 + x, 459 + y

LeftClick 1

Delay 104 + time

End If

IfColor 93, 468, “fe7900″, 0 Then

IfColor 93, 604, “fe7900″, 0 Then

IfColor 183, 714, “fe7900″, 0 Then

MoveTo 183 + x, 714 + y

LeftClick 1

Delay 2000 + time

End If

End If

End If

IfColor 1149, 591, “ff7a00″, 0 Then

IfColor 586, 591, “ff7a00″, 0 Then

IfColor 1101, 591, “ffffff", 0 Then

MoveTo 920 + x, 400 + y

LeftClick 1

Delay 2000 + time

End If

End If

End If

Delay 100 + time

=========================
BY B站hoassi,APP图标放第一行第一列