Remove newlines from output
cat filename | grep .
Iordanis Kazanas – Virtual Systems Administrator
cat filename | grep .
Firewalld is the default firewall manager on CentOS sudo systemctl status firewalld # firewall-cmd –get-zones block dmz drop external home internal nm-shared public trusted work # firewall-cmd –get-default-zone public # firewall-cmd –get-active-zones public interfaces: eth1 eth0 # firewall-cmd –list-all public (active) target: default icmp-block-inversion: no interfaces: eth0 eth1 sources: services: cockpit dhcpv6-client http https ssh ports: … Read more
dpkg –list | grep amdgpu ii amdgpu-pin 20.50-1234664 all Meta package to pin a specific amdgpu driver version. ii amdgpu-pro-pin 20.50-1234664 all Meta package to pin a specific amdgpu pro driver version. ii libdrm-amdgpu1:amd64 2.4.102-1ubuntu1~20.04.1 amd64 Userspace interface to amdgpu-specific kernel DRM services — runtime ii rock-dkms 1:4.1-26 all amdgpu driver in DKMS format. ii … Read more
Select Menu > Settings > Privacy and security > Site Settings > View permissions and data stored across sites Find the site and clear data.
$ curl https://rclone.org/install.sh | sudo bash $ rclone config
Sort contents of a directory by size
Unexpected response from the server. The file may have been uploaded successfully. Check in the Media Library or reload the page. Add the following line to http or server or location context to increase the size limit in nginx.conf, enter: # set client body size to 2M # client_max_body_size 2M; The client_max_body_size directive assigns the … Read more
Setting up a basic Postfix SMTP server Set up Dovecot IMAP server and TLS encryption Create Virtual Mailboxes with PostfixAdmin Creating SPF and DKIM record to get through spam filters Setting up DMARC to protect your domain reputation How to Stop Your Emails From Being Marked as Spam How to Host Multiple Mail Domains in … Read more
Add this piece of code to nginx.conf server {[…]if (!-e $request_filename) {rewrite ^.*$ /index.php last;}[…]}