Contributions

33 Contributions
  • Question

    Why not install Composer through just apt install composer?

    I am having trouble understanding why there's a detailed article for installing Composer (https://www.digitalocean.com/community/tutorials/how-to-install-and-use-composer-on-ubuntu-18-04) on an Ubuntu server. Cannot C...
    1 By cloudnine DigitalOcean Articles Ubuntu 18.04
  • Question

    Any fix for PHP Remote Code Execution vulnerability?

    I came across the recent exposure of a major remote code execution vulnerability in PHP: https://www.cisecurity.org/advisory/multiple-vulnerabilities-in-php-could-allow-for-arbitrary-code-execution_2018-023/ I am runn...
    Accepted Answer: When looking to patch a vulnerability using official packages it should be noted that distributions like Ubuntu backport fixes to previous versions rather than pushing updates on their LTS releases. For this reason t...
    1 By cloudnine PHP Ubuntu
  • Question

    Securing phpmyadmin with LetsEncrypt SSL?

    This old article on securing phpmyadmin with SSL (https://www.digitalocean.com/community/tutorials/how-to-set-up-ssl-certificates-with-phpmyadmin-on-an-ubuntu-12-04-vps) still does the trick on Ubuntu 14.04 LTS and ab...
    1 By cloudnine Apache Security Ubuntu 16.04
  • Question

    Can't connect to db after streaming a mysqldump over SSH

    I streamed a mysqldump over SSH from one remote server (say, Server A) to another (say, Server B) and the import went through fine and the db on Server B was correctly updated. This is on Ubuntu 14.04 and the MySQL ve...
    1 By cloudnine MySQL Ubuntu
  • Question

    Has anyone managed to get a beanstalk admin console to work?

    I have been trying to get an admin interface working for beanstalk on my Ubuntu 16.04 server. The one I chose was https://github.com/ptrofimov/beanstalk_console which is the most frequently recommended web interface f...
    1 By cloudnine Messaging Ubuntu 16.04
  • Question

    DeflateCompressionLevel and other directives just don't work in Ubuntu 14.04

    I have looked at the mod_deflate tutorial (https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-mod_deflate-on-ubuntu-14-04) and tried to reduce the compression level as instructed midway thro...
    Accepted Answer: Hi @cloudnine From the error Invalid command '\xe2\x80\x8bDeflateMemLevel' it looks like the file contains UTF-8 characters, which I don't think is supported. Try creating a clean ASCII encoded file.
    1 By cloudnine Apache Ubuntu
  • Question

    Block default Apache page on Ubuntu 14.04?

    I have a few web sites running on the same IP in my droplet and just noticed that if I access droplet's IP in the browser, it loads the default Apache page for Ubuntu 14.04. Is there a way to turn prevent this default...
    1 By cloudnine Apache Ubuntu
  • Question

    Block default site from loading on droplet IP?

    I have a few web sites running on the same IP in my droplet and just noticed that if I access droplet's IP in the browser, it loads the default Apache page for Ubuntu 14.04. Is there a way to turn prevent this default...
    1 By cloudnine Apache Ubuntu
  • Answer

    A bit confused about Linux permission settings

    @hansen, yes. At the moment, I see the following in the home directory of each user’s account: root@host:/home/<username># ...
    By cloudnine
  • Question

    A bit confused about Linux permission settings

    It's not clear to me if my linux permission settings are secure or if I am making a mistake. I would be glad if someone chimed in on my setup running Php5-fpm on Ubuntu 14.04: Document root for each virtual host: /ho...
    1 By cloudnine Linux Basics Ubuntu
  • Question

    Why is Apache sending duplicate Vary: Accept Encoding headers?

    We put our Magento site on Sucuri and it is much slower than running it off our own server. Looking further, we notice that Apache is sending two Vary: Accept-Encoding headers and, as per Sucuri support, these duplica...
    1 By cloudnine Apache Ubuntu
  • Question

    Use Postfix instead of Sendmail?

    I have Sendmail installed for relaying web site emails to Google Apps and have been having random problems very often. If I wish to replace it with Postfix, how do I ensure that Sendmail stops permanently and doesn't ...
    1 By cloudnine Messaging Ubuntu
  • Question

    Is it a must to set environment variables in Laravel 5?

    On a droplet, I have created two Linux user accounts and setup Laravel 5 for each of them at the following paths: User account 1 >> Maps to dev.example.com.conf virtualhost>> Maps to dev.example.com, with Laravel inst...
    1 By cloudnine Applications PHP Frameworks Ubuntu
  • Question

    Setting server-wide Umask for directories and files

    For the domains/sites running on my Ubuntu 14.04 server, I had added the Linux user accounts to the www-data group. The document root (public_html) of the individual Linux user accounts that correspond to each web sit...
    1 By cloudnine Linux Basics Ubuntu
  • Question

    How does one make LetsEncrypt secure www subdomain properly?

    Following along the tutorial for securing Apache on Ubuntu 14.04 (https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-14-04), I first created the certificate for the base...
    3 By cloudnine Apache Ubuntu
  • Question

    How does one fix this MySQL zero day vulnerability on Ubuntu 14.04?

    It seems there's a nasty MySQL zero day flaw that needs to be fixed on all servers running MySQL 5.7.13 and below, including MariaDB and PerconaDB: http://seclists.org/oss-sec/2016/q3/481 Does anyone know how to apply...
    1 By cloudnine MySQL Ubuntu
  • Question

    Is a php5-fpm.conf file necessary for running PHP-FPM on Apache?

    I am confused whether creating a php5-fpm.conf file at /etc/apache2/conf-available/php5-fpm.conf is really required to run php-fpm with Apache on Ubuntu 14.04 This answer on D.O (https://www.digitalocean.com/community...
    Accepted Answer: The file name makes no difference. In the Linode guides you are first copying an example file and then modifying it. Apache does not care which file contains these settings but the block with <IfModule mod_fastcgi.c...
    1 By cloudnine PHP Ubuntu
  • Question

    Accidentally deleted /etc/modsecurity

    Hi, I had lots of issues with mod_security blocking my sites on Ubuntu 14.04, so I uninstalled it by running: apt-get remove libapache2-mod-security2 But, this still left the /etc/modsecurity/ folder intact, so I manu...
    1 By cloudnine Security Ubuntu
  • Question

    Why is console access on Digital Ocean so problematic?

    I have been successfully running a Ubuntu 14.04 production server on D.O for nearly six months now. I couldn't be happier with the level of support received from D.O staff and the excellent tutorials that helped me ge...
    1 By cloudnine Networking Ubuntu
  • Answer

    Wordpress: The uploaded file could not be moved to wp-content/uploads/

    It’s most likely a permissions issue. Check out this article, especially the Ubuntu instructions and see if your folders from /…
    By cloudnine