Tag:linux

  • Ubuntu crontab timing task

    Time:2019-8-24

    Cron This command is installed and started by default Preparation: – Crontab’s service program under Ubuntu is cron, and the default log of cron service is not available. We must start it manually. – Command: sudo vim/etc/rsyslog.d/50-default.conf – Find the line cron. * and remove the comment, / var / log / cron. log – […]

  • Using sigprocmask and sigpending to capture and process signals in the program body

    Time:2019-8-24

    Recently trying to useepollWrite a similarlibeventThe library. So, how to add the observation of signal events in event loop like libevent?I checked the information. One possible way is to use it.sigprocmask()And related functions have been realized. But please note that this method is defective. Please look out to the officials.After further research, the individual does […]

  • Method of Modifying Oracle Sniffer Address under Linux

    Time:2019-8-24

    Lisenter. ora directory in /opt/oracle/11g/network/admin LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.111.123)(PORT = 1521)) ) ) ADR_BASE_LISTENER = /opt/oracle tnsnames.ora ORCL = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.111.123)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl) ) […]

  • Detailed Explanation of Reading and Writing Process for Linux Block Devices

    Time:2019-8-24

    When learning the principle of block devices, I most concern the data flow of block devices. Starting with the application calling Read or Write, how does the data flow and process in the kernel? Then how do you get to the specific physical equipment? The following is an analysis of the data flow of a […]

  • Distributed File Storage FastDFS

    Time:2019-8-23

    I. Brief Introduction of Concepts FastDFSDeveloped by Yu Qing, senior architect of Taobao Development Platform Department, it is a lightweight, high-performance open source.distributed file systemDistributed File System, which is developed in pure C language, includes file storage, file synchronization, file access (upload, download), load balancing, online expansion, and storage of the same content only one […]

  • Preview of the New Book “The Gate of Full Stack Data”

    Time:2019-8-23

    Finally, I can give you all the relatives and friends who care about “The Gate of Data on the Whole Stack” a confession! After more than three months of editing and typesetting, the final edition has been completed. After New Year’s Day, when you come back after eating, drinking and playing, you can start printing. […]

  • Compiling Hadoop under Ubuntu

    Time:2019-8-23

    Compile Hadoop-2.9.2 under Ubuntu System Environment System: ubuntu-18.10-desktop-amd64 maven: Apache Maven 3.6.0 jdk: jdk_1.8.0_201 ProtocolBuffer: portoc-2.5.0 OpenSSL: OpenSSL 1.1.1 cmake: cmake3.12.1 hadoop: hadoop-2.9.2 Installation environment # Install various required dependency Libraries $ sudo apt-get install autoconf automake libtool zlib1g-dev pkg-config libssl-dev libsnappy-dev libbz2-dev # Install ssh-server $ sudo apt-get install ssh-server # Install OpenSSL $ […]

  • Talk about Python’s built-in battery

    Time:2019-8-23

    This article was originally published in the Public Number.【Python Cat】 Do not reproduce without authorization. Original address: https://mp.weixin.qqq.com/s/XzCqoCvcpFJt4A-E4WMqaA (1) Recently, I suddenly thought of a question:What concepts or idioms are unique to Python compared to other languages? After asking this question in the circle of friends, I got the most responses.——Pythonic。 This reply is not […]

  • Install and configure redis 3.0.7 on Linux virtual machine

    Time:2019-8-23

    We will give you a detailed list of graphic steps to teach you how to install redis on the Linux virtual machine and the related configuration process. Upload redis-3.0.7.tar.gz to the Linux virtual machine for compilation: (a) Because redis is developed in C language, it needs to be compiled first. Compiling on Linux depends on […]

  • Talking about the free command in Linux and some useful options

    Time:2019-8-23

    A major challenge for Linux system administrators is how to maintain the system in good operation without any downtime. Managing memory usage is another challenging task for Linux administrators. Free is a standard and widely used command in Linux that is used to analyze memory statistics (idle and used). Today, we’re going to talk about […]

  • The binutils toolkit under Linux

    Time:2019-8-22

    I. Overview Binutils is a set of binary tools for GNU. Tools include:addr2line、ar、as、c++filt、dlltool、gold、gprof、ld、nlmconv、nm、objcopy、objdump、ranlib、readelf、size、strings、strip、windmc、windres。 Instrumentation 1、addr2lineConvert program address to file name and line number 2、arTools for creating, modifying, and extracting archives 3、asGNU assembler 4、c++filtA filtering tool for demangle operation of coded C++ symbols 5、dlltoolTools for creating and using DLL 6、goldAn updated and faster ELF (ELF format […]

  • VIM operation skills

    Time:2019-8-22

    This article is from https://shenyifengtk.github.io.Reprinted please indicate the source I have been using VIM for some time before I know it, so I can really master the skills of using vim. I can’t remember why I learned to use this editor or how I learned to edit files. I just remember that I didn’t quit […]