vim /etc/hosts
10.11.185.31 nexus.ctl.com
192.168.0.13 node1.ctl.com
192.168.0.13 node2.ctl.com
192.168.0.13 node3.ctl.com
192.168.0.13 node4.ctl.com
192.168.0.13 node5.ctl.com
192.168.0.13 node6.ctl.com
vim /etc/profile
export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE HISTCONTROL
export JAVA_HOME=/home/software/jdk1.8.0_261
#export JAVA_HOME=/home/software/jdk-11.0.13
#export JAVA_HOME=/home/software/jdk-17.0.1
export BYTEMAN_HOME=/home/software/byteman4.0.18
#export MAVEN_HOME=/home/software/apache-maven-3.6.1
export MAVEN_HOME=/home/software/apache-maven-3.8.5
export GRADLE_HOME=/home/software/gradle-7.3.1
export GOPATH=/home/software/mysql-schema-sync
export PATH=$GRADLE_HOME/bin:$MAVEN_HOME/bin:$JAVA_HOME/bin:$PATH:$BYTEMAN_HOME/bin:$GOPATH/bin
#vim .bashrc
alias tailf='tail -f'
alias ll='ls -l'
alias ssh96='ssh hsuser@192.168.3.96'
alias ss76='ssh guolin@172.16.120.76 -p 29992'
alias ss77='ssh guolin@172.16.120.77 -p 29992'
alias ss78='ssh guolin@172.16.120.78 -p 29992'
alias ss31='ssh -p20010 root@10.11.185.31'
alias redis='/home/software/QuickRedis-2.6.2-linux-x86_64.AppImage > /home/software/logs/QuickRedis.log 2>&1 & '
alias redis2='/home/software/RedisInsight-v2-linux-x86_64.AppImage > /home/software/logs/RedisInsight.log 2>&1 & '
alias nosql='/home/software/nosqlbooster4mongo-7.1.4.AppImage > /home/software/logs/nosqlbooster4mongo.log 2>&1 & '
alias notepad='/home/software/NotepadNext-x86_64.AppImage > /home/software/logs/notepad.log 2>&1 & '
#alias mysql='/home/software/navicat15-mysql-cs.AppImage & '
alias lt='/home/software/QIpmsg > /home/software/logs/QIpmsg.log 2>&1 &'
alias clazz='java -jar /home/software/luyten-0.7.0.jar > /home/software/logs/luyten.log 2>&1 & '
alias idea='/home/software/ideaIC-2022.1.2/bin/idea.sh > /home/software/logs/idea.log 2>&1 & '
alias apifox='/home/software/Apifox.AppImage > /home/software/logs/AppImage.log 2>&1 & '
alias ftpserver='/home/software/apache-ftpserver-1.2.0/start.sh > /home/software/logs/ftpserver.log 2>&1 & '
alias mqtt='/home/software/MQTTX-1.8.0.AppImage > /home/software/logs/mqttx.log 2>&1 & '
#---------------------------对比工具------------------------------
#https://www.scootersoftware.com/download.php?zz=kb_linux_install
wget https://www.scootersoftware.com/bcompare-4.4.2.26348.x86_64.rpm
rpm --import https://www.scootersoftware.com/RPM-GPG-KEY-scootersoftware
yum install bcompare-4.4.2.26348.x86_64.rpm
# 重置天数 rm -rf .config/bcompare/registry.dat
#对比工具
#rm -rf /home/ctl/.config/bcompare/registry.dat
yum install /home/software/bcompare-4.4.2.26348.x86_64.rpm
#meld也是对比工具比bcompare差一点,但是也可以根据正则过滤不想对比的文件夹或文件
#http://meldmerge.org/
dnf install meld
#---------------------------系统工具------------------------------
yum install nautilus
yum install ncdu
#---------------------------mysql客户端工具------------------------------
pip install mycli
navicate替换工具(数据库客户端)
下载地址: https://github.com/dbeaver/dbeaver/releases
下载地址: https://dbeaver.io/download/
#---------------------------浏览器工具------------------------------
cd /etc/yum.repos.d/
wget http://repo.fdzh.org/chrome/google-chrome-mirrors.repo
dnf install google-chrome-stable -y
#---------------------------SSH工具------------------------------
#Xshell替换工具
wget www.hostbuf.com/downloads/finalshell_install_linux.sh;chmod +x finalshell_install_linux.sh;./finalshell_install_linux.sh;
ln -s /usr/lib/FinalShell/bin/FinalShell /usr/bin/finalshell
#tabby (开源ssh工具)
https://github.com/Eugeny/tabby/releases/tag/v1.0.181
https://tabby.sh/
#---------------------------HTTP工具------------------------------
#Postman替代工具
https://console.apipost.cn/
https://www.apifox.cn/web/main
#---------------------------远程桌面控制工具------------------------------
#向日葵安装
rpm -ivh --force --nodeps SunloginClient_11.0.1.44968_amd64.rpm #
如果安装后不能使用我们改一下让它能识别 Fedora 即可:
sudo vim /usr/local/sunlogin/scripts/common.sh
sudo vim /usr/local/sunlogin/rpminstall.sh
sudo vim /usr/local/sunlogin/scripts/start.sh
把里面的“centos”都更换为“fedora”。
最后运行安装配置,就可以用了:
sudo /usr/local/sunlogin/rpminstall.sh
#http://www.hellodesk.cn/linux.html 远程桌面工具
#---------------------------文档工具------------------------------
https://shimo.im/desktop 文档工具(石墨文档支持fedora和网页版)
#---------------------------文本编辑器工具------------------------------
#sublime-text(文本编辑器)
sudo dnf config-manager --add-repo https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
dnf install sublime-text
#NotepadNext下载地址(文本编辑器 开源)
https://github.com/dail8859/NotepadNext/releases
#lite下载地址(文本编辑器 开源)
https://lite-xl.com/?/downloads
https://download.copr.fedorainfracloud.org/results/sentry/lite/fedora-36-x86_64/04642062-lite-xl-nightly/
#atom下载地址(文本编辑器 开源 好用)
https://atom.io/
https://github.com/atom/atom/releases
#安装插件 Sublime-Style-Column-Selection
#安装插件column-select
#安装插件 compare-files
#---------------------------MQTT客户端工具------------------------------
#emqx客户端下载地址
https://mqttx.app/zh
wget https://www.emqx.com/en/downloads/MQTTX/1.8.0/MQTTX-1.8.0.x86_64.rpm
#---------------------------截图工具------------------------------
#flameshot 截图工具
dnf install flameshot
#---------------------------文件浏览器工具------------------------------
#终端下的文件浏览器:ranger (非常强大)
dnf install ranger
#---------------------------局域网工具------------------------------
#飞秋 局域网工具下载地址
https://open.umnet.cn/dapp?curindex=2&appid=767a1aa92f742949aaa0c5861f133824&id=&sid=95f5f864-c11e-49ae-a9ca-e14061a66bae&itype=7
#---------------------------redis客户端工具------------------------------
redis客户端
https://redis.com/redis-enterprise/redis-insight/
#/home/ctl/.redisinsight-v2/redisinsight.db 链接信息 SQLite打开编辑信息
#---------------------------mongo客户端工具------------------------------
#mongo客户端
https://www.mongodb.com/try/download/compass
https://studio3t.com/(非开源) studio-3t-linux-x64.sh
mongdb图形工具 https://nosqlbooster.com/downloads nosqlbooster4mongo-6.1.1.AppImage
mongdb图形工具 https://studio3t.com/download-thank-you/?OS=x64
#---------------------------http监控工具------------------------------
#http监控工具
dnf install wireshark
过滤器 ip.dst==192.168.3.9 and tcp.dstport==8080 and http.request.uri contains "/market-portal-center/acl/resourcebase/getResourceList"
(tcp.dstport==8080 or tcp.srcport==8080) and ( (ip.src_host==192.168.3.9 and ip.dst_host==fedora.local) or (ip.src_host==fedora.local and ip.dst_host==192.168.3.9))
#---------------------------PDF,IMAGE,EXCEL,TXT编辑转换识别工具------------------------------
#Linux命令将PDF转成图片
sudo dnf install poppler-utils # [On RHEL/CentOS & Fedora]
#将pdf转换为图片的命令如下:
#pdftoppm -
#将指定范围内的页面转成图片
#命令如下:
#pdftoppm - -f N -l N
#pdftoppm - -f N -l N
#N为起始页编号, -l N 指定结束页编号。
#在下面的例子中,我们将文件Linux_For_Beginners.pdf的第10页到第15页转换为PNG。
#pdftoppm -png -f 10 -l 15 Linux_For_Beginners.pdf Linux_For_Beginners
#pdf 和 word在线互转工具
#https://www.sanpdf.com/pdf-to-word
#pdf转text
pdftotext /home/ctl/Spring.pdf Spring.txt
#pdf阅读器和pdf增加删除编辑器
dnf install pdfmod pdfshuffler
#image转txt(https://gitee.com/ctllin/tools/tree/master/imagetotxt)
#安装tesseract
dnf install tesseract
tesseract test.png test(生成test.txt)
excel转csv工具
#Converting xlsx Excel format files to CSV on Linux
https://linuxconfig.org/converting-xlsx-excel-format-files-to-csv-on-linux
dnf install gnumeric
After gnumeric is installed, you’ll have access to the ssconvert command on your system. Use the following command syntax to convert an Excel spreadsheet in terminal.
$ ssconvert distros.xlsx distros.csv
If the spreadsheet you’re working with contains multiple tabs (or
“workbooks” as they’re called in Excel), you’ll need to add the -S option to your ssconvert command.
$ ssconvert -S distros.xlsx distros.csv
#---------------------------ftp客户端工具------------------------------
#https://www.makeuseof.com/best-ftp-clients-for-linux/ ftp客户端
dnf install filezilla
dnf install gftp
dnf install lftp
dnf install konqueror
#https://mina.apache.org/ftpserver-project/download_1_2.html ftp服务端
#---------------------------java开发工具------------------------------
java开发工具
下载地址: https://netbeans.apache.org/download/nb14/nb14.html
ideaIC-2022.1.2(社区版) + tomcat9 +SmartTomcat-4.2.0.zip(插件)+'Ctrl F9'可以调试
web工程
https://gitee.com/ctllin/tools/tree/master/jrebel-license-server-for-java
插件实现热部署不需要重启tomcat或springboot的main方法
#---------------------------输入法------------------------------
#dnf install alin
#alien --to-rpm --scripts iflyime_0.9.988_amd64.deb deb转化为rpm包
dnf localinstall iflyime-0.9.988-2.x86_64.rpm --skip-broken
#linux下使用intelligent pinyin输入中文在idea中失效的问题
#1、点击菜单 "Help | Edit Custom VM options..."
#2、添加 -Drecreate.x11.input.method=true 到最后一行
#3、重启IDEA
#---------------------------Linux下载管理器------------------------------
#参考网址
#https://www.linuxprobe.com/five-linux-download.html
dnf install uget
dnf install kget
#flareget 下载地址
https://flareget.com/download
dnf localinstall flareget-5.0-0.x86_64.rpm
#xdm下载安装
sudo wget http://sourceforge.net/projects/xdman/files/xdm-jre-64bit.tar.xz
sudo tar -xvf xdm-jre-64bit.tar.xz
cd xdm
sudo ./xdm