Home / Archive for Albert / Page 11

Author: Albert

Nvidia CUDA

How to install NVIDIA Tesla drivers on Linux

This section includes instructions for installing the NVIDIA driver on CentOS 8 using the package manager. Install additional dependencies that are required for installing the NVIDIA drivers. # dnf install -y tar bzip2 make automake gcc gcc-c++ pciutils elfutils-libelf-devel libglvnd-devel Enable the PowerTools repo and set up the external dependency on EPEL for DKMS. #dnf …

Read more

nginx

Nginx: Resolver does not refresh after DNS update

Use a variable for the domain name; this way allows you to customize how frequently NGINX recursively resolves the domain name. resolver 10.0.0.4 valid=20s; server {location / {set $backend_servers backend.seimaxim.com;proxy_pass http://$backend_servers:8080;}} When a variable is used in the proxy_pass directive to define the domain name, NGINX reresolves the domain name when the TTL expires. To …

Read more

oscp stapling

How should I configure OCSP Stapling in NGINX

OCSP is a feature that helps clients avoid exposing request information to OCSP servers and reduces the performance cost of OCSP validation by clients. The TLS Certificate Status Request extension is a standard for checking the revocation status of X.509 digital certificates. It is formally known as the Online Certificate Status Protocol (OCSP) stapling. It …

Read more

nginx

How to force redirection from HTTP to HTTPS in NGINX

To redirect in NGINX, you only require the return directive and the 301 (Moved Permanently) status. Redirecting HTTP to HTTPS per domain server {listen 80;server_name yourdomain.com www.yourdomain.com;return 301 https://yourdomain.com$request_uri;} Redirect any domain from HTTP to HTTPS. server {listen 80 default_server;listen [::]:80 default_server;server_name _;return 301 https://$host$request_uri;} Redirecting to a different domain: server {listen 80;server_name yourdomain.com;return 301 …

Read more

Shared Hosting

Shared Hosting – Getting Started

We’d like to congratulate you on starting your internet presence, and we’re grateful that you chose SeiMaxim to assist you. It may take up to 30 minutes (or longer in exceptional cases) for your hosting account to become operational after you place your order. We provide you with the ability to connect to your SeiMaxim …

Read more

nginx

How to enable HSTS (HTTP Strict Transport Security) in Nginx?

In NGINX, configure the Strict Transport Security (STS) response header by adding the following directive in nginx.conf file. add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always; add_header directives are inherited by NGINX configuration blocks from their enclosing blocks, so the add_header directive only needs to be in the top-level server block. There is one important exception: if a …

Read more

system time

How to audit system time changes?

It’s critical to keep track of the system’s time. System time changes can be caused by a faulty program, hypervisor time injection, or a bad operation. The auditd service can be used to keep track of all events that cause the system time to change. Check to see if the auditd service is up and …

Read more

lvm vg lv

How to decrease /home and increase / on the same VG

Examine the current filesystem size. # df -h Check to see if any processes are using /home, then umount it and double-check. # umount /home# df -h Reduce the size of the /home filesystem. The below command will remove free space from the filesystem. # e2fsck -f /dev/mapper/vg_01-lv_home# resize2fs /dev/mapper/vg_01-lv_home 1G Now reduce /home with …

Read more

AI

How AI is Used by Researchers to Help Mitigate Misinformation?

Researchers tackling the challenge of visual misinformation — think the TikTok video of Tom Cruise supposedly golfing in Italy during the pandemic — must continuously advance their tools to identify AI-generated images. NVIDIA is furthering this effort by collaborating with researchers to develop and test detector algorithms on our state-of-the-art image-generation models. Crafting a dataset …

Read more

rtx a6000

NVIDIA RTX A6000 Graphics Card For Visual Computing

Extreme Performance Built on the NVIDIA Ampere architecture, the NVIDIA RTX A6000 gives designers, engineers, scientists, and artists everything they need to meet the most graphics- and compute-intensive workflows. The RTX A6000 features the latest generation of RT Cores, Tensor Cores, and CUDA® cores, resulting in unrivaled rendering, AI, graphics, and compute performance. NVIDIA RTX is …

Read more

lvm disk

lvextend –resize do not resize ext4 filesystem

After running ‘lvextend’ with the ‘-r’ option as below. # lvextend -L <size> -r -v /path/of/logical-volume Instead of manually doing’resize2fs’ after performing the above lvextend command, the ext4 filesystem should Auto-resize itself. But instead, tune2fs shows the following output. # tune2fs -l /name/of/logical-volume tune2fs 1.38 (11-Aug-2007) tune2fs: Filesystem has unsupported feature(s) while trying to open …

Read more

apache chroot

How to chroot HTTPD configuration & installation

A chroot HTTPD setup creates a separate disk root directory for the Apache and its child processes, preventing attackers or other php/perl/python scripts from accessing or naming files outside of that directory. For Apache/HTTPD, this is known as a chroot jail. For Apache installation, create a base/root directory of your choice. The Apache chroot installation …

Read more