-
Open the Terminal
-
Use
mysqldumpto backup your databases -
Check for MySQL processes with:
ps -ax | grep mysql -
Stop and kill any MySQL processes
-
Analyze MySQL on HomeBrew:
brew remove mysql
| yum list java* | |
| sudo yum -y remove java* | |
| java -version | |
| cd | |
| mkdir tmp | |
| cd tmp | |
| curl -u uftp:uftp ftp://192.168.2.115/path/developer/jdk-8u151-linux-x64.tar.gz -o jdk-8u151-linux-x64.tar.gz | |
| tar zxvf jdk-8u151-linux-x64.tar.gz | |
| sudo mv jdk1.8.0_151 /usr/share/ | |
| sudo vim /etc/profile |
| #!/usr/bin/env bash | |
| PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin | |
| export PATH | |
| # fonts color | |
| Green="\033[32m" | |
| Red="\033[31m" | |
| Yellow="\033[33m" | |
| GreenBG="\033[42;37m" | |
| RedBG="\033[41;37m" |
| # How to use "acme.sh" to set up Lets Encrypt without root permissions | |
| # See https://github.com/Neilpang/acme.sh for more | |
| # This assumes that your website has a webroot at "/var/www/<domain>" | |
| # I'll use the domain "EXAMPLE.com" as an example | |
| # When this is done, there will be an "acme" user that handles issuing, | |
| # updating, and installing certificates. This account will have the following | |
| # (fairly minimal) permissions: | |
| # - Host files at http://EXAMPLE.com/.well-known/acme-challenge |
| """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
| " => 文件编码选项 | |
| """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
| set encoding=utf-8 | |
| set fileencoding=chinese | |
| set fileencodings=ucs-bom,utf-8,chinese,gb18030,gbk,gb2312,cp936,prc,taiwan,latin-1 | |
| "set fileencoding=utf-8 | |
| set encoding=utf8 | |
| set ffs=unix,dos,mac "设置换行符格式 | |
| set ff=unix "设置缓冲区换行符格式 |
$ text-builder -index /path/to/index.txt本人不提供任何保证和技术支持,使用者自负风险。
There are no guarantees, no any support. Use it at your own risk.