Installing tensorflow GPU under linux

Install NVIDIA drive 1. Driver download address: https://www.nvidia.cn/Download/index.aspx?lang=cn 2. Unload the original drive Ctrl+Alt+F1 sudo apt-get remove nvidia-* sudo apt-get autoremove sudo nvidia-uninstall Reset computer shutdown -r now 3. Drive installation Ctrl+Alt+F1 sudo service lightdm stop sudo sh ./filenam ...

Posted by doug007 on Sun, 17 Nov 2019 16:37:31 +0100

Installing Jenkins on k8s and common problems

Continuous integration and deployment is an important part of DevOps. Jenkins is a very popular tool for continuous integration and deployment. Recently, I tested Jenkins and found that it is the most complex tool I have used for some time. One possible reason is that it needs to be integrated with various other tools to complete the task, and ...

Posted by indigo2k on Tue, 05 Nov 2019 08:22:34 +0100

WSL update default source

Today, because of a VSC + + error on Windows, I think of WSL. With administrator privileges, the WSL of this computer is installed again. Set → update → developer options → open development mode Control panel → program and update → open or close function → WSL function check Open cmd → input bash → follo ...

Posted by scanreg on Sun, 03 Nov 2019 17:20:21 +0100

Common script tools

md5sum, command line view configuration I. verifying file integrity with md5sum Command options   1 2 3 4 5 6 md5sum -b Read in file contents in binary mode -t Read in file content in text mode -c Based on generated md5 Value to verify the existing file -w A warning message is given when the verif ...

Posted by pdunn on Fri, 01 Nov 2019 22:33:51 +0100

Learn the other two types of host,none of docker network from scratch

We have already introduced the bridge network, which is more complex. This section introduces two simple networks: host and none. none Network First, we introduce the Network of type none. First look at our Network: duandingyang@duandingyangdeMacBook-Pro  ~/docker/ubuntu-16.04  docker network ls NETWORK ID NAME D ...

Posted by ud2008 on Fri, 01 Nov 2019 20:35:36 +0100

30 min introduction to Go zero base

It has been more than two years since I unknowingly used Go to develop. The experience summary of the preparation point is convenient for later students to get started quickly. outline 1. Go installation 2. Go ide building 3. Go modules module management     4. Go unit test 5. ...

Posted by DragonFire-N[R] on Wed, 23 Oct 2019 23:20:36 +0200

Binary installation Prometheus

Server list: Server name operating system IP address service test03 Ubuntu 16.04.4 192.168.1.58 Prometheus, Alertmanager,grafana test02 Ubuntu 16.04.4 192.168.1.57 Node_exporter 1. Install prometheus Download address on Prometheus official website: https://prometheus.io/download/ Download prometheus root@test03:~# wget https://g ...

Posted by DeadDude on Thu, 17 Oct 2019 22:15:56 +0200

synproxy for connection tracing

Principle analysis Synproxy is a convenient function to mitigate syn flood attacks. linux supports synproxy with a connection tracking extension. The following article explains in detail why linux synproxy is implemented. The article links to https://lwn.net/Articles/563151/: The following patches against nf-next.git implement a SYN proxy for ...

Posted by john010117 on Fri, 11 Oct 2019 11:24:45 +0200

Docker Container Communication and External Network Communication

Inter-Container Communication 1. Network Sharing of Containers The docker container in this mode will share a network stack so that efficient and fast communication between the two containers can be achieved using localhost. Used for communication between web server and application server.   # ...

Posted by kickstart on Tue, 08 Oct 2019 17:02:30 +0200

Linux Basic Command - dig

dig Di is a DNS query tool, most administrators will use the dig command to solve DNS problems. The scope of application of this command: Red Hat, RHEL, Ubuntu, CentOS, Fedora. 1. Grammar dig [option] 2. List of parameters @server Specify server address -b host Specify which host to query through -f file Qu ...

Posted by rjs34 on Tue, 01 Oct 2019 08:03:53 +0200