Updating Kernel on Oracle Linux with Ksplice
Oracle Linux come with Ksplice, it allow you to upgrade Kernel with out rebooting. To update kernel, run uptrack-upgrade Example
Oracle Linux come with Ksplice, it allow you to upgrade Kernel with out rebooting. To update kernel, run uptrack-upgrade Example
ClamAV is provided by the EPEL repo. Install epel repo yum install -y epel-release Install ClamAV with yum install clamav Back to ClamAV
On my computer running Ubuntu 18.04, MriaDB stopped working. PHP application i run on my computer failed with error SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘ok_test.feeds’ doesn’t exist (SQL: select * from `feeds` where `processed` = 0) Application can’t find the table. So i tried to login to MySQL and see if … Read more
OpenLiteSpeed is an open-source version of the popular commercial web server LiteSpeed. OpenLiteSpeed contains all of the essential features found in LiteSpeed Enterprise. You can get OpenLiteSpeed from https://openlitespeed.org Here is a benchmark from the OpenLiteSpeed website that compares OpenLiteSpeed with Nginx. OpenLiteSpeed configuration file To start/stop/restart, use OpenLiteSpeed web server stores cache in directory … Read more
Linux whois command is used to find who owns a domain or IP address. To see information about a domain, use whois DOMAIN_NAME_HERE Example To find information about an IP address, use whois IP_ADDR_HERE Example Related Posts Linux Commands
To regenerate grub config on CentOS 7, run grub2-mkconfig -o /boot/grub2/grub.cfg If you use UEFI, run grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg OVH CentOS 7 server grub rescue prompt Back to grub
To reinstall a package with yum, run yum reinstall PKG_NAME Example yum reinstall kernel
Prometheus is used an open source software, that can collect metrics and alerting. You can download latest version oof Prometheus from https://prometheus.io/download/ Create a user useradd –no-create-home –system –shell /bin/false prometheus Download and Install prometheus cd /usr/local/src wget https://github.com/prometheus/prometheus/releases/download/v2.31.0-rc.1/prometheus-2.31.0-rc.1.linux-amd64.tar.gz tar xvf prometheus-2.31.0-rc.1.linux-amd64.tar.gz cd prometheus-2.31.0-rc.1.linux-amd64 mv prometheus /usr/local/bin/ mv promtool /usr/local/bin/ mkdir /etc/prometheus mkdir /var/lib/prometheus mv … Read more
I moved a web site to new dedicated server. But for some reason, php-fpm crashed. I increased the max_children settings, but it happend again. I do not want down time while i am investigating the problem. So i created a PHP script, that will check if site is working or not. Script have 2 part. … Read more
To add SSL for ISPConfig control panel, add the server hostname as a website in ISPConfig and enable the LetsEnrypt checkbox. You can find the server hostname with the command hostname -f That will get SSL installed for your hostname. You need to point the server hostname to the server’s IP address to get SSL … Read more
apachectl command is used to interact with Apache web server. To see Apache status apachectl status To list virtualhost info, run apachectl -t -D DUMP_VHOSTS List VirtualHost + server config. apachectl -S To list loaded apache modules, run apachectl -M Related Posts Apache Web Server apachectl status www-browser not found
VestaCP install self signed SSL for mail server by default. To install valid SSL, login to VestCP, go to sites. You will see a site with your sites hostname. If you don’t see it, create a site with your server hostname. Make sure DNS edited so hostname resolve to server IP. Now you should be … Read more