Linux News

LXer: SUSE wheels out first public prototype of its server Linux distro, asks for feedback

Linux Questions - Wed, 10/05/2022 - 20:48
Published at LXer:

Adaptable Linux Platform v0.01 shows that the future of SLE is containerized. As we reported back in July, the future direction of SUSE Linux Enterprise is starting to take shape, and it's containers all the way down.�

Read More...
Categories: Software and Help

SUSE wheels out first public prototype of its server Linux distro, asks for feedback

LXer Linux News - Wed, 10/05/2022 - 20:43
Adaptable Linux Platform v0.01 shows that the future of SLE is containerized. As we reported back in July, the future direction of SUSE Linux Enterprise is starting to take shape, and it's containers all the way down.…
Categories: General News

How to Install and Secure Redis on Ubuntu 22.04

Linux Today News - Wed, 10/05/2022 - 20:00

Redis is a shortcut for a remote dictionary server and an in-memory data structure store. Learn how to install Redis on Ubuntu 22.04 here.

The post How to Install and Secure Redis on Ubuntu 22.04 appeared first on Linux Today.

Categories: General News

Slackware on SSD/NVMe with full enryption (LUKS + LVM): Caveats, tips?

Linux Questions - Wed, 10/05/2022 - 19:34
Hi everyone,

believe it or not, up to now all my systems are running on 'classic' harddisks, up to today. However, I am planning an fresh install with an NVME disk (M2) on new hardware and a couple of upgrades from harddisk to SSD (SATA). All the hard disks in my systems are encrypted (LUKS + LVM), so I thought I would do the same with my SSD installs.

So I started to research the web on the topic. There is a lot of information available, and I have literally read tons and tons of it, but most of it seems to be outdated or is contradictory. The more I read the more I got confused, regarding aspects like wear-levelling, overprovisioning and TRIM. That's why I am asking for a little bit of advice from users with practical experience in installing Slackware on SSDs.

Here are some questions I am particularly interested in:

Overprovisioning
Does it make sense to leave some empty space in the partitioning scheme, additonal to what is built in anyway by the manufacturer? If so: how much?
While I found sources that highly recommend this, others say that it is totally unnecessary with 'modern' SSDs. Which is correct?
BTW, the oldest SSD I have here is from 2020, so they can all be considered reasonably 'modern', for that matter, I guess.

TRIM
How would I enable TRIM (discard) in /etc/mkinitrd? Is LUKSTRIM=yes sufficient? I am asking, because some of the sources I found say that TRIM must be enabled separately for LUKS and LVM, in order to make it work properly. LUKSTRIM seems to refer to LUKS only. What about LVM?

Swap partition?
Would you recommend to have a swap partition on an SSD, on a desktop PC or a laptop? I no: What about sleep mode and hibernation, where my laptop usually would save a RAM image on swap, and reload it into RAM on wake-up.

Offical documentation
Apart from arbitrary documentation I found on the internet, there is official documentation for Slackware, too. Unfortunately, it's either not very fresh or was written with only classic harddisks in mind.
Old, referring to Slackware 14.1: Installing Slackware 14.1 on a SSD drive
Written with mainly harddisks in mind, no mention of SSD or NVME: README_CRYPT.TXT
Are those instructions valid for installations on an SSD?

So, I'd appreciate if someone could provide some information of the current status, what's really necessary or recommended as well as possible caveats, when installing Slackware on an SSD.

Thanks a lot in advance!

gargamel
Categories: Software and Help

Bash to instruct parent process to exit by certain PID's kill

Linux Questions - Wed, 10/05/2022 - 19:16
How is the correct bash command/instruction to exit parent process by certain signal or PID's kill when being in child process?
Categories: Software and Help

Install Nginx, MariaDB, and PHP (LEMP) on Debian 11 (Bullseye)

Linux Today News - Wed, 10/05/2022 - 19:00

Debian is one of the most reliable, secure, and stable Linux distributions. Learn how to install Nginx, MariaDB, and PHP on Debian 11 here.

The post Install Nginx, MariaDB, and PHP (LEMP) on Debian 11 (Bullseye) appeared first on Linux Today.

Categories: General News

LXer: Fedora and openSUSE Are Dropping Support for Some Video Codecs

Linux Questions - Wed, 10/05/2022 - 18:45
Published at LXer:

Fedora and openSUSE are removing H.264, H.265, and VC-1 VA-API video codecs support from Mesa to avoid potential license issues.

Read More...
Categories: Software and Help

Fedora and openSUSE Are Dropping Support for Some Video Codecs

LXer Linux News - Wed, 10/05/2022 - 18:32
Fedora and openSUSE are removing H.264, H.265, and VC-1 VA-API video codecs support from Mesa to avoid potential license issues.
Categories: General News

How to Install WonderCMS on Ubuntu 22.04

Linux Today News - Wed, 10/05/2022 - 17:00

WonderCMS is a content management system written in PHP that uses javascript, jQuery, and CSS. Learn how to install WonderCMS on Ubuntu 22.04 here.

The post How to Install WonderCMS on Ubuntu 22.04 appeared first on Linux Today.

Categories: General News

How can I substitute grep -P with perl equivalent in Freebsd"

Linux Questions - Wed, 10/05/2022 - 16:28
Hi

The grep command in FreeBSD doesn't support the -P perl compatible switch.

In linux, grep -P is supported.

Code: grep -oP '<span class="resultBall vMid ball">\K\d+(?=</span>)' t5.html
14
19
28
35
39
...etc How can I do this in freebsd via perl? Thx
Categories: Software and Help

LXer: Best Free and Open Source Alternatives to Microsoft Teams

Linux Questions - Wed, 10/05/2022 - 16:27
Published at LXer:

Microsoft Teams is a proprietary business communication platform. The service integrates with the company�s Office 365 subscription office productivity suite.

Read More...
Categories: Software and Help

Best Free and Open Source Alternatives to Microsoft Teams

LXer Linux News - Wed, 10/05/2022 - 16:20
Microsoft Teams is a proprietary business communication platform. The service integrates with the company’s Office 365 subscription office productivity suite.
Categories: General News

Condition field Ina bash script

Linux Questions - Wed, 10/05/2022 - 14:13
Hi
I need. Shell script to open a program, in this case foxtrotgps when the gpsd receives a gps signal what happen in minutes. To automate it I need the right condition written and I do not know how
Here what I need
While [condition]
do
Done
Foxtrotgps
----
The condition is
When gpspipe --nmea got data , open foxtrotgps otherwise keep looking for data
It is something like
[($gpspipe --nmea) is null]
Or
[($gpspipe --nmea= "0"]

But do not know.
Categories: Software and Help

LXer: How To Install and Use NVM (Node Version Manager) on Ubuntu 22.04

Linux Questions - Wed, 10/05/2022 - 14:12
Published at LXer:

NVM, also called "Node Version Manager" used for installing and managing multiple Node.js versions in Linux. It provides a command line utility that helps developers to install multiple Node versions and switch between multiple versions as per their project requirements.

Read More...
Categories: Software and Help

How To Install and Use NVM (Node Version Manager) on Ubuntu 22.04

LXer Linux News - Wed, 10/05/2022 - 14:09
NVM, also called "Node Version Manager" used for installing and managing multiple Node.js versions in Linux. It provides a command line utility that helps developers to install multiple Node versions and switch between multiple versions as per their project requirements.
Categories: General News

How to Run Linux in Your Browser Using JSLinux

Linux Today News - Wed, 10/05/2022 - 14:00

This brief tutorial explains what JSLinux is and how to run Linux and other operating systems in your browser using JSLinux.

The post How to Run Linux in Your Browser Using JSLinux appeared first on Linux Today.

Categories: General News

Broken packages after switching graphics cards and installing KDE Plasma on 22.04

Linux Questions - Wed, 10/05/2022 - 13:53
Hi and thanks,

Ubuntu 22.04 with KDE Plasma. I installed 22 when it first came out then I had an AMD rx-580 and switched to a rtx 3060 then back to the AMD.

When I do 'apt update' I wind up with upgradeable packages that cannot be upgraded. Please see output 1.txt. Rrying to install steam and apt returns a "broken packages' message. See 2.txt. Trying to install one of the depends in the 'apt install steam' output suggested amdgpu lib packages. I typed 'apt list|grep lib.amdgpu' and got 3.txt. Then typeing 'apt list|grep focal' got 4.txt.

I'm not sure exactly what's going on nor how i did this but do you think there is any hope for this installation? Do you need more informaiton.
Attached Files 1.txt (1.2 KB) 2.txt (1.0 KB) 3.txt (255 Bytes) 4.txt (6.7 KB)
Categories: Software and Help

"error while loading shared libraries" "No such file or directory"

Linux Questions - Wed, 10/05/2022 - 13:16
I have for the first time installed a Ubuntu system. I downloaded the image off the Ubuntu site and installed it OK.

Everything seemed to work OK until I tried the "man" command. then I get
Code: mike@ubuntu:~$ man ping
man: error while loading shared libraries: libmandb-2.10.2.so: cannot open shared object file: No such file or directory For a start, the file exists, and it seems to have the same sort of file protections as my other linux system, and it's in the same sort of place.

Code: mike@ubuntu:~$ ls -al /usr/lib/man-db/libmandb-2.10.2.so
-rw-r--r-- 1 root root 22448 Mar 17  2022 /usr/lib/man-db/libmandb-2.10.2.so
mike@ubuntu:~$ Reading up this people suggest LD_LIBRARY_PATH, but that seems OK too

Code: mike@ubuntu:~$ echo $LD_LIBRARY_PATH
/usr/lib:/lib:/usr/local/lib:/usr/lib/man-db I stuck /usr/lib/man-db on the end in the vain hope it would work, but it didn't.

Has anyone got any ideas what is going on ? Pretty much everything else seems to work.
Categories: Software and Help

Dissect: Open-Source Framework for Collecting, Analyzing Forensic Data

Linux Today News - Wed, 10/05/2022 - 13:00

The Dissect framework enables data acquisition on thousands of systems within hours. Learn more about this open-source framework here.

The post Dissect: Open-Source Framework for Collecting, Analyzing Forensic Data appeared first on Linux Today.

Categories: General News

Help with for loop script

Linux Questions - Wed, 10/05/2022 - 12:15
Hello, I wrote simple script to find out the uptime of the server. For loop script but it's not working. Please advise.

Quote: for i in {n1,n2} do ssh -o ConnectTimeout=10 root@$i uptime; done bash: syntax error near unexpected token `done'
Categories: Software and Help

Pages