• Application deployment by jar package


    Application deployment by jar package 1. Package application mvn clean package -Dmaven.test.skip=true -Dmaven.test.skip: skip unit tests 2. Start application java -jar -Dserver.port=8090 sell.jar -Dserver.port: specify port 3. Multi environment startup java -jar -Dserver.port=8090 -Dspring.profiles.active=prod sell.jar -Dspring. Profiles. Active = prod: use production environment, prod is application-prod.yml 4. Background operation nohup java -jar sell.jar > /dev/null […]

  • Don’t worry, you will die: centos7 updates Firefox browser


    Uninstall Firefox from CentOS 1) rpm -qa | grep firefoxQuery installed legacy Firefox2) rpm -e firefox-45.4.0-1.el7.centos.x86_64Remove old FirefoxIf there is an error:error: can’t create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied), because of insufficient permissions, plussudoCommand and enter passwordsudo rpm -e firefox-45.4.0-1.el7.centos.x86_64 Install Firefox 1) Download Firefox on the official website, such as the following directory:/home/cai/Downloads/Firefox-latest-x86_64.tar.bz2 […]

  • Detailed explanation of the installation and deployment of redis on centos7


    Redis is an advanced key value database. It is similar to memcached, but the data can be persisted and the supported data types are rich. There are strings, lists, sets, and ordered sets. It supports the calculation of union, intersection and complement of sets on the server side, as well as multiple sorting functions. So […]

  • Centos7 compile and install apache2


    It is necessary to install services in lamp environment. There are two different ways to install software in Linux environment. One is to install yum. Of course, different Linux distribution versions are slightly different. The other is to compile and install, which is more controllable than Yum installation, but a little more troublesome than Yum […]

  • How does centos7 fix MBR and grub?


    I. MBR repair: MBRMaster boot record: The 0 cylinder, 0 head and 1 sector of the hard disk are called the main boot sector. Among them, 446byte is bootloader, 64BYTE is partition table, and the remaining 2byte is magic number. Backup MBR: #dd if=/dev/sda of=/root/mbr.bak count=1 bs=512 Destroy bootloader: #dd if=/dev/zero of=/dev/sda count=1 bs=200 Here, […]

  • Alibaba cloud centos7 online project is bound with domain name and accessed by HTTPS


    Guide reading Now, nearly a year after graduation. The old framework of the company has always been used, which adopts the mode of no separation of front and back ends. However, recently, the company wants to adopt the mode of front-end and back-end separation, and let me reconstruct the new framework. For me, shortly after […]

  • What must be done after the installation of Centos7


    1. Update system and patch Our Internet is very insecure. Every day there are new loopholes appearing and repairing, so we must update, update and update it. yum -y update The above command is to check for updates and installations, including kernels and software. It is recommended that updates be made as soon as they are installed, […]

  • The Method of Starting Up with Graphic Interface in CentOS 7 Version


    The new version of entOS 7 is somewhat different from the previous version. Take boot level as an example, our previous modification of the / etc / inittab configuration file has become a thing of the past. The configuration of id: 5: initdefault: is no longer valid for XD. In the new version of CENTOS, […]

  • How does CentOS7 set terminal shortcut keys? The method of setting terminal shortcut keys in CentOS7


    First open Applications and select System Tools Select Setting to enter the following interface Select Keyboard, go to the following interface, and click Shortcuts Click on + again and pop up the dialog box Name:        Run a Terminal Command: / usr / bin / Gnome – terminal (path of Terminal program) Click […]

  • Redis 3.2.8 Latest Edition Installation Tutorial under Centos7


    I. System Environment and Version Description Redis’s version is the current official version redis-3.2.8. II. Installation steps of Redis 2.1 Download Redis installation package online [[email protected] lzh]# wget http://download.redis.io/releases/redis-3.2.8.tar.gz –2017-04-18 09:37:12– http://download.redis.io/releases/redis-3.2.8.tar.gz Host download. redis. IO (download. redis. io)… Connecting download.redis.io (download.redis.io) | |: 80… Connected. HTTP request has been issued, waiting for […]

  • Mysql 8.0.16 Installation and Configuration Method Graphics and Text Tutorial under CentOS 7


    Unload the old version of MySQL (skip this step if you don’t) (Note:The 3-6 step is to reinstall the new version of MySQL. It is necessary to uninstall the previous version and make no mistake. The new VM is initially installed in MySQL, with only 1-2 steps. 1. View the old version of MySQL rpm […]

  • CentOS 7 Zone Setting Method


    CentOS 7 Regional Settings The configuration file for the locale is in/etc/locale.conf,Setting through the localectl command; The system D service reads the area configuration file and completes the system settings at startup time. Common methods of commands are as follows: 1 View the current configuration [[email protected] ~]# localectl status System Locale: LANG=en_US.UTF-8 VC Keymap: us […]