Setup User Account SysAdmin Devops LEMP Ubuntu Debian 1 minute to read (138 words) () Overview Create New User Account Grant NGINX Read Permissions Setup Custom Bash Prompt PS1 Setup Directory Create New User Account $ sudo useradd -m -s /bin/bash mitesh $ sudo chmod 750 /home/mitesh Grant NGINX Read Permissions $ sudo usermod -G mitesh www-data Setup Custom Bash Prompt PS1 $ sudo echo 'PS1="\`if [ \$? = 0 ]; then echo \[\e[37m\]^_^[\u@\H:\w]\\$ \[\e[0m\]; else echo \[\e[31m\]O_O[\u@\H:\w]\\$ \[\e[0m\]; fi\`"' >> /home/mitesh/.bashrc Setup Directory $ su - mitesh $ mkdir -p /home/mitesh/vhosts/{htdocs,ssl,conf,logs} Email Address Post Navigation LEMP Stack - Conventions & File System Layout Install & Setup NGINX PageSpeed