Clear systemd journal /var/log/journal

Systemd logs that are stored in /var/log/journal can be cleared by using journalctl command. Here are some useful commands To find out the size of the log folder: du -sh /var/log/journal/ Clear systemd journals older than n days: journalctl –vacuum-time=30d Clear systemd journals if they exceed n storage space: journalctl –vacuum-size=1G

Mirror offline HTML website with WGET

This is an example how to convert a website in STATIC HTML: wget –mirror –convert-links –adjust-extension –page-requisites –no-parent http://mywebsite.ca –mirror – Makes (among other things) the download recursive. –convert-links – convert all the links (also to stuff like CSS stylesheets) to relative, so it will be suitable for offline viewing. –adjust-extension – Adds suitable extensions … Read more

Autostart Virtualbox Machine

Edit the config file nano /etc/default/virtualbox Add the lines: VBOXAUTOSTART_DB=/etc/vboxVBOXAUTOSTART_CONFIG=/etc/vbox/autostart.cfg Fix permissions: chgrp vboxusers /etc/vboxchmod 1775 /etc/vbox Start and enable the service: systemctl start vboxautostart-servicesystemctl enable vboxautostart-service

Use RemoteBox on Ubuntu

Download RemoteBox wget http://remotebox.knobgoblin.org.uk/downloads/RemoteBox-2.6.tar.bz2 Ensure the required dependencies are installed as follows: apt-get install libgtk2-perl libsoap-lite-perl freerdp-x11 tigervnc-viewer To launch RemoteBox, unpack the previously downloaded RemoteBox tarball and run the ‘remotebox’ executable. vboxweb-service need to be installed and active on the target server. The following article describe how to install a Headless Server on CentOS … Read more

Reset Nextcloud password in CLI

Login via SSH to the server $ sudo -u www-data php /var/www/nextcloud/occ user:resetpassword admin Enter a new password: Confirm the new password: Successfully reset password for admin

Website reputation tools

Free website malware and security scanner https://sitecheck.sucuri.net TrustedSource.org https://www.trustedsource.org/?p=mcafee

VirtualBox Guest Additions not working in Lubuntu 17.04 – Solved

Environnement: Host OS: Windows 10 x64 VirtualBox Graphical User Interface Version 5.1.26 r117224 (Qt5.6.2) Guest OS: Lubuntu 17.04 VBOXADDITIONS_5.1.26_117224 Problem: I manually installed VirtualBox Guest Additions from VBOXADDITIONS_5.1.26_117224 ISO and restarted the guest. The bidirectional clipboard and the drag and drop still not working. Solution: Installation of Guest Additions from Ubuntu repository. Command: sudo apt-get install virtualbox-guest-dkms … Read more

10 Ways to transform PDFs in Online Publications

The purpose of this article is to explore solutions that allow us to transform Adobe PDF files into a page turning digital book or magazine. The main features that we are looking are: multi-platform: desktop, tablet, mobile etc. page-turning or flipping feature Without being exhaustive, here is a list of the most popular solutions for … Read more

Categories Web

cPanel not starting with Internal Server Error – fix

The problem: All websites are down with Internal Server Error 500 Symptoms: Cpanel wasn’t loading with the following error: Internal Server Error 500 Can’t fork: Cannot allocate memory at /usr/local/cpanel/Cpanel/SafeRun/InOut.pm line 40. cpsrvd/11.62.0.15 Server at hostname.example.com How I fixed it? First of all I was trying to increase this limit by searching for “Max cPanel … Read more

How to sync Microsoft Outlook with Google Calendar and other CalDav Calendars

For this purpose we need to use Outlook CalDav Synchronizer. Here are the features and description from developer: Free Outlook Plugin, which synchronizes events, tasks and contacts between Outlook and Google, SOGo, Horde or any other CalDAV or CardDAV server. Supported Outlook versions are 2016, 2013, 2010 and 2007. Features: free and open-source software (FOSS), … Read more