How to Install Nginx on Centos 8
- Read more about How to Install Nginx on Centos 8
- Log in to post comments
- List available Nginx Version
[root@testsvr01 ~]# yum module list nginx
Topics Based on Linux related articles
[root@testsvr01 ~]# yum module list nginx
[root@pythonsvr01 ~]# vi /etc/systemd/system/flaskapp.service
[Unit]
Description=Flask Python Application Container
After=network.target
[Service]
Type=idle
Environment=CONFIGURATION_SETUP=config.ProductionConfig
Environment=FLASK_ENV=production
ExecStart=/bin/bash -c '/usr/bin/python3.6 /opt/flaskapp/app.py'
ExecStop=/bin/kill -15 $MAINPID
This step should have been completed upon the installation of Drupal 8 for getting PHPMailer function
Install Composer
# curl -sS https://getcomposer.org/installer | php
Move Composer binary to usr bin path
# mv composer.phar /usr/bin/composer
Check Composer Version
# composer --version
Go to Drupal root Directory and execute
Drupal Installation Directory - /var/www/html
[root@testsvr01 ~]# yum module list php
[root@testsvr01 ~]# yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
[root@testsvr01 ~]# yum -y install yum-utils
root@testsvr01 ~]# yum-config-manager --enable remi-php81
[root@testsvr01 ~]# yum install php -y
[root@testsvr01 ~]# php -v
PHP 7.4.33 (cli) (built: Oct 31 2022 10:36:05) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.33, Copyright (c), by Zend Technologies
[root@testsvr01 yum.repos.d]# yum -y install yum-utils
[root@testsvr01 ~]# yum install banner -y
[root@testsvr01 ~]# banner learnstowin
[root@testsvr01~]# dd if=/dev/zero of=/tmp/temp.img bs=2G count=1 oflag=dsync status=progress
2147479552 bytes (2.1 GB) copied, 3.478083 s, 617 MB/s
0+1 records in
0+1 records out
2147479552 bytes (2.1 GB) copied, 3.4785 s, 617 MB/s
[root@testsvr01~]#
[root@testsvr01 ~]# useradd sysadmin -G wheel
[root@testsvr01 ~]# usermod -aG wheel sysadmin
[root@testserver01 opt ]# sed -i 's/find_pattern/replace_pattern/g' /opt/filename
[root@testserver01 opt ]# sed -i 's/find_pattern/replace_pattern/g' /opt/*.filetype