Recently, I've been busy preparing various directories for additional archiving in Linux (it's about files from the /var/log/ location) containing archives of reports of performed operations in the system and running programs (services such as www etc.). Since I often use archiving to RAR format, I decided to see if it would work in this case as well.
I wrote a script that installs Nextcloud package (an alternative to other disk services in the so-called cloud), in Debian 11 (Linux). To work it requires only a clean system, everything will install and configure itself (so that it works on the local network, the operation outside must be configured by the user).
Here is the link: Nextcloud Debian Installer
Today I had the opportunity to update the firmware of the Mellanox ConnectX-3 card, and I thought I'd give a closer look at the process (it should work for previous ConnectX series card models as well).
I prepared new scripts package, that will install colorful and nice motd (message of the day) with some system informations.
MOTD is generated with scripts, that will be extracted to /etc/profile.d where you may modify them to suite your needs.
fail2ban and docker stats will not be shown if user do not have correct permissions for that.
The script runs on EL based Linux systems ie: RedHat, CentOS, RockyLinux, Fedora etc.
You may find more info here: MOTD dla EL
A new script for CentOS 8 was introduced in the projects, which is used to install and configure additional software and system to allow serving the website.
The script installs and pre-configures things like web server, database server, PHP interpreter.
Feel free to visit the section CentOS 8 LAMP Script
I published a script that executes the installation of UNMS (Ubiquiti Network Management System) on CentOS 8 Linux / RHEL 8, despite the lack of support for those distribution by the manufacturer.
Installation manual and download link can be found in projects – "UNMS / UISP for CentOS 8 Linux installation script".
I prepared a script that automates the installation and configuration of CentOS 8 Linux with KODI (formerly XBMC) under HTPC (a computer for media playback). Thanks to this, we get a ready system which, after connecting to e.g. TV or projector, enables comfortable playback of multimedia materials (video, audio, streams).
File, commands to download it, and even video material on YouTube can be found on the newly created subpage of this project. You are welcome: HTPC on CentOS 8 Linux with Kodi.
There have been packages of a drop-down version of the window manager, Deepin Desktop 20 (known for its Debian-based Deepin Linux distribution). To check how the builder version looks and works on Fedora Linux 32 just use the terminal and the following commands:
Adding reporsitory of Deepin testing Desktop for Fedory: # sudo dnf copr enable cheeselee/deepin-20-testing Anad next we install packages: # sudo dnf install deepin-api deepin-album deepin-calculator deepin-calendar deepin-control-center deepin-daemon deepin-desktop-base deepin-desktop-schemas deepin-dock deepin-draw deepin-editor deepin-file-manager deepin-icon-theme deepin-image-viewer deepin-kwin deepin-launcher deepin-menu deepin-network-utils deepin-picker deepin-polkit-agent deepin-qt-dbus-factory deepin-qt5integration deepin-qt5platform-plugins deepin-reader deepin-screensaver
Today's entry concerns the launch of statistics of website visits based on the WordPress system, using the BBClone – a script entitled as – A PHP based Web Counter on Steroids!
An example of how the BBClone works can be seen here: https://www.bbclone.de/demo/.
There's not much to describe, so I'll get to the point.
I assume you already have a working WordPress engine site.
1 – We are downloading a development version of the BBClone (the last stable release is from 2015, and does not support PHP version 7, so we need a version with later changes). Link to file: http://download.bbclone.org/bbclone-nightly-build.zip.
2 – The unpacked files are copied via FTP to a server. We can rename the bbclone directory to another.
3 – Edit the config.php file from the /conf/ directory, where you set the parameters as required.
4 – We change the WordPress file, template-loader.php, which is located in the /wp-includes/ directory. Simply add this piece of code under the first line containing "<?php":
define("_BBC_PAGE_NAME", get_bloginfo("name") . wp_title("/", false)); define("_BBCLONE_DIR", "/home/user/public_html/bbclone/"); define("COUNTER", _BBCLONE_DIR."mark_page.php"); if (is_readable(COUNTER)) include_once(COUNTER);
Instead of /home/user/public_html/bbbclone/ (bold above) you should enter your own full bbclone directory location on the server. Upload the modified file, replacing the original and it's ready.
The only thing you need to remember is to correct this file after updating WordPress.
Recently, I have been able to purchase an SSD from Micron, the 5200 ECO with a 3840GB capacity. The purchased item is branded by HPE (Hewlett Packard Enterprise, model VK003840GWSXL). In order to update the device's firmware, I encountered problems, the solution of which I would like to share. You are welcome.