Linux Installation Tkinter+Python Version Upgrade + xlrd Installation (Excel Plug-in)
I. Tkinter Installation
To install Tkinter in Python 3, you need to upgrade the Python version and recompile it!!!
1. System Version and Python Version
[root@server1 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.2 (Maipo)
Python Version: 2.7.5
2. Introduction to Tkinter
(1) Introduction
t ...
Posted by sridhar golyandla on Fri, 01 Feb 2019 09:33:17 -0800
Centos7 Installs GLPI Asset Management System
I. Environmental preparation
CentOS 7 + Apache 2.4.6 + PHP +Mariadb
Apache and Mariadb are installed directly by yum, and PHP is installed by binary source code.
The previous items here are the same as the snipeit asset management system installed before.
Pre-installation preparation
1. System Update # Note Use Centos 7.5 ...
Posted by ronald29x on Thu, 31 Jan 2019 05:09:16 -0800
linux Learning Lesson 28
Catalog
1 awk command
1 awk command
Copy exercise files
[root@worker1 dir9]# cp /etc/passwd ./testpasswd
Print the first field
[root@worker1 dir9]# head -n2 testpasswd | awk -F ':' '{print $1}'
ROOT
bin
Print entire line
[root@worker1 dir9]# head -n2 testpasswd | awk -F ':' '{print $0}'
ROOT:x:0:0:roooot:/root:/bin/ ...
Posted by stickynote427 on Wed, 30 Jan 2019 21:06:14 -0800
sed replacement command (2)
The input file will not be modified, sed only executes the replacement command in the schema space, and then outputs the schema space's
Content.
Text file employee.txt
101,John Doe,CEO
102,Jason Smith,IT Manager
103,Raj Reddy,Sysadmin
104,Anand Ram,Developer
105,Jane Miller,Sales Manager
1. Replace Manager in all rows with Dire ...
Posted by kingbeastie on Wed, 30 Jan 2019 02:27:15 -0800
Centos7 installs MySQL 5.7
1. Download the tar package, which is downloaded from the official website using wget
wget https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.22-linux-glibc2.12-x86_64.tar.gz
2. Install mysql under / usr/local/mysql
# decompression
tar -xvf mysql-5.7.22-linux-glibc2.12-x86_64.tar.gz
# move
mv mysql-5.7.22-linux-glibc2.12- ...
Posted by vikela on Tue, 29 Jan 2019 20:00:14 -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
sed command extended usage operation
Print the content between a line and a line
If the content of the file test.txt is:
ert
fff
**
[abcfd]
123
324
444
[rty]
**
fgfgf
How can we intercept
[abcfd]
123
324
444
[rty]
What about this part?
Operating commands:
Know the contents of the start and end lines
[root@centos01 t1019]# sed -nr '/\[abcfd\]/,/\[rty\]/p' test.txt
[abcfd]
123
3 ...
Posted by binarymonkey on Mon, 28 Jan 2019 02:45:14 -0800
StartSonar.bat cannot start in Sonarqube. Win10
StartSonar.bat cannot start in Sonarqube. Win10
Problem Description and Final Solution
Establishing Sonar database
Modify the configuration file conf sonar. properties
Problem Description and Final Solution
1. Download MySql 5.7.23, Sonar 6.7.5
2. Following the installation documents on the Internet, the Sonar database ...
Posted by willcodeforfoo on Sun, 27 Jan 2019 23:00:14 -0800
vsftp+keepalived+rsync + to achieve data synchronization and high availability
In response to the company's business needs, the closest to build a set of portfolio services, the network did not find a similar portfolio architecture, so I will build the process and share some new, I hope that friends with relevant needs will have the role of throwing a brick to attract jade!The objectives to be achieved are ...
Posted by rockobop on Sun, 27 Jan 2019 18:33:14 -0800
Zfs-swagger-ui API document management (no independent test project needed to be built)
Brief Description: This project is a rewrite of swagger 2 UI page and a test project. It really won't write a brief description, but it's a direct topic.
Want to see the effect map.
How to use it?
Adding dependencies to pom files is as follows
<dependency>
<groupId>io.springfox</groupId>
<artifa ...
Posted by CraigRoberts on Sun, 27 Jan 2019 03:27:15 -0800