tar is one of the most common commands in Linux. We usually use it to package files. You can also compress files to save disk space during packaging. I will show you how to use it in this tutorial. Maybe you can't remember all parameters at one time. The more you practice the more skillful you will become.
When I run XShell after installing it I got this error message
Kafka is a high-throughput distributed publish-subscribe messaging system that can handle real-time data feed. In this series tutorials I will show you how to use Kafka step by step. The first one is how to install Kafka on Linux. This tutorial assumes there is no existing Kafka or ZooKeeper data on your computer.
In Spring you can use @PropertySource and @Value to load value from properties file. You can also use them in Spring Boot. But Spring Boot provide a easy way to get value from properties file. In this page I will show you how to use @ConfigurationProperties to get the value in properties file.
In this tutorial I will show how to use Mybatis in Spring Boot. Spring Boot can help you build RESTful project quickly, Mybatis is one of the best ORM framework. Use Mybatis in Spring Boot can help you build persistence layer of your project quickly and easily. I will provide a complete example for using MyBatis in Spring Boot step by step.
PostgreSQL, simply "Postgres" for short, is an object-relational database management system (ORDBMS). PostgreSQL is able to run on many operating systems including Linux, FreeBSD, OS X, Solaris, and Microsoft Windows. In this blog I will show you how to install and configure PostgreSQL on Linux(CentOS 6 x86).
We use SimpleDateFormat to parse string to date in java. It allows you formatting(date -> string) and parsing(string -> date). Before using SimpleDateFormat you have to choose user-defined patterns for date-time formatting. The following pattern letters are defined (all other characters from 'A' to 'Z' and from 'a' to 'z' are reserved). You can use them define different patterns.
We use SimpleDateFormat to format date in java. It allows you formatting(date -> string) and parsing(string -> date). Before using SimpleDateFormat you have to choose user-defined patterns for date-time formatting. The following pattern letters are defined (all other characters from 'A' to 'Z' and from 'a' to 'z' are reserved). You can use them define different patterns.
Annotations of Spring Framework greatly simplifies the RESTful project developing process. @Controller is used to indicates that an annotated class is a "Controller". In Spring documentation "Controller" defines as follow
There are many ways to transfer files between Windows and Linux, but they are not satisfactory.
If you want build a spring project you have to download servlet container(tomcat, jetty, glassfish etc.) write some spring config file. But now you can throw them away! In this tutorial I will show you how to build spring project in one minute with "spring boot".