sysctllxc

net.ipv4.ip_local_port_range = 1024 65535
net.ipv4.tcp_slow_start_after_idle = 0
net.ipv4.tcp_no_metrics_save = 0
net.ipv4.tcp_abort_on_overflow = 0
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_syncookies = 1
net.ipv4.tcp_syn_retries = 2
net.ipv4.tcp_synack_retries = 2
net.ipv4.tcp_orphan_retries = 2
net.ipv4.tcp_max_tw_buckets = 1440000
net.ipv4.tcp_max_syn_backlog = 3240000
net.ipv4.tcp_rmem = 163840 3495200 268754560
net.ipv4.tcp_wmem = 163840 3495200 268754560
net.ipv4.tcp_keepalive_time = 600
net.ipv4.tcp_keepalive_intvl = 10
net.ipv4.tcp_keepalive_probes = 9
net.ipv4.tcp_fin_timeout = 7
net.ipv4.tcp_fastopen = 3
net.ipv4.tcp_reordering = 3
net.ipv4.tcp_mtu_probing = 1
net.ipv4.tcp_congestion_control = htcp

maclockdown-extreme

for extreme switches
-1. there is autocomplete

-2. show ports

maybe when u show ports it always shows R instead of A….so u

enable ports ??

-3. show ports ??

see ur vlan

-4. show vlan v172-20-???-??? security

see which port got how many thing locked or unlocked

-5. show fdb ports ??

see their mac if u interested..verify

-6. configure ports ?? vlan ??? unlock-learning

-7. configure ports ?? vlan ??? lock-learning

if its blackholed, unlock and lock will learn it.

-8. save configuration

crispy

  1. install virtualbox. disapble gpg check in the yum repo file
  2. install vagrant
  3. vagrant box add https://app.vagrantup.com/ubuntu/boxes/bionic64
  4. vim Vagrantfile to say 240G and 60 cpu12345678 config.vm.provider “virtualbox” do |vb| vb.memory = “245760” vb.cpus = 30and forward port 8000 config.vm.network “forwarded_port”, guest: 8000, host: 8000, host_ip: “0.0.0.0”

vagrant plugin install vagrant-disksize

and use the following in your Vagrantfile:

1234vagrant.configure(‘2’) do |config| config.vm.box = ‘ubuntu/xenial64’ config.disksize.size = ’50GB’end
  1. vagrant ssh
  2. install docker
  3. 1docker run -m 228G –memory-swap 228G –memory-swappiness 1 –oom-kill-disable -e bowtie_threads=8 -e max_upload=816384000 -v LOGFOLDER:/var/log/CRISPRAnalyzeR/log –ulimit stack=8589934592:8589934592 –rm -p 8000:8000 boutroslab/crispranalyzer:latest &
  4. useful12345678910111213141516171819202122232425262728VBoxManage list runningvmsVBoxManage controlvm <uuid> poweroffVBoxManage unregistervm <uuid>vboxmanage setproperty machinefolder /path/to/directory/vboxmanage list systemproperties | grep folderdocker statsdocker psdocker sytem prunedocker exec -it $docker-id /bin/bash1) Setup your Screen:Step 1: Select screening library – > Select GeCKOv2 AStep 2: Upload your sequencing file : G10 (need some time to wait for the uploading)Step 3: Choose custom regular expression –> Type CACCGStep 4: Turn off FastQ extraction in fast modeStep 5: Click Upload and Check FilesStep 6: 慢慢等 ~47 min?Step 7: Review your data (Overview of uploaded data and samples (what you gave us) and download readcount files + Fastqc report

google

add that to last line of /etc/pam.d/common-password

auth required pam_google_authenticator.so nullok

sshsocks

on ssh server uncomment

#AllowTcpForwarding yes

#PermitOpen any

on ssh client

ssh -D %some port% [email protected]

and then in firefox

socks5 server is sshserver, port is %some port%

whynotban

assuming dovecot.log looks like this
May 14 17:02:05 auth(default): Info: shadow([email protected],103.231.139.176): unknown user
May 14 17:02:07 auth(default): Info: client out: FAIL 23 [email protected]

then

123d=$(date +%b” “%d)DCLOG=/var/log/dovecot.logcat $DCLOG | grep “$d” | cut -d” ” -f 6- | awk ‘{if (/FAIL.*user=/) {print x;};x=$0}’ | sed ‘s/shadow(//’ | awk ‘{print $1}’ | sed ‘s/)://’ | cut -d “,” -f2 | sort | uniq -d -c

will produce a list of ip that have more than 1 wrong login…

login-loop

try

  1. ctrl + alt +f3
  2. login as yourself
  3. apt-get purge nvidia*
  4. dpkg -l | grep -i nvidia

and uninstall anything that it outputs

  1. dpkg -l | grep -i cuda

and uninstall anything that it outputs

  1. apt-get autoremove
  2. reboot

i think you should be able to login to the gui again at this point.

but all the nvidia and cuda packages have been uninstalled.

if you don’t really need the latest nvidia and cuda packages, next time you install them, after installation you can do

apt-mark hold nvidia*

apt-mark hold cuda*

or something similiar, so that they won’t be updated.