20180926 disk format, disk mount, increase swap space

Disk format To view the file system formats supported by the current operating system: [root@centos01 ~]# cat /etc/filesystems ext4 ext3 ext2 nodev proc nodev devpts iso9660 vfat hfs hfsplus Disk format # mkfs.ext4 is equivalent to mke2fs -t ext4 [root@centos01 ~]# mke2fs -t xfs -b 2048 /dev/sdb1 mke2fs 1.42.9 (28-Dec-2013) Your mke2fs.con ...

Posted on Tue, 24 Dec 2019 13:03:37 -0500 by Janjan

How can ORACLE modify the number of user connections at one time?

Details of oracle connections The default number of oracle connections is 150. When the number of connections at the same time is greater than this number, an error will be reported. The current solution is to increase the number of oracle connections from 150 to 1500. The operation is as follows 1. Problem solving before modification If the nu ...

Posted on Mon, 09 Dec 2019 22:19:48 -0500 by 2levelsabove

How to write an rsync network service startup script with shell

First of all, before writing a script, you need to know the theoretical knowledge and practical operation of rsync, in order to write an ok script. Let's start with a stroke: rsync start command: rsync --daemon Stop command: kill rsync process number pkill rsync killall rsync Don't say much, script: #!/bin/bash ############################### ...

Posted on Sat, 02 Nov 2019 10:06:21 -0400 by axon

Handle Number Overrun and Lots of CLOSE_WAIT Connection Problem Checking

problem After a framework upgrade, many components run for a period of time without access, and http requests are pending Analysis 1. Handle number exception Check the log immediately after a problem occurs, and there are a lot of exceptions Socket accept failed java.io.IOException: Too many open files The number of handles opened by th ...

Posted on Tue, 08 Oct 2019 07:00:27 -0400 by lepass_7

Python uses the psutil module to be your computer housekeeper.

Computer housekeeper Maybe everyone has the feeling that optimizing the perfect computer system, you lend your computer to a computer and use it for a few days. When you get it back, you will find that all kinds of slow and messy software are loaded up. So how do we use Python to get computer relate ...

Posted on Sun, 06 Oct 2019 04:45:13 -0400 by PHP Newb

spring boot deployment startup script

Links to the original text: https://fly533.iteye.com/blog/2428721 Function: # 1. Designated User Running - Not Implemented # 2. Default logs Directory - can you specify it separately?   # 3. JMX Monitoring - To be implemented, a sec ...

Posted on Sat, 05 Oct 2019 13:10:46 -0400 by dethknite

Golang Automated Deployment Tool

An example of automated deployment by golang The automated deployment has Jenkins. Why do I have to write this file? It should be too much for the company server, and the Jenkins server is blown up.So it's too painful to use golnag to deploy automated deployment tools and scp every time the program is updated Automated Deployment Tool for Pract ...

Posted on Fri, 04 Oct 2019 20:57:44 -0400 by elfyn

Networks, processes, scripts

Blog assignments 1. What is the OSI seven-tier model? Physical Layer, Data Link Layer, Network Layer, Transport Layer, Session Layer, Representation Layer and Application Layer 2. Are there any terminal modes of switches? What are their functions? Access type ports: can only belong to one VLAN, generally used to connect computer ports. Trunk t ...

Posted on Sun, 25 Aug 2019 05:11:19 -0400 by stefharley

Coding at work

{{# if(d !="" && d != null ) {}} <div class="form-item old-item"> <label for="" class="form-label"> //Old nickname: </label> <div class="form-input"> <span class="ol ...

Posted on Fri, 09 Aug 2019 00:27:01 -0400 by nathanblogs

Using lsof under linux

Welcome to my personal blog website: http://www.yanmin99.com/ Introduction to lsof Lsof (list open files) is a tool for listing open files for the current system. In linux environment, everything exists in the form of files, through which not only conventional data can be accessed, but also network connections and hardware can be accessed. ...

Posted on Fri, 07 Jun 2019 18:19:36 -0400 by prkarpi