• How to configure software collections source on CentOS


    Red Hat Enterprise Linux (RHEL) and Its Community Edition branch, CentOS, provide a 10-year life cycle, which means that each version of RHEL / CentOS will provide up to 10 years of security updates. Although such a long life cycle provides enterprise users with much-needed system compatibility and reliability, there is also a drawback: as […]

  • Method of replacing software update source for RHEL system


    RHEL5. X replace update source Copy code The code is as follows: cd /etc/yum.repos.dwget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repomv CentOS-Base.repo rhel-debuginfo.reporpm –import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 Rhel6.1 replacement update source1. Remove yum Copy code The code is as follows: rpm -aq|grep yum|xargs rpm -e –nodeps 2. Download yum Copy code The code is as follows: wget http://mirrors.163.com/centos/6.2/os/x86_64/Packages/python-iniparse-0.3.1-2.1.el6.noarch.rpmwget http://mirrors.163.com/centos/6.2/os/x86_64/Packages/yum-3.2.29-22.el6.centos.noarch.rpmwget http://mirrors.163.com/centos/6.2/os/x86_64/Packages/yum-metadata-parser-1.1.2-16.el6.x86_64.rpmwget http://mirrors.163.com/centos/6.2/os/x86_64/Packages/yum-plugin-fastestmirror-1.1.30-10.el6.noarch.rpm 3. Install […]

  • Method of Yum update source in RHEL system recovery installation CD


    Install CD local Yum update sourceMount the installation CD: Copy code The code is as follows: mount /dev/cdrom /mntvi /etc/yum.repos.d/local.repo Modify the local update source file and add the content: Copy code The code is as follows: [HightAvailability] name=HightAvailability baseurl=file:///mnt/HighAvailability enable=1 gpgcheck=0 Copy code The code is as follows: [LoadBalancer] name=LoadBalancer baseurl=file:///mnt/LoadBalancer enable=1 gpgcheck=0 Copy […]

  • What if MacOS 10.13 allows any source to go? Mac OS 10.13 allows any source to be turned off


    After upgrading the MacOS 10.13 system, users will fail to open some application files. At the same time, users will be prompted that the application files “come from unidentified developers”. At this time, we need to open “any source” in “Settings” – Security and privacy “to solve this problem. However, this option is not available […]

  • Apple mobile phone resolution


    Source: https://www.paintcodeapp.com/

  • Accelerate everything – configure domestic images – Ubuntu, Debian, CentOS, brew, docker, maven, NPM, ruby


    This article only lists a part, if you need other images, you can refer to the following links. Common stable source Aliyuan: https://developer.aliyun.com/mirror/ Tsinghua source: https://mirrors.tuna.tsinghua.edu.cn/ Huawei source: https://mirrors.huaweicloud.com/ China University of science and technology http://mirrors.ustc.edu.cn/ Netease source: http://mirrors.163.com/ Ubuntu /etc/apt/sources.list Image source Aliyuan: https://developer.aliyun.com/mirror/ubuntu Tsinghua source: https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/ Huawei source: https://mirrors.huaweicloud.com/ Ubuntu 14.04 LTS Aliyuan […]

  • How to use java source to call external programs in Oracle


    demand Oracle calls a third-party external program. Oracle uses sqluldr2 to export a large number of data quickly, and then uses WinRAR to compress and send mail. Source code java source create or replace and compile java source named jv_run_extpro as import java.io.*; import java.lang.*; import java.util.*; import java.sql.*; import oracle.sql.*; publicclass jv_run_extpro { publicstaticvoid […]

  • Django project solves cross domain problems


    django-cors-headers Official documents: https://pypi.org/project/djan… requirement Support for Python 3.5 – 3.8 Support Django 1.11 – 3.0 install pip install django-cors-headers In the project’ssettings.pyFile configuration Register applications INSTALLED_APPS = [ … ‘corsheaders’ , … ] Registration Middleware MIDDLEWARE = [ … ‘ corsheaders.middleware.CorsMiddleware , register Middleware ‘django.middleware.common.CommonMiddleware’ , … ] Set allowed sources #Allow all sources […]

  • (2) SQL Server export function


    1. Preface Sometimes, we need to export some or all of the data from table A1 of database a to table B1 of database B. if the system operation and maintenance engineer fails to connect the two databases, the following errors will occur when we execute T-SQL to process data import: At this time, the […]

  • Idea add mybatis mapper.xml Template (with mybatis official template code)


    Open Settings Mac: Preferences Windows: File -> Settings As follows: Template content: <?xml version=”1.0″ encoding=”UTF-8″?> <!DOCTYPE mapper PUBLIC “-//mybatis.org//DTD Mapper 3.0//EN” “http://mybatis.org/dtd/mybatis-3-mapper.dtd”> <mapper namespace=””> </mapper> Template source: official document of mybatis3( https://mybatis.org/mybatis-3… ) Template added successfully:

  • Turn.js Realize the effect of turning books (adaptive single and double page)


    Source: https://www.cnblogs.com/hellman/p/10683492.htmlAdd page number display on the basis of the above source, adaptive single and double pagePC side effect: Mobile display: Source code download address: http://www.luanxin.top/index.php/archives/7/

  • [praise! 】A collection of IOS online materials


    Source: https://github.com/kechengsou… I found a good IOS data collection (Qu á n). There are a lot of data, which is better than the data collection I saw before. The typesetting is relatively clear. There are also PDF versions to download and HTML versions to use. However, it seems that the project has just started (I […]