Linux News

LXer: How to Install ArangoDB NoSQL Database on Debian 11

Linux Questions - Mon, 05/16/2022 - 12:02
Published at LXer:

ArangoDB is a modern multi-model database system developed by ArangoDB GmbH. it's a free and open-source database system that supports three different data models, documents, graphs, and key/values.

Read More...
Categories: Software and Help

How to Install ArangoDB NoSQL Database on Debian 11

LXer Linux News - Mon, 05/16/2022 - 11:51
ArangoDB is a modern multi-model database system developed by ArangoDB GmbH. it's a free and open-source database system that supports three different data models, documents, graphs, and key/values.
Categories: General News

ser2net - unable to connect to the server

Linux Questions - Mon, 05/16/2022 - 11:40
Unable to connect to the ser2net server. I don't even understand why this is happening. The server is running, the ports do not conflict. I connect remotely to the server and through the localhost via telnet - the error is that there, that there is the same.

Code: ~ # ser2net -v
ser2net version 2.10.1 Starts when loading without errors:

Code: ~ # cat /var/log/messages
Feb 21 05:20:05 amg_clone syslog.info syslogd started: BusyBox v1.20.2
Feb 21 05:20:08 amg_clone auth.info sshd[110]: Server listening on 0.0.0.0 port 22.
Feb 21 05:20:09 amg_clone daemon.notice ser2net[117]: ser2net startup Everything that is active:

Code: ~ # ss -a
Netid        State            Recv-Q        Send-Q                    Local Address:Port                      Peer Address:Port         
nl          UNCONN            0              0                                  rtnl:kernel                                *             
nl          UNCONN            0              0                              tcpdiag:kernel                                *             
nl          UNCONN            0              0                            fiblookup:kernel                                *             
nl          UNCONN            0              0                                uevent:kernel                                *             
nl          UNCONN            0              0                                  genl:kernel                                *             
u_str        ESTAB            0              0                                    * 1704                                  * 0           
u_dgr        ESTAB            0              0                              /dev/log 1587                                  * 0           
u_dgr        ESTAB            0              0                                    * 1632                                  * 0           
tcp          LISTEN            0              128                            0.0.0.0:22                              0.0.0.0:*           
tcp          LISTEN            0              10                              0.0.0.0:8888                            0.0.0.0:*           
tcp          LISTEN            0              1                              0.0.0.0:3001                            0.0.0.0:*           
tcp          TIME-WAIT        0              0                            127.0.0.1:3001                          127.0.0.1:34902       
tcp          ESTAB            0              0                        192.168.114.85:22                      192.168.101.99:38652 The server is running:

Code: ~ # ps | grep ser2net
  122 root      2564 S    /usr/sbin/ser2net -c /etc/ser2net.conf -P /run/ser2net.pid
  167 root      1348 S    grep ser2net Connection error:

Code: ~ # telnet 127.0.0.1 3001
Error creating port lock file
Connection closed by foreign host The config is configured on port 3001. With the same settings on another server, everything works. Can you tell me which way to dig? Getting into the source code is already an extreme measure. I think maybe what other options are worth considering?
Categories: Software and Help

wicKeD deVianT

Linux Questions - Mon, 05/16/2022 - 11:21
Hiya there. Subject line kinda' nails it; I'm thoroughly Wicked, and noticeably Deviant. I am also -allegedly- about 46 years into this life, living in Sweden, and most likely male. I mainly use Ubuntu Studio, Mint Cinnamon, Open Suse with KDE, and Manjaro, also with KDE. Additionally I admit to taking way too much pleasure in recreational Distro-hoppin', but the aforementioned quartet tends to always come out on top, no matter how many new ones I try out.

I also claim the title of multi-instrument-wielding musician.

That's about how the cookie crumbles. Unless you eat it prior to said crumbling.
Categories: Software and Help

LXer: Python is getting faster: Major performance tweaks on horizon

Linux Questions - Mon, 05/16/2022 - 10:45
Published at LXer:

The next version of the standard Python interpreter, CPython, is expected in October. It will include significant performance improvements and support for running inside the browser.

Read More...
Categories: Software and Help

Python is getting faster: Major performance tweaks on horizon

LXer Linux News - Mon, 05/16/2022 - 10:44
The next version of the standard Python interpreter, CPython, is expected in October. It will include significant performance improvements and support for running inside the browser.
Categories: General News

How to retrive mail from nobody

Linux Questions - Mon, 05/16/2022 - 10:43
Hi everyone,

I reconfigured (badly) postfix because FQDN changed (fixed now) and all root emails temporarily were sent to nobody account '/var/mail/nobody'

Now I have a chunk of emails and I do not know if it is a way to retrieve then to root. The /etc/aliases has the relevant entries:
Code: nobody: root
postfix: root
postmaster: root and newaliases updated the db.

I am thinking of a command to let MDA to move from to root all the emails. This is not about postqueue!

I switched MTA to sendmail/exim4 but no success obviously

Thanks a lot!
Categories: Software and Help

Distribution Release: Kali Linux 2022.2

DistroWatch.com - Mon, 05/16/2022 - 10:38
Kali Linux is a Debian-based distribution with a collection of security and forensics tools. The prject has published a new version, Kali Linux 2022.2, which features the GNOME 42 desktop, along with KDE Plasma 5.24 as an alternative user interface. "Like for every (almost) half-year, there is a....
Categories: Distributions

Introduction and Question how to load Slax onto a pc

Linux Questions - Mon, 05/16/2022 - 10:04
I have an old pc with dvd drive usb ports and need to know how to load .iso onto usb drive to load on pc? This is an ASUS pc. Or load .iso onto pc itself and use downloaded image to load linux os?
Categories: Software and Help

Cannot install stratisd using yum on CentOS 7. Error: Nothing to do

Linux Questions - Mon, 05/16/2022 - 08:49
Getting an error that no packages are available when I run:
yum install stratisd stratis-cli


Below is the output of the Base Repositories I have in my base repository file. Am I doing this right? I'm running CentOS 7.9 and it's a fresh install - I just ran yum update and upgrade as well. Any input is appreciated thank you!







[root@unknown525400aa8261 yum.repos.d]# ls
CentOS-Base.repo CentOS-Debuginfo.repo CentOS-Media.repo CentOS-Vault.repo
CentOS-CR.repo CentOS-fasttrack.repo CentOS-Sources.repo CentOS-x86_64-kernel.repo


[root@unknown525400aa8261 yum.repos.d]# cat CentOS-Base.repo
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7




[root@unknown525400aa8261 yum.repos.d]# yum repolist
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: nc-centos-mirror.iwebfusion.net
* extras: mirrors.mit.edu
* updates: mirror.lostpacket.org
repo id repo name status
base/7/x86_64 CentOS-7 - Base 10,072
extras/7/x86_64 CentOS-7 - Extras 509
updates/7/x86_64 CentOS-7 - Updates 3,773
Categories: Software and Help

To turn off the internal/default wifi adapter

Linux Questions - Mon, 05/16/2022 - 08:25
How do we turn off i.e. deactivate internal/default wifi adapter card to save power, as the external one (Usb wifi adapter) has been set to do in place ?
Categories: Software and Help

XDG_SESSION switching from X11 to wayland automatically when I switch User in RHEL 8

Linux Questions - Mon, 05/16/2022 - 06:46
I'm executing a shell script inside profile.d, which needs x11 as the default gnome-session. It works fine when I login into system as USER1, but the XDG_SESSION_TYPE is shifting from x11 to wayland when I try to switch user to USER2 as a result not executing my script in profile.d. I've removed the comment for the line Wayland=false from the custom.conf located in /etc/gdm/ to make x11 as default XDG_SESSION_TYPE. Can anyone help me with making x11 as default for the second logged in user as well!?
I've found that multiple TTY sessions can support Xorg simultaneously, but I'm unable to do that in my RHEL 8 system. Second User session is being started in wayland.
Categories: Software and Help

LXer: 5 Things to Do After Upgrading to Ubuntu 22.04 LTS

Linux Questions - Mon, 05/16/2022 - 06:15
Published at LXer:

If you've updated an older Ubuntu version to Ubuntu 22.04 LTS Jammy Jellyfish, you might have noticed some problems. Here's how to fix them.

Read More...
Categories: Software and Help

5 Things to Do After Upgrading to Ubuntu 22.04 LTS

LXer Linux News - Mon, 05/16/2022 - 06:14
If you've updated an older Ubuntu version to Ubuntu 22.04 LTS Jammy Jellyfish, you might have noticed some problems. Here's how to fix them.
Categories: General News

How to Install WordPress with Nginx and Let's Encrypt SSL on Ubuntu 22.04

HowToForge - Mon, 05/16/2022 - 06:14
WordPress is a free and open-source content management system mainly used to publish blogs on the internet. In this tutorial, we will show you how to install WordPress with Nginx and Let's Encrypt SSL on Ubuntu 22.04.
Categories: Software and Help

How to Install WordPress with Apache and Let's Encrypt SSL on Ubuntu 22.04

HowToForge - Mon, 05/16/2022 - 06:14
WordPress is a free and open-source content management system mainly used to publish blogs on the internet. In this tutorial, we will show you how to install WordPress with Nginx and Let's Encrypt SSL on Ubuntu 22.04.
Categories: Software and Help

Python Script to Download LinuxMint

Linux Questions - Mon, 05/16/2022 - 06:08
Hi all,

I cobbled up a little Python script to download the latest LinuxMint releases—both the main LinuxMint isos and the LMDE ones. You can find the script attached to this post.

It will look at the LinuxMint home page and extract the latest LinuxMint version, as well as the latest LMDE version, from the “Download” dropdown on the page. It will ask you if you want to download them (to the current directory), assuming by default that you will want to do so if you do not yet have the latest version.

To use it, you will first have to edit it and specify your preferred LinuxMint mirror site on the following line:
Code: LINUXMINT_MIRROR_SITE    = '<<<SPECIFY YOUR PREFERRED LINUXMINT MIRROR SITE HERE>>>' To find the list of available mirrors, navigate to the download page of any LinuxMint or LMDE edition and scroll down to obtain the list of locations and the corresponding mirrors.

Feel free to use it or to not use it, as you see fit.
Attached Files linuxmint_download.txt (13.8 KB)
Categories: Software and Help

How to Install ArangoDB NoSQL Database on Debian 11

HowToForge - Mon, 05/16/2022 - 06:02
ArangoDB is a modern multi-model database system developed by ArangoDB GmbH. it's a free and open-source database system that supports three different data models, documents, graphs, and key/values.
Categories: Software and Help

next-20220516: linux-next

Linux Kernel - Mon, 05/16/2022 - 05:54
Version:next-20220516 (linux-next) Released:2022-05-16
Categories: Linux Kernel

Create a script that mounts a share, checks a file if it has not been modified in 2 or 1 days, and then unmounts it?

Linux Questions - Mon, 05/16/2022 - 05:53
Hello

In a monitoring system I have, I had a plugin that remotely checked a SMB share and if the file hasnt been modified in 1 day, it should return a warning. if it is 2 days or more, it should return a critical.

Returning the warning and the critical isnt the issue, its the entire logic of the script itself.

I mean, I dont think it should be too difficult but Im not used to shell scripting. Also, the downfall exists, of having to check if the mount is correct, etc.

Could someone tell me the basics of the shell script?

Thank you.
Categories: Software and Help

Pages