By editor , 17 January, 2024 Tips for Docker Tags docker Linux How to run commands as root / sudo user in a docker container ?Example : connect as root user (where php is the container name)docker-compose exec --user=root php bash
By editor , 26 July, 2023 Install Docker on Linux Mint Tags Linux docker Install Docker on Linux Mint 20.3 1. Update the apt package index and install packages to allow apt to use a repository over HTTPS: sudo apt-get update sudo apt-get install ca-certificates curl gnupg
By editor , 8 July, 2023 Install PHP 8.1 Tags Drupal 10 Linux Server PHP Example for Debian: Enable sury/php repository apt-get install php8.1-{cgi,cli,fpm,pdo,gd,mbstring,mysqlnd,opcache,curl,xml,zip} Install additional PHP packages apt-get install php8.1-{cgi,cli,fpm,pdo,gd,mbstring,mysqlnd,opcache,curl,xml,zip}
By editor , 8 March, 2021 Convert M4A, OGG or OPUS audio file in to MP3 on linux Tags Shell Linux Audio Convert OGG to MP3ffmpeg -v 5 -y -i file.m4a -acodec libmp3lame -ac 2 -ab 192k file.mp3Convert M4A to MP3ffmpeg -i file.ogg file.mp3#Orffmpeg -i file.{ogg,mp3}
By editor , 21 January, 2021 Create a shortcut for drush Tags Drush 10 Linux Method 1 : Install and run drush as described in this article This is the recommended method Method 2 : Create a shortcut on ~/.local/bin
By editor , 21 January, 2021 Linux local and common bin folders (environnement path) Tags Linux Shell Local bin folders $HOME/.local/bin (~/.local/bin) $HOME/bin (~/bin) Add to path manually PATH=$PATH:$HOME/.local/bin:$HOME/bin export PATH User specific environment and startup programs
By editor , 9 August, 2020 Install PHP 7.3 on Linux Tags Server Linux Install Apache 2 server sudo apt install apache2 Install MySQL Server sudo apt install mysql-server
By editor , 23 April, 2020 Test disk read write speed on linux CLI Tags Linux Shell Test Disk Write Performance With dd Command dd is a basic command une in all linux distributions to copy data. You can also use this feature to test dis performance.
By editor , 13 June, 2018 Connect to a PPTP VPN Server from Linux Terminal Tags Linux Services Step 1 : Install pptp client. sudo apt-get -y install pptp-linux Step 2 : Setup PPTP Client Add secret: File : /etc/ppp/chap-secrets You can use: sudo nano /etc/ppp/chap-secrets