Skip to main content

nginx on RHEL

nginx

Install nginx

$ sudo yum install nginx

Enable nginx service on boot

$ sudo systemctl enable nginx

Start nginx service

$ sudo systemctl start nginx

Check nginx service status

$ sudo systemctl status nginx
nginx: enable, start, and check status

Check nginx version

$ nginx -V
Check nginx version: nginx -V

Check configuration files

$ sudo nginx -t

Reload nginx service

$ sudo nginx -s reload

nginx Cheat Sheet

sudo nginx -s reload
sudo nginx -t
sudo systemctl enable nginx : Enable nginx on start up
sudo systemctl start nginx : Start nginx
sudo systemctl reload nginx : Reload nginx
systemctl status nginx : Check nginx status

nginx in the news

Popular posts from this blog

Viber: Notes

IIS: Delete cached files on server running IIS

Delete cached files on server running IIS When changing css, javascript files, check to delete if IIS still caches old files in the default folder C:\inetpub\temp\IIS Temporary Compressed Files\<sitename>\$^_gzip_D^\ Apply to: IIS 8.5

IBM i: DB2 for i

IBM DB2 for i DB2 for i is a member of IBM’s family of DB2 databases. What makes DB2 for i unique is its integration with the platform, the IBM i operating system and Power Systems. This unique integration means you do less managing of your database, and more building of applications for analytics, mobile, cloud, or day to day operational purposes. DB2 for i’s open standards support allows you to leverage the world of development tools while protecting your investment in legacy applications. Self managing is what DB2 for i is all about ! Let's ST a R t SQL  with STRSQL command. Query all databases SELECT DISTINCT table_schema FROM systables Query returns list of all databases