Prohibiting swap when there is still free RAM, swappiness parameter in Ubuntu
Consider setting up swap if there is enough RAM available. The effect of the swappiness parameter on the aggressiveness of swap file usage.
Installing composer requires curl and php installed. If these packages are not installed, the installation will fail.
In my case
php 5.6 :
sudo apt-get install php5.6 php5.6-cli
curl 7.35.0 :
sudo apt-get install curl
Let's start installing the composer itself.
Run the following query in the console :
curl -S https://getcomposer.org/installer | sudo -H php -- --install-dir=/usr/local/bin --filename=composer
-S is a flag to display errors if they occur.
-H is a flag specifying the user's sudo HOME directory.
After the installation is complete, check the version :
composer -V
in my case Composer version 1.6.5 2018-05-04 11:44:59
More detailed information
Consider setting up swap if there is enough RAM available. The effect of the swappiness parameter on the aggressiveness of swap file usage.
Let's consider the possibility of changing the parameters of the configuration file (php.ini) on a hosting that does not have the ability to configure the Cron scheduler (cli) from the panel.
Configuring Apache for high volume Cookies. Let's analyze the error "Bad Request. Your browser sent a request that this server could not understand. Size of a request header field exceeds server limit." and options to configure the server.
Let's try to cure the black screen when booting Ubuntu after installing proprietary nvidia-340 driver on Nvidia 630M laptop.
When USB 2.0-3.0 stopped working after updating Ubuntu on a laptop.