Linux News

How to Install OpenSearch via Docker on Ubuntu 22.04

LXer Linux News - Thu, 02/09/2023 - 10:31
OpenSearch is a community-driven project by Amazon and a fork of Elasticsearch and Kibana. In this tutorial, you will install and set up OpenSearch - an open-source search engine and analytics suite - and OpenSearch Dashboards - an open-source visualization tool - via Docker on an Ubuntu 22.04 server.
Categories: General News

How to Install Cortex Observable Analysis Tool on Ubuntu 22.04

HowToForge - Thu, 02/09/2023 - 10:12
Cortex is a free, and open-source observable analysis tool created by TheHive Project. Security professionals and SOC analysts use it to analyze collected events by querying a single tool. This tutorial will show you how to install the Cortex engine on Ubuntu 22.04.
Categories: Software and Help

How to Install Jira Agile Project Management Tool on Debian 11

HowToForge - Thu, 02/09/2023 - 10:07
ira is one of the most popular project management applications developed by Atlassian. In this tutorial, we will explain how to install the Jira project management application on the Debian 11 server.
Categories: Software and Help

Bash Script is not working

Linux Questions - Thu, 02/09/2023 - 09:58
Hi, community,
I created a script to send me a notification once the file transfer is done. I created a cron job from the service account to copy files from one server to another server using rsync command. The transfer part is working fine. However, I would like to get a notification once the transfer is completed. I couldn't think of a better logic so I created an additional file where the script adds 1 or 0. The reason I add that logic is that I am adding a script in a cron job to run from 4 am to 4 pm so I don't want to get false emails. For some reason, it's not sending me notifications and I don't know why. Does anyone have an idea why it's not working?

Code: #!/bin/bash
pid=$(sudo ps aux | grep "/bin/bash rsync" | grep -v grep)
EMAILS="email@email.com"
if [ "$pid" == "" ]
then
        echo "rsync is not running ..."
        checkRsync=`cat /root/scripts/rsync.out`
if [ "$checkRsync" == "1" ]
then
                echo "0" > /root/scripts/rsync.out
                               
                echo "Files have been copied to the production server successfully." | mail -s "Files Transfer completed" $EMAILS
        if [ $? -eq 0 ]
then
                        echo "--> E-mail Notification sent successfully ..."
                else
                        echo "--> FAILED to send notification ..."
                fi
        else
                echo "Files have already been copied to the production server."
                echo "0" > /root/scripts/rsync.out
        fi
else
echo "=> File transfer is still in the process ..."
        echo "1" > /root/scripts/rsync.out
fi
exit 0
Thank for your help.
Categories: Software and Help

grub cannot locate my encrypted partition after creating a boot disk

Linux Questions - Thu, 02/09/2023 - 09:05
Hi, after install a new boot disk, grub cannot find my encrypted partition after reboot. It brings me to a grub prompt.

when do ls on the encrypted partition , it says no known file system detected.

the fat partition contains efi dir with ubuntu and efi as its subdirs which contain efi files and grub.cfg under ubuntu. However I cannot find grub dir. How do I set grub prefix and root? regards
Categories: Software and Help

Distribution Release: Univention Corporate Server 5.0-3

DistroWatch.com - Thu, 02/09/2023 - 09:02
Univention Corporate Server (UCS) is an enterprise-class distribution based on Debian GNU/Linux. The distribution's 5.0 series has been updated, bringing new features, improved performance, and some new security options. "Determine group membership of users faster: The group membership of a user in UCS is now conveyed via the....
Categories: Distributions

A Guide to Redirecting Output to /dev/null in Linux

Linux Today News - Thu, 02/09/2023 - 09:00

If the unnecessary output of your script bothers you, dump it to /dev/null. This step-by-step will show you how.

The post A Guide to Redirecting Output to /dev/null in Linux appeared first on Linux Today.

Categories: General News

LXer: How to Set Up Peer-to-Peer VPN with Tinc on Ubuntu 22.04

Linux Questions - Thu, 02/09/2023 - 08:14
Published at LXer:

Tinc is free and open-source VPN software that can be used to create mesh VPN networks. It is a small and powerful VPN daemon that can be installed on multiple platforms. In this tutorial, you will set up a peer-to-peer VPN server with tinc using multiple Ubuntu 22.04 servers.

Read More...
Categories: Software and Help

How to Set Up Peer-to-Peer VPN with Tinc on Ubuntu 22.04

LXer Linux News - Thu, 02/09/2023 - 08:08
Tinc is free and open-source VPN software that can be used to create mesh VPN networks. It is a small and powerful VPN daemon that can be installed on multiple platforms. In this tutorial, you will set up a peer-to-peer VPN server with tinc using multiple Ubuntu 22.04 servers.
Categories: General News

How to Install VMware Workstation Player on Fedora

Linux Today News - Thu, 02/09/2023 - 08:00

Get the most out of your Fedora’s virtualization capabilities by installing VMware Workstation Player. Learn how here!

The post How to Install VMware Workstation Player on Fedora appeared first on Linux Today.

Categories: General News

dbus-1.14.4-x86_64-1.txz possible bug ?

Linux Questions - Thu, 02/09/2023 - 06:52
There seems to be bug in dbus-1.14.4-x86_64-1.txz

Been having a strange problem with thunar in xfce on slackware64-current.

The view settings would inexplicably reset to "factory default".

Set it to view hidden files, turn off the side pane, full date format, list view.

The next time thunar is pulled-up, hidden files are not showing,
side pane is on, back to icon view, date format is back to 'today/yesterday'
when switching to list view.

Simply reverting to dbus-1.12.20-x86_64-5.txz grabbed from slackware64-15.0
cured the problem and the view settings now stay where they've been set.

There might be other settings that are also not 'sticking' in addition to
what I've seen in thunar.
Categories: Software and Help

How to integrate ONLYOFFICE Docs with Moodle 4

HowToForge - Thu, 02/09/2023 - 06:16
ONLYOFFICE Docs is an open-source office suite that can be integrated with various cloud services and CMS systems. In this tutorial, we’ll learn how to connect the ONLYOFFICE Docs and Moodle instances using an integration plugin.
Categories: Software and Help

LXer: The Wait is Over: Transmission 4.0 Finally Released Today!

Linux Questions - Thu, 02/09/2023 - 05:53
Published at LXer:

After a long wait, Transmission 4.0 was finally released today! It is the latest version of the popular torrent client and promises to be a major leap forward in terms of usability, security, and performance.

Read More...
Categories: Software and Help

The Wait is Over: Transmission 4.0 Finally Released Today!

LXer Linux News - Thu, 02/09/2023 - 05:45
After a long wait, Transmission 4.0 was finally released today! It is the latest version of the popular torrent client and promises to be a major leap forward in terms of usability, security, and performance.
Categories: General News

Huawei E3372 internet (network) dongle

Linux Questions - Thu, 02/09/2023 - 05:35
The Huawei E3372 is a USB cellular network modem.
It is called a dongle and should connect to a USB 3.x port.
When you buy an E3372, get a new one or an unlocked used one. The E3372 box should contain the dongle and two ariels.
The E3372 needs an internet SIM. In the UK, a good choice is GiffGaff. Buy a new SIM (never a used one) and then choose your method of payment, contract or Pay As You Go. A contract has the usual contract terms and monthly payment method. A Pay As You Go method requires a monthly top-up which can be paid online by card or by using an ordinary GiffGaff top-up voucher. Check with GiffGaff for payment methods. The basic difference is that a contract will be better value but PAYG protects your privacy if you use vouchers.
You must register the SIM online with an email address.
Put the internet SIM in the dongle.
Fit the two ariels in the sockets on the side.
Connect the dongle to the compuer USB port, perhaps with a USB extension cable.
Then go through the Initial configuration below.
The following steps are based on Linux Mint 19.1, Cinnamon 4.0.10, Ubuntu 18.04.1. If you have an older version, maybe now is a good time to save everything on a big hard drive and update to Mint 19.1 or newer. (You can use that drive with a newer Linux.)
The dongle has drivers in firm ware that configure the dongle every time it starts. You need to ensure that the dongle is not trying to access the internet before the computer boot sequence completes.
Click menu > Preferences > Network: the dongle should be listed as USB Ethernet.
If there are any other network devices, you need to disable them before setting the E3372.
Click menu > Preferences > Network Connections > select the option for the dongle in the Ethernet list
> click on the Settings cog icon.
Click General tab > deselect Automatically connect to this network when it is available.
Click Ethernet tab. You should see a Device entry for the dongle. Cloned MAC address: might be the same entry.
> MTU: automatic
> Wake on LAN: select Default.
> Link negotiation: Ignore.
Click DCB tab > deselect Use Data Center Bridging (DCB) for this connection. (Unless you have a good reason to use DCB.)
Click Proxy tab > Method None (or Automatic)
> deselect For browser only.
Click IPv4 settings tab > Method Automatic (DHCP). All other fields should be blank.
Click IPv6 settings tab > Method Automatic, DHCP only. All other fields should be blank.
Click Save.
End of Initial Configuration. Reboot.
Normal Use of the dongle.
When you start the computer, you must wait until all the boot configuration completes before you turn on the dongle. At the bottom right of your screen in the panel, click on the network icon. In the pop-up menu, click on the button for HUAWEI MOBILE for a green tick.
To check the signal, click menu > Administration > System Monitor > Resources. If Network History shows activity then everything works. If there is no activity, leave the window open and watch it for a few minutes as your signal might be a problem.
The speed of the dongle will depend on how hot it gets, so put it in front of a fan !!
Categories: Software and Help

problem startx with non root users

Linux Questions - Thu, 02/09/2023 - 04:35
I have a problem with startx and non root users,
every reboot, before be able to startx from users, I have to startx with root...after that I can startx with others users too without problems.
what can be?

I'm on gentoo linux, xfce, my .xinitrc

Code: luna80@gentoo ~ $ more .xinitrc
exec startxfce4 thanks in advance
Categories: Software and Help

6.1.11: stable

Linux Kernel - Thu, 02/09/2023 - 04:29
Version:6.1.11 (stable) Released:2023-02-09 Source:linux-6.1.11.tar.xz PGP Signature:linux-6.1.11.tar.sign Patch:full (incremental) ChangeLog:ChangeLog-6.1.11
Categories: Linux Kernel

5.15.93: longterm

Linux Kernel - Thu, 02/09/2023 - 04:26
Version:5.15.93 (longterm) Released:2023-02-09 Source:linux-5.15.93.tar.xz PGP Signature:linux-5.15.93.tar.sign Patch:full (incremental) ChangeLog:ChangeLog-5.15.93
Categories: Linux Kernel

ddrescue overwrote destination drive, any salvation?

Linux Questions - Thu, 02/09/2023 - 04:10
Running latest Arch

I ran "ddrescue --force -n /dev/sdX /dev/sdY rescue.map" as described in the Arch wiki on how to use ddrescue
https://wiki.archlinux.org/title/disk_cloning
and probably about 5-10 minutes later I read on my phone that ddrescue OVERWRITES the destination drive so I immediately ran as fast as I could to stop ddrescue from destroying more.
Now im left with an unusable 1TB drive (the one I was cloning) and also an unusable 4TB drive (the destination drive)
Both are NTFS drives. 4TB drive now shows up as "unallocated", cant be mounted and testdisk found 0 partitions.
I did run WxHexEditor and open the drive and to my surprise there is still a big amount of data intact. This drive probably has around 400~ GB of data on it but I dont think there is that much left now.

Is there any chance of me "rebuilding" the filesystem? slim chance but I just have to ask.
I could just reformat it bcs it is mostly 400GB of games from Steam but there is still alot of Assetto Corsa mods that I would lose if I did that.

I feel my best bet is to run a data recovery program now no?
Get the few personal files and the Assetto mods off and then reformat?
Worst case scenario maybe I can directly copy files via WxHexEditor by finding the start and the ends of files? idk thats probably waaay to tedious to spend any time on.
Quite ironic how I was going to clone a failing drive and ended up failing another drive :(
Categories: Software and Help

LXer: The king of open-source office suites gets a new set of app icons, new features, and plenty of bug fixes

Linux Questions - Thu, 02/09/2023 - 03:24
Published at LXer:

With every update, LibreOffice becomes the best alternative to Microsoft Office and the first choice for Linux users. After six months of continuous development and efforts of 144 contributors (Thank you!), the Document Foundation announced the release of LibreOffice 7.5, which brought many notable improvements.

Read More...
Categories: Software and Help

Pages