跳至主要内容

linux弱网络模拟

tc qdisc add dev eth1 root netem delay 100ms  duplicate 50% loss 50%  reorder 25% 50%

tc qdisc show dev eth1

tc qdisc del dev eth1 root  

评论

此博客中的热门博文

ubuntu 添加root登录

Login to your server as root. As the root user, edit the sshd_config file found in  /etc/ssh/sshd_config : vim /etc/ssh/sshd_config ( For details on working with Vim check out our article here !) Add the following line to the file, you can add it anywhere but it’s good practice to find the block about authentication and add it there. PermitRootLogin yes Save and exit the file. Restart the SSH server: systemctl restart sshd or service sshd restart

源码编译LLVM

  cmake -S llvm -B build -G "Unix Makefiles" -DLLVM_ENABLE_PROJECTS="clang" -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;libunwind;compiler-rt;libc;openmp" -DCMAKE_BUILD_TYPE=Release   cd build/   make -j8