linux System Custom Resolution
Open the terminal and enter the following command:
Step 1
xrandr
Output:
Virtual1 connected primary 1440x900+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
View the currently connected display device Virtual1
2 Steps
gtf 800 480 60
output
# 800x480 @ 60.00 Hz (GTF) hsync: 29.82 kHz; pclk: 29.58 MHz
Modeline "800x480_60. ...
Posted by casty on Mon, 13 Jul 2020 09:29:58 -0700
Solving Chinese Scrambling Problem of mysql+python on mac Platform
First, for mysql databases, the default character is latin1
This latin1 is the culprit that we can't write in Chinese.The solution, then, is to change the character set to UTF-8
The easiest way to do this is to modify the windowMy.iniProfile),My.iniWhere and how to modify it to UTF-8 is as follows: https://www.cnblogs.com/Ray-xujianguo/p/332 ...
Posted by Yetalia on Sun, 12 Jul 2020 08:38:36 -0700
Turn on your terminal to force the first step
My Terminal Welcome Page
As a developer, the intimacy with the terminal is certainly not generally high. That is the picture I open the terminal to, whether it is full or not, 23333. Here's how to configure it on the mac, and other systems should be the same.
Open the terminal first (if not, then you can't configure the old fellow).
Ente ...
Posted by maxic0 on Sat, 11 Jul 2020 09:24:00 -0700
Installation and Startup of Elasticsearch under UBUNTU
1. Installation
1. Add ppa source
sudo add-apt-repository ppa:openjdk-r/ppa
2. Upgrade system apt-get source
sudo apt-get update
3. Install jdk8
Elasticsearch was developed in practical java, so JVM is required to run, so we need to install jdk
sudo apt-get install oracle-java8-installer
4. Check jdk
Execute the follow ...
Posted by KenGR on Thu, 09 Jul 2020 08:06:18 -0700
Deploy and install MySQL 5.6.23 on linux
download
Download lrzsz first: upload mysql package on window s to linux
yum -y install lrzsz
Enter / usr/local directory
rz: select mysql package
Check if your computer has mysql installed
ps -ef|grep mysqld
root 2493 2423 0 19:48 pts/3 00:00:00 grep mysqld
rpm -qa |grep -i mysql
Unzip and rename the uploaded mysql
...
Posted by hmgroen on Thu, 02 Jul 2020 09:16:59 -0700
02 Ceph cluster planning and deployment of mimic
Reference connection:< https://docs.ceph.com/docs/master/
2.1 cluster planning
At least three Centos7 system virtual machines are used to deploy Ceph cluster. Hardware configuration: 2C4G. In addition, each machine should be equipped with at least three hard disks (5g for each disk)
HOST
IP
Service
Mark
cephmanager01
public network:1 ...
Posted by BenInBlack on Tue, 30 Jun 2020 00:50:02 -0700
Introduction and use of systemctl command
Systemd program
Systemd is actually a program used by Linux system to manage the system, which is used to replace the original init process (used to manage and start other service processes of the system). Now many Linux distributions have their own Systemd programs.
systemctl command
1. Unit
systemctl command is the most important command in ...
Posted by ramrod737 on Sat, 27 Jun 2020 01:33:42 -0700
brew for Mac installation (an effective way to test after stepping on numerous pits in 2020)
A new computer
It took only one year for MacBook air to retire due to insufficient memory and hard disk. It updated the customized version of MacBook pro, and I would feel uneasy when I was happy because I had to reinstall the software to prepare for it. Sure enough, when installing brew, there was no ...
Posted by PDP11 on Sat, 20 Jun 2020 01:55:25 -0700
Configuration of hadoop pseudo distribution mode and some common commands
The history of big data
3V: volume, velocity, variety (structured and unstructured data), value (low value density)
Technical challenges brought by big data
Increasing storage capacity
Difficulty in obtaining valuable information: search, advertisement, recommendation
Data processing scenario ...
Posted by jmansa on Sat, 20 Jun 2020 00:46:03 -0700
The magic soldier chapter of the cult diary: 1
The magic soldier chapter of the cult diary: 1
Article catalog
The magic soldier chapter of the cult diary: 1
ArchLinux-cn
Artifact YAY
Desktop Environment
xinitrc
Break in a piece of news
VIM configuration
ZSH | oh-my-zsh
Continue xinitrc
i3
Random code problem one
Random code problem two
So ...
Posted by arisjb on Sat, 20 Jun 2020 00:28:24 -0700