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.
In this post I’ll show you how to upgrade PHP 5.6 to 7.2 in CentOS 7 Linux.
How To Upgrade PHP 5.6 to 7.2
For PHP 5.6 I’ve been using the Webtatic repository. This is a third party repository that allows me to install newer versions of PHP in CentOS 7.
You can use command line to upgrade Ubuntu desktop or a headless server. Speaking of servers, it is recommended that you upgrade Ubuntu on a test server before doing it on a production server.
If you use SSH to log into your Ubuntu server, it’s a good idea to keep your OpenSSH session alive by adding the following line in /etc/ssh/sshd_config file on your server.
Save and close the file. Then restart SSH daemon.
systemctl restart ssh
To upgrade to Ubuntu 18.04, first run the following command to upgrade existing software.
apt update && apt dist-upgrade
Then make sure you have update-manager-core package installed.
apt install update-manager-core
After that, run the following command to begin the upgrade process.
Then follow the on-screen instruction to upgrade to Ubuntu 18.04. Once the upgrade is finished, reboot your Ubuntu desktop or server. To check your Ubuntu version, run:
No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04 LTS Release: 18.04 Codename: bionic
You also need to re-enable third-party repositories such as PPA because they are disabled during upgrade.
Attention: this update will not work on dedikuoti.lt OpenVZ servers except KVM servers.
OpenVZ container will return this message:
This version of the GNU libc requires kernel version 3.2 or later. Please upgrade your kernel before installing glibc.
Apache Tomcat is a web server and servlet container that is used to serve Java applications. Tomcat is an open source implementation of the Java Servlet and JavaServer Pages technologies, released by the Apache Software Foundation. This tutorial covers the basic installation and some configuration of the latest release of Tomcat 9 on your Ubuntu 16.04 server.
DirectAdmin pleased to announce the release of DirectAdmin 1.55.0.
This is a major release with many new features and many bugfixes.
The full list of changes can be found here:
Some of notable items:
- mail_sni=1 enabled by default for new installs
- Disable cron MAILTO by default for new accounts
- Maintain Cron order via zero padding 001, 002, etc.
- Default proftpd.conf ciphers update
- Current DirectAdmin version now in DNS, to save requests/loads
- SSH Keys including global keys for accounts below Resellers/Admins.
- Services Monitor backup PID method based on boot script instead of exact name match.
- Rename Package so it doesn’t copy (optional)
- named_service_override=bind9 in case you cannot use “named”.
- Domain Setup: Force SSL redirect
- LetsEncrypt: Allow 5 renewal failures before sending any failure notice
- Any debug mode ending in 7 includes date/time
- Pointers: optional redirect to www.domain.com or domain.com
- Pointers: can be “Local Mail” or remote mail
- JSON: can add httpd “X-Json: yes” header to ensure json output for errors before parsing
- JSON: incorrect newline encoding
- Tables: major search speed improvement
- DNS: ensure no zone write race condition
- Login Keys now enabled for Admins by default as they should have been
- Backup: create full path, instead of just single directory when append/has/multiple/dirs
- Pointers https redirect for nginx now redirect to https on main domain
- LetsEncrypt: basic locking for background requests
- Domain Rename: ensure all cust_httpd.## files are renamed
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
/usr/lib64/python2.6/site-packages/pycurl.so: undefined symbol: CRYPTO_set_locking_callback
Please install a package which provides this module, or
verify that the module is installed correctly.
It’s possible that the above module doesn’t match the
current version of Python, which is:
2.6.6 (r266:84292, Aug 18 2016, 15:13:37)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]
If you cannot solve this problem yourself, please go to
the yum faq at:
If you have a custom installation of cURL to support of HTTP/2 and the recent version 7.62.0 fails to built with the error:
vtls/openssl.c: In function 'Curl_ossl_seed': vtls/openssl.c:454:5: error: implicit declaration of function 'RAND_egd' [-Werror=implicit-function-declaration] int ret = RAND_egd(data->set.str[STRING_SSL_EGDSOCKET]? ^ cc1: some warnings being treated as errors Makefile:2425: recipe for target 'vtls/libcurl_la-openssl.lo' failed make: *** [vtls/libcurl_la-openssl.lo] Error 1 make: Leaving directory '/usr/local/directadmin/custombuild/curl-7.62.0/lib' Makefile:1028: recipe for target 'all' failed make: *** [all] Error 2 make: Leaving directory '/usr/local/directadmin/custombuild/curl-7.62.0/lib' Makefile:929: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 *** The make has failed, would you like to try to make again? (y,n):
we’ve got a solution for you.
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.
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.
Working with the terminal using a command interface is very fast and effective way of doing stuff. But have you tried working with the terminal, listening to a music via headphones and having a terminal warning or tab-completion beep / bell turned ON at the same time? Well it can be very annoying. Listening to the PC Speaker beeps via headphones is very close to a feeling of hitting your head with a hammer. Even without headphones this beeping bell sound is very annoying.
Posting the Debian answer for posterity…
sudo su \ && rm -rf /dev/null \ && mknod /dev/null c 3 2 \ && chmod 666 /dev/null