Top

Tags: Linux InstallGuide Django Web-frontend Python Storage Docker HPC Bootstrap k8s

Compile and Install Python 3.8

Dec 11, 2020 | 950 views

#Linux #InstallGuide

Install Python 3.8 refer to:

How to Build Python From Source Code



wget https://www.python.org/ftp/python/3.8.4/Python-3.8.4.tgz

# For apt-based systems (like Debian, Ubuntu, and Mint)
$ sudo apt-get install -y make build-essential libssl-dev zlib1g-dev \
       libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm \
       libncurses5-dev libncursesw5-dev xz-utils tk-dev

# For yum-based systems (like CentOS)
$ sudo yum -y groupinstall "Development Tools"
$ sudo yum -y install gcc openssl-devel bzip2-devel libffi-devel

$ tar xvf Python-3.8.4.tgz
$ cd Python-3.8.4

$ ./configure --enable-optimizations --with-ensurepip=install

$ make -j 8

$ sudo make altinstall

$ python3.8 --version
Python 3.8.4

# To run the test suite, type the following command:
$ python3.8 -m test


Comments: 0

Lustre Administration

Dec 01, 2020 | 844 views

#Linux #Storage


About Storage Controller or RAID Controller (refer to below [5] of its page 11)

"Note that in the case where there is no cache-mirroring link between the controllers, the cache on the controllers must be disabled entirely to ensure that the file system does not become corrupted in the event of a controller failure."


Reference:

  1. Getting Started With Lustre 
  2. Official Manual 
  3. Lustre 101 and Lustre Administration Essentials 
  4. A Performance Study of Lustre File SystemChecker: Bottlenecks and Potentials
  5. Intel - Architecting a High Performance
  6. TOREAD Inside The Lustre File System 
  7. TOREAD A Performance Study of Lustre File SystemChecker: Bottlenecks and Potentials 
    Storage System


    Lustre with LDISKFS vs ZFS:


    Comments: 0

    Install/Remove X Desktop System

    Nov 25, 2020 | 792 views

    #Linux #InstallGuide

    Refer to 

    Comments: 0

    How to install miniconda and using environment

    Nov 25, 2020 | 952 views

    #Linux #InstallGuide


    Refer to:

    For example,

    conda create --name qgis_stable

    To use an environment, you need to activate it.

    conda activate qgis_stable

    Your terminal prompt will show you the active environment.

    (qgis_stable) aneto@oryx:~/miniconda3$

    To deactivate the current environment, you run

    conda deactivate

    Comments: 0

    Issue: alternative glibc version causes problem (version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2)

    Nov 25, 2020 | 933 views

    #Linux

    Problem describe and analysis:


    Refer to:


    Comments: 0

    Issue: su user core dumped PAM unable to dlopen

    Nov 24, 2020 | 625 views

    #Linux

    Issue: su user core dumped PAM unable to dlopen (/lib64/security/pam_fprintd.so)

    Solution:

     authconfig --disablefingerprint --update 
    PAM unable to dlopen(/lib64/security/pam_fprintd.so)

    Comments: 0

    Ubuntu issues

    Nov 16, 2020 | 642 views

    #Linux


    Comments: 0

    Using Fail2ban To Secure SSHD Service

    Nov 15, 2020 | 664 views

    #Linux


    Refer to 


    If you set a longer ban duration (like several hours), but want to allow an IP address to make another connection request sooner, you can parole it early.

    We type the following to do this:

    sudo fail2ban-client set sshd unbanip 192.168.5.25

    Comments: 0

    LVM Can't read superblock

    Nov 24, 2020 | 674 views

    #Linux

    Refer to Can't read superblock : mounting error /dev/sda6 

    Comments: 0