Recognition

Posts

2065 Posts
  • Published Answer

    Spaces is currently timing out, intermittently

    Hi there @michaelbMantaRay, I can see that there were some issues with spaces reported on the status page which have been resolv…
    By bobbyiliev
  • Published Answer

    Getting my API domain to be HTTPS

    Hi there, What I could suggest is using Nginx as a reverse proxy for your Flask application. That way you will be able to add a …
    By bobbyiliev
  • Published Answer

    Core BlockChain Development

    Hello, What I could suggest in this case is starting with a CMS like WordPress. It is free and opensource and you don’t really n…
    Accepted Answer: Hello, What I could suggest in this case is starting with a CMS like WordPress. It is free and opensource and you don’t really n…
    By bobbyiliev
  • Published Answer

    npm cmd on vsCode open outside the terminal

    Hi there @X0, As far as I can see you are getting an npm error saying that you can not use capital letters in your project nam…
    By bobbyiliev
  • Published Answer

    Issue emitting socket.io messages on Ubuntu droplet

    Hi there @ollisami, The configuration actually looks correct. Do you see any errors in your logs? I could suggest starting wi…
    By bobbyiliev
  • Published Answer

    Bitcoin full node with Spaces

    Hi there @corpClam, I believe that it is better to stick to Block storage as it provides low latency IO. For more information…
    By bobbyiliev
  • Published Answer

    Marketplace install of WordPress

    Hi there @asocialcontract, You can create new Droplets with the available images from the Marketplace. In case you want to in…
    By bobbyiliev
  • Published Answer

    Changing account password

    Hey @lousaint, Are you trying to change the root password of your server or the password for your DigitalOcean account? In …
    By bobbyiliev
  • Published Answer

    Domain not working - This site cannot be reached

    Hi there @roy4321, I can see that both of your www and non-www versions are now working as expected. Note that usually when m…
    By bobbyiliev
  • Published Answer

    how to configure my droplet to host multiple applications

    Hi there @gdliu, What I could suggest is using Nginx. That way, you could create separate Nginx Server Blocks for each of your w…
    By bobbyiliev
  • Published Answer

    One-Click Docker Droplet

    Hi there @Strobboscope, A quick way to solve that problem would be to do the following: Take a snapshot of your existing Dr…
    By bobbyiliev
  • Published Answer

    How to fix: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) on Ubuntu - version = 20.04.1 LTS

    Hi there @ahsanharoonScubaDiver, I would recommend checking if MySQL is up and running: sudo systemctl statu...
    By bobbyiliev
  • Published Answer

    How to convert Unix timestamps to human readable date format in Bash?

    In order to convert a Unix timestamp to a human-readable date format, you can use the date command with a -d flag followed by t…
    Accepted Answer: In order to convert a Unix timestamp to a human-readable date format, you can use the date command with a -d flag followed by t…
    By bobbyiliev
  • Published Question

    How to convert Unix timestamps to human readable date format in Bash?

    I recently got asked how to convert Unix timestamps to human readable date format in Bash. Here is an example of how to generate a Unix timestamp using the date command: bash date +%s This will output a long string ...
    Accepted Answer: In order to convert a Unix timestamp to a human-readable date format, you can use the date command with a -d flag followed by the timestamp with a @ prefix. So if we run the command from above to generate a new timest...
    1 By bobbyiliev Linux Basics Linux Commands Ubuntu CentOS
  • Published Answer

    How to check if a variable is empty in a bash script?

    The quick answer on how to check if a variable is empty in Bash is to use the following expression: [[ -z ${string} ]] ...
    Accepted Answer: The quick answer on how to check if a variable is empty in Bash is to use the following expression: [[ -z ${string} ]] ...
    By bobbyiliev
  • Published Question

    How to check if a variable is empty in a bash script?

    I recently got asked how to check if a variable is empty in a Bash script. Here is an example script, where we expect the user to enter a value when asked to do so: ```bash !/bin/bash echo "Enter your name: " read nam...
    Accepted Answer: The quick answer on how to check if a variable is empty in Bash is to use the following expression: bash [[ -z ${string} ]] If we take the example from above, you can then use this in an if statement as follows: ```b...
    1 By bobbyiliev Linux Basics Linux Commands Ubuntu CentOS
  • Published Answer

    Is the phone app in Google safe to be used?

    Hi there @dasguptapiyali53, It is actually an open-source application and you could review the code on GitHub directly in case t…
    By bobbyiliev
  • Published Answer

    Add a sub domain and create a separate virtual host through code

    Hi there @deevannaveed, If you have a cPanel server, then what you could do is use the cPanel/WHM API to create new accounts for…
    By bobbyiliev
  • Published Answer

    Multiple node apps for multiple subdomains

    Hi there @mrblot, What you would need to do is create another Nginx server block with the following content: server...
    By bobbyiliev
  • Published Answer

    Installing the Apache Web Server on Ubuntu 20.04

    Hi there @millerfuresh, What I could suggest is setting the remote directory to /var/www/ instead of `/var/www/html/millerfure…
    Accepted Answer: Hi there @millerfuresh, What I could suggest is setting the remote directory to /var/www/ instead of `/var/www/html/millerfure…
    By bobbyiliev