Home   >   Category: Linux
December

You need to configure both nginx and php to allow upload size. Nginx configuration The client_max_body_size directive assigns the maximum accepted body size of client request, indicated by the line Content-Length in the header of request. If size is greater the given one, then the client gets the error “Request Entity Too Large” (413). To […]

Read More
December

This tutorial will be showing you how to set up and run your own authoritative name server on Ubuntu 18.04/16.04 with the widely-used BIND 9 software. What’s An Authoritative DNS Server? If you own a domain name and want your own DNS server to handle name resolution for your domain name instead of using your domain registrar’s […]

Read More
December

First of all, open up your ~/.bashrc file and enable color prompts: uncomment then line #force_color_prompt=yes Then, change the PS1 line directly under the line if [ "$color_prompt" = yes ]; then to: PS1='${debian_chroot:+($debian_chroot)}\[\033[00;32m\][\t] \[\033[01;34m\]\u@\h:\w\$ ' As you can see, 01:34m is light blue and 00:32m is green. Light green would be 01:32m instead of […]

Read More