paulwong

          #

          GIT資源


          http://jartto.wang/tags/git/

          posted @ 2020-06-04 10:38 paulwong 閱讀(268) | 評論 (0)編輯 收藏

          徹底搞懂 Git-Rebase

          根據分支1新建了功能分支1,并在此上開發一段時間,后來分支1被別人提交了代碼,因此分支1比功能分支1要新,這時,可以將功能分支1與分支1進行合并,但會多出很多COMMIT,這時就出現了rebase,
          GIT會將功能分支1上的所有COMMIT另存一個文件,回退到分支1原始狀態,再更新至當前分支1的狀態,再把另存文件的COMMIT執行一遍,就成了已經合并的新的功能分支1。

          http://jartto.wang/2018/12/11/git-rebase/

          GIT使用rebase和merge的正確姿勢
          https://zhuanlan.zhihu.com/p/34197548

          git merge和git rebase的區別, 切記:永遠用rebase
          https://zhuanlan.zhihu.com/p/75499871



          posted @ 2020-06-04 10:37 paulwong 閱讀(282) | 評論 (0)編輯 收藏

          How To Run Java Jar Application with Systemd on Linux

          https://computingforgeeks.com/how-to-run-java-jar-application-with-systemd-on-linux/

          systemd自啟動java程序
          https://www.cnblogs.com/yoyotl/p/8178363.html
          ------------------------------------------------------------

          [Unit]
          Description=TestJava
          After=network.target

          [Service]
          Type=forking
          ExecStart=/home/test/startTest.sh
          ExecStop=/home/test/stopTest.sh

          [Install]
          WantedBy=multi-user.target

          -------------------------------------------------------------
          How to Autorun application at the start up in Linux
          https://developer.toradex.com/knowledge-base/how-to-autorun-application-at-the-start-up-in-linux

          How to automatically run program on Linux startup
          https://www.simplified.guide/linux/automatically-run-program-on-startup


          Systemd 入門教程:實戰篇
          https://www.ruanyifeng.com/blog/2016/03/systemd-tutorial-part-two.html

          Systemd 入門教程:命令篇

          http://www.ruanyifeng.com/blog/2016/03/systemd-tutorial-commands.html

          posted @ 2020-05-11 16:16 paulwong 閱讀(275) | 評論 (0)編輯 收藏

          MariaDB Galera Cluster

          What is MariaDB Galera Cluster?
          https://mariadb.com/kb/en/what-is-mariadb-galera-cluster/

          Prepare yum install repository:
          https://downloads.mariadb.org/mariadb/repositories/#distro=CentOS&distro_release=centos7-amd64--centos7&mirror=coreix&version=10.4

          MariaDB Galera Cluster部署實戰
          https://jeremyxu2010.github.io/2018/02/mariadb-galera-cluster%E9%83%A8%E7%BD%B2%E5%AE%9E%E6%88%98/

          9 Tips for Going in Production with Galera Cluster for MySQL
          https://severalnines.com/blog/9-tips-going-production-galera-cluster-mysql

          HA for MySQL and MariaDB - Comparing Master-Master Replication to Galera Cluster
          https://severalnines.com/database-blog/ha-mysql-and-mariadb-comparing-master-master-replication-galera-cluster

          Galera Cluster for MySQL - Tutorial
          https://severalnines.com/resources/tutorials/galera-cluster-mysql-tutorial










          posted @ 2020-05-09 11:08 paulwong 閱讀(266) | 評論 (0)編輯 收藏

          How to disable IPv6 on CentOS / RHEL 7


          https://www.thegeekdiary.com/centos-rhel-7-how-to-disable-ipv6/

          https://linuxconfig.org/redhat-8-enable-disable-ipv6


          posted @ 2020-05-06 12:42 paulwong 閱讀(269) | 評論 (0)編輯 收藏

          How To Count Files in Directory on Linux

          https://devconnected.com/how-to-count-files-in-directory-on-linux/

          posted @ 2020-05-05 17:01 paulwong 閱讀(253) | 評論 (0)編輯 收藏

          JENKINS TOURIAL

          https://huongdanjava.com/jenkins-2

          posted @ 2020-04-07 10:29 paulwong 閱讀(303) | 評論 (0)編輯 收藏

          Deploy artifacts into Maven Repository in Jenkins

          https://huongdanjava.com/deploy-artifacts-into-maven-repository-in-jenkins.html

          posted @ 2020-04-06 14:13 paulwong 閱讀(325) | 評論 (0)編輯 收藏

          MAVEN私服-Nexus Repository Manager


          Nexus Repository Manager is a tool that allows us to store and use libraries we need in projects such as Maven project…

          Nexus Repository ManagerIn this tutorial, I summarize the tutorials of Huong Dan Java on the Nexus Repository Manager for your reference.


          Installation

          In this tutorial, I will guide you how to install Nexus Repository Manager.


          Configuration

          In order to create a new Maven Repository in the Nexus Repository Manager, you can refer to this tutorial.

          We need to define a Role to define User rights in the Nexus Repository Manager.

          To be able to do anything in the Nexus Repository Manager, you need to create and use the User.


          Manipulation

          Nexus Repository Manager supports us UI to upload any artifact to the Repository.

          In addition to the UI, we can also use the RESTful API to upload an artifact.

          posted @ 2020-04-06 14:08 paulwong 閱讀(299) | 評論 (0)編輯 收藏

          List sessions / active connections on MariaDB server

          Using a command

          Option 1

          show status where variable_name = 'threads_connected'; 

          Columns

          • Variable_name - Name of the variable shown
          • Value - Number of active connections

          Rows

          • One row: Only one row is displayed

          Sample results

          Option 2

          show processlist; 

          Columns

          • Id - The connection identifier
          • User - The MariaDB user who issued the statement
          • Host - Host name and client port of the client issuing the statement
          • db - The default database (schema), if one is selected, otherwise NULL
          • Command - The type of command the thread is executing
          • Time - The time in seconds that the thread has been in its current state
          • State - An action, event, or state that indicates what the thread is doing
          • Info - The statement the thread is executing, or NULL if it is not executing any statement
          • Progress - The total progress of the process (0-100%)

          Rows

          • One row: represents one active connection
          • Scope of rows: total of active connections

          Sample results

          Using a query

          Option 3

          select id, user, host, db, command, time, state, 
          info, progress from information_schema.processlist;

          Columns

          • Id - The connection identifier
          • User - The MariaDB user who issued the statement
          • Host - Host name and client port of the client issuing the statement
          • db - The default database (schema), if one is selected, otherwise NULL
          • Command - The type of command the thread is executing
          • Time - The time in seconds that the thread has been in its current state
          • State - An action, event, or state that indicates what the thread is doing
          • Info - The statement the thread is executing, or NULL if it is not executing any statement
          • Progress - The total progress of the process (0-100%)
          • memory_used - Amount of memory used by the active connection

          Rows

          • One row: represents one active connection
          • Scope of rows: total of active connections

          Sample results

          Using the GUI

          Option 4

          Click on the Client Connections option of the Management tab (left navigation pane)

          This action will show the Client Connections screen containing the current active connections

          posted @ 2020-04-02 15:38 paulwong 閱讀(287) | 評論 (0)編輯 收藏

          僅列出標題
          共115頁: First 上一頁 17 18 19 20 21 22 23 24 25 下一頁 Last 
          主站蜘蛛池模板: 尤溪县| 龙山县| 藁城市| 阿拉善左旗| 万山特区| 兰考县| 天全县| 星子县| 祁东县| 民丰县| 朔州市| 宿松县| 黎川县| 岑溪市| 乐业县| 建阳市| 九台市| 霍林郭勒市| 新乡市| 霍山县| 伊宁县| 墨江| 福贡县| 开平市| 万载县| 游戏| 修文县| 九江市| 德阳市| 威海市| 泽库县| 霍邱县| 华池县| 武川县| 凌云县| 精河县| 昌平区| 鄂托克旗| 西峡县| 内黄县| 台前县|