This tutorial explains the procedure to upgrade Debian 8 (jessie) to Debian 9 (stretch) in a few simple steps.
Continue reading “How to upgrade Debian 8 (jessie) to 9 (stretch) safely”
This tutorial explains the procedure to upgrade Debian 8 (jessie) to Debian 9 (stretch) in a few simple steps.
Continue reading “How to upgrade Debian 8 (jessie) to 9 (stretch) safely”
Hi,
I get the following error when running
cd /usr/local/directadmin/custombuild ./build clean ./build update ./build versions ./build update_versions
Try to execute these commands and the problem should be resolved.
cd /usr/local/directadmin/custombuild ./build update ./build set exim yes ./build set eximconf yes ./build set eximconf_release 4.5 ./build set spamassassin yes ./build update ./build exim ./build exim_conf
docker-compose is a tool for defining and running multi-container Docker applications.
Continue reading “Certbot certificate verification through nginx container”
This blog post is an introduction to devs who want to start using Docker with Symfony4. It will guide you through creating a Symfony 4 project running on Docker.
Continue reading “The perfect kit starter for a Symfony 4 project with Docker and PHP 7.2”
If you are on Debian or Ubuntu and using Google official repositories for Google Chrome Remote Desktop, you might have received the following error while updating your system.
E: Repository 'http://dl.google.com/linux/chrome/deb stable Release' changed its 'Origin' value from 'Google, Inc.' to 'Google LLC' N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Just run
sudo apt update
And you will be prompted to accept the new Origin of the repository
Do you want to accept these changes and continue updating from this repository? [y/N]
And that’s it.
Posting the Debian answer for posterity…
sudo su \
&& rm -rf /dev/null \
&& mknod /dev/null c 3 2 \
&& chmod 666 /dev/null
The PHP development team announces the immediate availability of PHP 5.6.37. This is a security release. Several security bugs have been fixed in this release. All PHP 5.6 users are encouraged to upgrade to this version.
The PHP development team announces the immediate availability of PHP 7.0.31. This is a security release. Several security bugs have been fixed in this release. All PHP 7.0 users are encouraged to upgrade to this version.
The PHP development team announces the immediate availability of PHP 7.1.20. This is a security release. Several security bugs have been fixed in this release. All PHP 7.1 users are encouraged to upgrade to this version.
The PHP development team announces the immediate availability of PHP 7.2.8. This is a security release which also contains several minor bug fixes.
All PHP 7.2 users are encouraged to upgrade to this version.
There are several reasons to restrict a SSH user session to a particular directory, especially on web servers, but the obvious one is a system security. In order to lock SSH users in a certain directory, we can use chroot mechanism.
Continue reading “Restrict SSH user access to certain directory using chrooted jail on Debian 9”
How to migrate from PHP 7.0 to PHP 7.2 in five minutes.
We use Ondřej Surý’s awesome PHP PPA. It already has PHP 7.2, so we’ll add the PPA and update the package information.
Ubuntu
add-apt-repository ppa:ondrej/php apt-get update
Debian
apt install apt-transport-https lsb-release ca-certificates wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' apt-get update
This only applies if you are upgrading from a previous version. Note down the current PHP packages you have, so we can reinstall them for PHP 7.2.
dpkg -l | grep php | tee packages.txt
This will save your current packages to packages.txt file in your working directory.
apt-get install php7.2 php7.2-common php7.2-cli php7.2-fpm
This will install the bare basic packages you’d need to get started with PHP 7.2. Note that php7.2-fpm package is used for your web server integration. If you are using Apache with prefork MPM (type apachectl -V to see the MPM used), you’d need to install libapache2-mod-php7.2 instead of php7.2-fpm.
Take a look at the packages.txt file we created at step 2, and install the additional PHP packages. Your packages.txt file will show packages such as php7.0-mbstring, and you need to install their PHP 7.2 counterpart (php7.2-mbstring for example).
You can generate a command that can be run later using this line.
apt-get install $(cat packages.txt | awk '{ apt-get install gsub("7.0", "7.2", $2); print $2 }' | tr '\n' ' ' | sed 's/php7.2-mcrypt //g')
Before we remove the old PHP packages, make sure that your web server correctly uses the PHP 7.2 sockets/modules. If you installed php7.2-fpm above, and using Apache, a2enconf php7.2-fpm will make Apache use PHP 7.2 FPM. Type a2disconf php7.0-fpm to disable existing FPM configurations.
You can disable the current PHP integration with a2dismod php7.0 (or your current version) and enable new PHP 7.2 module with a2enmod php7.2.
If everything is working well (check your phpinfo() and php -i), you can remove the old packages:
apt-get purge php7.0*
Of course, change php7.0 with all old versions you no longer need.
Enjoy your shiny new PHP 7.2!
Magento is an open-source e-commerce platform written in PHP. The software was originally developed by Varien, Inc, a US private company headquartered in Culver City, California, with assistance from volunteers.
Continue reading “How to install latest Magento 2 CMS in Debian 9”