You might encounter the error message: “phpMyAdmin – Error #1040 – Too many connections” when you work in the phpMyAdmin interface. This probably is something you don’t have to worry about that much. It is likely a temporary issue with your database and reloading the page should solve the issue. However, if this error is one Continue reading →
Linux
Linux is a collection of open source, Unix-like operating systems, based on the POSIX-standard. The linux flavours are called linux distributions (or distro’s) and are mostly free to download and use. A popular example is Ubuntu or CentOS.
Install APC on CentOS/Fedore
To install APC, or Alternative PHP Cache, on your CentOS webserver, you should first install its dependencies: Now, install APC with the use of PECL (or PHP Extension Community Library): Now it is installed, we should enable it in our Apache configuration file. To enable it, we edit our php.ini file: We finalize the installation Continue reading →
Another app is currently holding the yum lock; waiting for it to exit… The other application is: PackageKit
Execute the following command Now reboot; and the message should be gone. Another app is currently holding the yum lock; waiting for it to exit… The other application is: PackageKit was last modified: December 10th, 2014 by Thomas
Custom welcome message at boot on CentOS
To edit or add a welcome message on CentOS (and this will probably work on other Linux distributions too), simply login to SSH first. Once logged in, edit the following file /etc/motd with vi, nano or any other editor you prefer. I like nano, so I’ll go with that. Here, you can customize the message or, Continue reading →
Change the hostname in CentOS from the command line
Open an SSH session to your server and edit the following file (with nano, or vim, or any other editor) In that file, change the HOSTNAME value. Save the file. Now check your hostname by typing hostname in the command line. CentOS should output your current hostname. Perhaps you might have to restart networking on Continue reading →
Update/Sync time on CentOS
We will use the NTP daemon to update or sync the time of our CentOS server (or other Linux server). Make sure it is installed: Then, start the daemon: Now let’s update the time and date: If you get the error Can’t adjust the time of day: Operation not permitted, you probably use a VPS. Continue reading →