Tag:Hard disk

  • Docker learning environment (I) prepare to install centos7


    Preface Docker is an open source application container engine, which allows developers to package their applications and dependency packages into a portable image, and then publish them to any popular Linux or windows machine, or realize virtualization. Containers are completely sandboxed and have no interface with each other. In this series of articles, we take […]

  • Why is Kafka so fast?


    This article is from www.cnblogs.com/binyu/p/10308754.html By Bing Yue Kafka’s messages are stored or cached on the disk. It is generally believed that reading and writing data on the disk will reduce performance, because addressing will consume more time, but in fact, one of Kafka’s characteristics is high throughput. Even for ordinary servers, Kafka can easily […]

  • Ubuntu 16.10 migration to SSD


    tags: Linux OS GRUB Hard disk partition background In 2016, we started a 500g SSD (solid state drive) on the 11th day of 2016, and planned to install it on our own notebook. Notebook HDD (hard disk drive) has run Ubuntu 16.10 + win10 dual system. The hard disk bracket of the optical drive is […]

  • Simulation test: centos-raid10 and RAID5 configuration


    Simulation test: centos-raid10 and RAID5 configuration Step 1: add another 4 hard disks to the virtual machine If, add 4 hard disks of the same size and type Step 2: install the mdadm command As shown in the figure, it is found that the mdadm command is not available in CentOS, and then theyum search […]

  • How to deal with the problem of computer hard disk overload


    Reduce hard disk loadThe first step is to stop unnecessary applications in the computer, press “Win + R” key to open and run, and enter “services. MSc” in the input box Step 2: click OK. After entering the service, find the “windows search” service, as shown in the following figure: Step 3: double click in […]

  • The high-performance cache server nuster v3.1.0.19 is released, which supports hard disk persistence, cache file clearing, etc


    Nuster is a high-performance HTTP cache server and restful NoSQL cache server based on haproxy. It can be used as either a HTTP cache server like varnish or nginx to cache dynamic or static HTTP resources, or a restful NoSQL cache server to add / get / delete key / value with HTTP post / […]

  • Gdisk to fdisk


    During partition test, it is found that after gdisk partition is used, fdisk cannot be used for partition, even if it is formatted. When fdisk is used to view the hard disk, it is found that the hard disk has become a GPT partition and cannot be partitioned through fdisk. Therefore, GPT partition should be […]

  • Kafka low delay principle


                                        Q  Do you want to use it instead of other similar components? In Kafka’s study, there will be such a question. Following this logic, we may have two ideas. First, what is Kafka? Second, the advantages of Kafka? With these two concepts, we can solve the problem of why we should use it instead of […]

  • Notes on November


    Knowledge acquisition (understanding concept) – > knowledge learning (modeling) – > skill training (practice) Git common commands Git tag – a V1.3.1 – M “version V1.3.1 2019-6-20 OK” creates a local version of v20180817, and adds the annotation information version 20180817, but at present this label is only submitted to the local git warehouse Git […]

  • Using Speedtest cli to measure network speed in Linux


    [[email protected] you-get]# wget https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py –2019-10-22 05:15:00– https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py Resolving raw.githubusercontent.com (raw.githubusercontent.com)… Connecting to raw.githubusercontent.com (raw.githubusercontent.com)||:443… connected. HTTP request sent, awaiting response… 200 OK Length: 65018 (63K) [text/plain] Saving to: ‘speedtest.py’ 100%[=================================================================================================================================>] 65,018 –.-K/s in 0.003s 2019-10-22 05:15:00 (22.9 MB/s) – ‘speedtest.py’ saved [65018/65018] [[email protected] you-get]# chmod +x ./speedtest.py [[email protected] you-get]# ./speedtest.py Retrieving speedtest.net configuration… Testing […]

  • An example of JNDI used to find datasource in JDBC in Java


    [study notes] 8. Example of JNDI used to find datasource: import javax.naming.InitialContext;import javax.naming.Context; import com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource; import java.util.Properties;import net.sourceforge.jtds.jdbcx.*;public class ClassPut {        public static void main(String a[]) {                try {/*                  JtdsDataSource dataSource=new  JtdsDataSource();                        dataSource.setServerName(“localhost”);                        dataSource.setDatabaseName(“NorthWind”);                        dataSource.setUser(“sa”);                        dataSource.setPassword(“1234”);*/                    MysqlConnectionPoolDataSource ds = new MysqlConnectionPoolDataSource();                    ds.setURL(“jdbc:mysql://localhost:3306/test”);                    ds.setUser(“root”);                    ds.setPassword(“1234”);                                                                                              Properties prop = new Properties();                        prop.setProperty(Context.INITIAL_CONTEXT_FACTORY,                                        “com.sun.jndi.fscontext.RefFSContextFactory”);                         Context […]

  • [Linux] mount device to directory using mount


    In general, the direct mount device path directory path is OK. Umount device name, you can uninstall this deviceUse lsblk – F to view the attached devices and their file systems. [email protected]:/boot# lsblk -f NAME FSTYPE LABEL UUID MOUNTPOINT sda ├─sda1 ├─sda2 vfat SYSTEM_DRV B467-E8A8 ├─sda3 ├─sda4 ntfs Windows8_OS 8A461C98461C875B /media/tao/Windows8_OS ├─sda5 ext4 e297ae56-7c17-48ea-aac5-f26c1e5cad84 / […]