Aliyun Student Server Builds TensorFlow&Tensorboard uses &jupyter notebook configuration
TensorFlow
This article is about how to build TensorFlow under Aliyun Student Server
OS Ubuntu 16.04 64-bit python 3.5
1. Updating Software Sources
$ apt-get update
2. Install Python 3.5
$ apt-get install python3.5
$ cp /usr/bin/python /usr/bin/python_bak #backups
$ rm /usr/bin/python #delete
$ ln -s /usr/bin/python3.5 /usr/bin/python #S ...
Posted by Jason_London on Thu, 07 Feb 2019 10:39:18 -0800
Centos7+virtualenv+supervisor+python3+uwsgi+django+nginx environment deployment
Viralenv and supervisor are installed in centos 2.7.5, but my project uses Python 3.6, so I need to compile Python 3 myself. If you use virtualenv as Python 3, make sure that uwsgi also uses Python 3! Otherwise, there will be an ImportError: no module named site error, which is caused by the difference between the home ...
Posted by William on Wed, 06 Feb 2019 03:36:16 -0800
50:nginx Access Diary | Diary Cutting | Static Files do not record diaries and expiration times
1. nginx access diary:
Diary format: search log_format in the main configuration file nginx.conf;
[root@localhost_001 conf]# vim nginx.conf
log_format combined_realip '$remote_addr $http_x_forwarded_for [$time_local]'
' $host "$request_uri" $status'
' "$http_referer" "$http_user_agent"';
Note: combined_realip represents the name of the ...
Posted by supratwinturbo on Sat, 02 Feb 2019 02:36:16 -0800
Construction of Hadoop Cluster
Article directory
1. Basic information
2. Installation process
1. Switch to hadoop account and decompress hadoop to the destination installation directory by tar-zxvf command:
2. Create tmpdir directory:
Configure hadoop-env.sh file:
4. Configure mapred-env.sh file:
5. Configure the core-site.xml file core-site.xml
Configure ...
Posted by mohamdally on Thu, 31 Jan 2019 23:15:16 -0800
FastDFS Actual Operation
1. The process of uploading and displaying pictures after Django integrates FastDFS
2.FastDFS Installation (Operation in Virtual Machine Environment), (omitted)
3.Django Project Core Code
(1) File location:
(2)storage_util.py
from django.core.files.storage import Storage
from django.conf import settings
from fdfs_client.client i ...
Posted by matt.sisto on Thu, 31 Jan 2019 13:00:15 -0800
linux basic learning [6]
system log
I. Management of System Log
cat /var/log/messages ##View the default saved logs
1. Management of log collection service rsyslog
/var/log/messages ##Service Information Log
/var/lgo/secure ##System login log
/var/log/cron ##Timing Task Log
/var/log/maillog ##Mail l ...
Posted by fareedreg on Wed, 30 Jan 2019 14:00:15 -0800
Common commands of team development tool git
Common Git commands
Git configuration
git config --global user.name "storm"
git config --global user.email "stormzhang.dev@gmail.com"
git config --global color.ui true
git config --global alias.co checkout # alias
git config --global alias.ci commit
git config --global alias.st status
git config --global alias.br branch
git config --global cor ...
Posted by ramas on Tue, 29 Jan 2019 15:21:14 -0800
linux rookie basic learning (6) network
Network configuration under linux
1. What is IP ADDRESS
internet protocol ADDRESS ##Network Protocol Address
ipv4 internet protocol version 4
1.2x32
ip It consists of 32 zeros and 1.
11111110.11111110.11111110.11111110 = 254.254.254.254
2. Subnet mask
Used to divide the network area
The number on the ip corresponding to t ...
Posted by agent007 on Tue, 29 Jan 2019 09:30:15 -0800
lvs load balancing cluster (DR mode)
DR mode cluster. In fact, it should be the IP of the Internet. Here we simulate the phenomenon. Packet back directly from the web to the client.
Problems that may arise
1. Cluster addresses (web backpack IP is different from client requests) require vip to be established.
2. Router ARP request (need to turn off web1, web2 par ...
Posted by magic2goodil on Mon, 28 Jan 2019 20:15:14 -0800
Installing lantern under OpenSUSE
Statement: This article refers to guoxiaoxu's Install Lantern under CentOS 7 ! As I am a novice who has just transferred from Ubuntu to openSUSE for less than 2 days, my level is very limited, please forgive me.
Installation preparation
Essential package
Prepare an official deb package for lantern and convert the deb package to rpm package thro ...
Posted by jeopardy_68 on Sun, 27 Jan 2019 23:24:14 -0800