Linux Distributions

27K

Solutions

20K

Contributors

A Linux distribution is an operating system made as a software collection based on the Linux kernel and, often, on a package management system and are available for a variety of systems. A typical Linux distribution comprises a Linux kernel, GNU tools and libraries, additional software, documentation, a window system (the most common being the X Window System), a window manager, and a desktop environment. Most Linux systems are open-source software made available both as compiled binaries and in source code form, allowing modifications to the original software. Over three hundred distributions are in active development, including commercially backed distributions (such as Fedora, openSUSE and Ubuntu) and community-driven distributions (such as Debian, Slackware, Gentoo and Arch Linux).

Share tech news, updates, or what's on your mind.

Sign up to Post

i have an iso of 18.04.3 desktop-amd64.iso.  how do i burn this to a dvd?  i've done it before but i forget.  i'm currently running ubuntu 16.04.
0
HTML5 and CSS3 Fundamentals
LVL 13
HTML5 and CSS3 Fundamentals

Build a website from the ground up by first learning the fundamentals of HTML5 and CSS3, the two popular programming languages used to present content online. HTML deals with fonts, colors, graphics, and hyperlinks, while CSS describes how HTML elements are to be displayed.

Let's say following Yocto project image or embedded linux distribution was created by using remote virtual linux box from windows computer:

Image Name:  fsl-image-validation-imx
Target:  Builds an i.MX image with a GUI without any Qt content.

Please refer to section 5.2 in attached i.MX_Yocto_Project_User's_Guide.pdf

The created filename that needs to be loaded in Secure Digital(SD) card is:  fsl-image-validation-imx-imx8qxpmek-20190904151816.rootfs.sdcard

This file has been copied from linux virtual box to windows computer.

How do I load this file into SanDisk Ultra 8GB class 10 SDHC card using my windows computer?

After successful load, this SD card will be inserted into NXP i.MX 8QuadXPlus Multisensory Enablement Kit(MEK) evaluation board to boot embedded linux kernel.

What do I need to know about SD card in order to successfully load image into it from my windows computer.  Do I need to format SD card first?  I'm familiar
with formatting hard disk but never formatted SD card?  Do I need to create partitions?  In hard disk paritions are created to load different OS in each partition.  what
about SD card?

Hard disk internal structure consists of tracks and sectors.  Do I need to know SD card structure for successfully loading image into it from windows computer?
i.MX_Yocto_Project_User-s_Guide.pdf
0
Hello!
I have Ubuntu 16.04 (Desktop Edition) with OpenVPN server and BIND9 installed. I used a script when I installed OpenVPN. My OpenVPN client is a W10 netbook with 4G USB modem.
When I choose to use Google DNS during OpenVPN installation then I can surf the Internet via OpenVPN just fine (on my OpenVPN client W10 machine). But if I choose to use a current DNS settings (ie. my own BIND9 server), then I can connect from client to server, but DNS doesn't work. I know that I must edit config file of OpenVPN server server.conf AND to also edit client.ovpn client's OpenVPN file too. And I don't know exactly whether my DNS server (BIND9) is properly configured to play this kind of role.
When I go to W10's CMD and do ipconfig /all I do see DNS server with a correct IP of my BIND9 (it's a public IP of my Ubuntu machine, actually). Nevertheless, DNS doesn't work on a client machine and I couldn't find a complete step-by-step manual how to enable this scheme.
0
Hello

Having a somewhat surprising issue - our mail flow on our Zimbra server is down (both inbound and outbound) yet the server seems healthy and no error seems reported.

1. Server is up (8.8.10_GA_3786) on Ubuntu 16
2. Admin health status page shows every service up & running (green)
3. Webmail access is ok
4. IMAP access is ok

However, no mail is flowing in or out.

Trying to send triggers the following errors:

SMTP

19:03:25 Ready to run action (retry count: 0)
19:03:25 Clearing connection to zimbrams.domain.com
19:03:25 Trying to connect to zimbrams.domain.com on port 465 (CFNetwork) with STARTTLS (required)
19:03:25 Resolved hostname (zimbrams.domain.com).
19:03:25 Error: Connection error (Connection refused).
19:03:25 Error code: 2
19:03:25 Failed action (0). Reset observed read/write timeouts: 8/8

Open in new window

or
MBP13:~ alex$ telnet zimbra.domain.com 25
Trying *.*.187.68...
telnet: connect to address *.*.187.68: Connection refused
telnet: Unable to connect to remote host
MBP13:~ alex$ 

Open in new window


(ie the connexion is actively refused)

webmail

method:	[unknown]
msg:	try again: Unable to connect to the MTA
code:	mail.TRY_AGAIN
detail:	soap:Receiver
trace:	qtp66233253-2518:1568314842997:7a36c58c222c3898
request:	
Body: {
  SendMsgRequest: {
    _jsns: "urn:zimbraMail",
    m: {
      e: [
        // [0]:
        {
          a: "someone@gmail.com",
          t: "t"
         },
        // [1]:
        {
          a: 

Open in new window

0
Was told by one of the vendor selling Ivanti (LanDesk related)
patch mgmt product that RedHat had since controlled it such
that any products that do patching for RHEL must have a
Satellite server with valid subscriptions for each RHEL endpoints
to be patched.

We don't want to do 'yum' (ie permit backend servers' connecting
to RHEL).


Q1:
So without Satellite, is there any products our there that could
do patching of RHEL endpoints?  

Q2:
Is this requirement to have Satellite something that Bigfix also
require?  Seems like the vendor selling Satellite is not aware.

Q3:
Is there any scripts or tools out there that could pull all the
patches down with a single RHEL subscription, build a patch
repository which can be propagated down to our RHEL
endpoints?   I recall an ex-colleague who has built an RHEL
VM that could do something like this but I've lost touch with
him.

Q4:
Some years ago, a member in SunManagers list shared with
me that Satellite could patch Solaris as well (possibly that's
in the days of RHEL Ver 4.x): is this still the case today that
Satellite could patch Solaris?   What about Ubuntu, Debian,
& CentOS Linuxes?
0
I have a digital scale connected via USB to my Ubuntu laptop and I would like to read the measurements from it.
The serial protocol is very simple (9600,8N1, ttyUSB0) and I'm able to correctly read the measurements by using putty (VT100+) from terminal.

The scale needs to receive the command
"READ<CR><LF>"

Open in new window

in order to send the measurement.
Each measurement has this format:
01ST,GS,   2.5,kg<CR><LF>

Open in new window

if, for example, I'm measuring a 2.5Kg load.

Now, I'm trying to send the READ command from a C application, but I'm not able to get any answer.

#include <errno.h>
#include <fcntl.h> 
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <termios.h>
#include <unistd.h>

int set_interface_attribs(int fd, int speed)
{
    struct termios tty;

    if (tcgetattr(fd, &tty) < 0) {
        printf("Error from tcgetattr: %s\n", strerror(errno));
        return -1;
    }

    cfsetospeed(&tty, (speed_t)speed);
    cfsetispeed(&tty, (speed_t)speed);

    tty.c_cflag |= (CLOCAL | CREAD);    /* ignore modem controls */
    tty.c_cflag &= ~CSIZE;
    tty.c_cflag |= CS8;         /* 8-bit characters */
    tty.c_cflag &= ~PARENB;     /* no parity bit */
    tty.c_cflag &= ~CSTOPB;     /* only need 1 stop bit */
    tty.c_cflag &= ~CRTSCTS;    /* no hardware flowcontrol */

    /* setup for non-canonical mode */
    tty.c_iflag &= ~(IGNBRK | BRKINT | PARMRK | ISTRIP | INLCR | IGNCR | ICRNL | IXON);
    tty.c_lflag &= ~(ECHO | ECHONL | ICANON |

Open in new window

0
I have an electronics board which has 16 relays and it works over TCP/IP.
The IP address of the board is 192.168.1.4 and the port is 3000.
I would like to control it with C/C++ under Ubuntu.

There is a list of HEX commands that it is possible to use in order to remotely switch ON and OFF each relay on the board.
This is the list:
"580112000000016C",  // switch on the relay 1

"580111000000016B",  // switch off the relay 1
"580112000000026D", // switch on the relay 2
"580111000000026C", // switch off the relay 2
"580112000000036E", // so on..
"580111000000036D",
"580112000000046F",
"580111000000046E",
"5801120000000570",
"580111000000056F",
"5801120000000671",
"5801110000000670",
"5801120000000772",
"5801110000000771",
"5801120000000873",
"5801110000000872",
"5801120000000974",
"5801110000000973",
"5801120000000A75",
"5801110000000A74",
"5801120000000B76",
"5801110000000B75",
"5801120000000C77",
"5801110000000C76",
"5801120000000D78",
"5801110000000D77",
"5801120000000E79",
"5801110000000E78",
"5801120000000F7A",
"5801110000000F79",
"580112000000107B",
"580111000000107A",
"5801130000FFFF77",
"580113000000007B",
"5801100000000069"

I'm correctly able to switch on and off each relay by sending command line commands under Ubuntu:

echo '580112000000016C' | xxd -r -p | nc 192.168.1.4 3000

Open in new window

The above code correctly turns on the relay.

I would like to do the same with C/C++ code since I want to control the …
1
Hello expert,
We are not able to run any command in our Ubuntu 18 LTS and we are getting the following error "cannot create temp file for here-document: No space left on device". So, how can I free up space if the root account is itself looked.
0
Q1:
Is there any hardening guide for RHEL 8?
If there's none, can I assume it's very close to RHEL 7's hardenings?
Then I'll ask vendors to harden RHEL 8 as per CIS RHEL7's benchmark.

Q2:
We're hosting docker/microservices in an RHEL host: previously the
vendor tested using RHEL7: can I safely say it makes no difference/
impact to the services/app whether we use RHEL 7 or 8?

Q3:
at the VMs level is there any difference/impact?  The docker
instances is spinned from the various Ubuntu, Debian images,
so I'm guessing it doesn't matter which version of RHEL runs
on the VMs
0
i have a nas which is mounted in ubuntu 16.
nas is restarted and ubuntu missing this mount.
Now i can't mount it because the old one is running i can't find the process via ps -ef | grep nfs
and i do not like to reboot server because of that.how to find process it's no possible to make ls -l /mnt/archive because it old one running
i can without any problem mount it under fx. /test but i need to stop the old one.
0
Exploring ASP.NET Core: Fundamentals
LVL 13
Exploring ASP.NET Core: Fundamentals

Learn to build web apps and services, IoT apps, and mobile backends by covering the fundamentals of ASP.NET Core and  exploring the core foundations for app libraries.

I've written some simple Python scripts and now I would like to write a Python script that can be installed and run as a service.

I know how to take a Python program and run it as a service but how would I write a Python program that can be installed?

My operating system is Ubuntu 18.04.
0
I'm developing a WxWidgets application under Ubuntu and I'm using CodeBlocks as IDE.

I need to:

  • read the data stored in a magnetic card band
  • check if they are OK
  • parse the string in order to get the code, the name and the surname

I'm using a USB magnetic card reader and I set a TextCtrl as "focused" so it immediately gets the data from the reader automatically.

The format of the string is like this:

%URSMCC84R04E815LURSO  MARCO_ò8038001605011036724_

Open in new window


The control characters are always the same and I need to read everything between % and _.
I need to obtain three strings:
  • the first one containing the first 16 chars
  • the second contains the surname which goes from the 17th till the first space
  • the third string contains the name and goes from the first char after the space till the _

What is the best way to do this in Wxwidgets?
Moreover, since the reader emulates a keyboard, the output string is read a char at a time, so how can I design the parsing code?

This is the code I'm using to read the string.

void ProjectFrame::OntesseraText(wxCommandEvent& event)
{
    wxString stringa_tessera = tessera->GetValue(); // I read the string coming from the USB reader
    TextCtrl2->ChangeValue( stringa_tessera ); // I load the string in the second TextCtrl just for test
}

void ProjectFrame::OnTextCtrl2Text(wxCommandEvent& event)
{
// TextCtrl used to display the parsed string
}

Open in new window


I see that there is a class wxStringTokenizer, should I use it?
I'm sorry but I'm just a beginner :(

Thank you!
0
my printer is a brother hl-l2340dw.  i am using ubuntu as my OS.  is there something i should do to get this printer to work?  i am hoping to get around switching to Windows.  i don't like their updates very much.  where it tells you to not shut you're computer down.
0
How do I disable chef-client on a node?  7 days then autoenable is preferred.
0
I connect to remote Linux VM from my windows PC puTTy terminal or from remote desktop.

The Linux VM distribution is Ubuntu 18.04.2 LTS.  It is 64-bit.

What is python3-pexpect.  It isn't installed.  Will 'sudo apt-get install python3-pexpect' install it?
0
I remotely connect to Linux VM from windows PC puTTy terminal or remote desktop connection.  The version is Ubuntu 18.04.2 LTS.  It is 64-bit.

How to install 'python3-pip' package?

Is 'python3-pip' python application?  Does 'pip' need to be installed first?
0
Is gawk package installed in my linux laptop?  My linux distribution is Ubuntu 18.04 LTS

@system76-pc:~$ awk --version
awk: not an option: --version

@system76-pc:~$ which awk
/usr/bin/awk

@system76-pc:~$ apt-show-versions awk

Command 'apt-show-versions' not found, but can be installed with:

sudo apt install apt-show-versions
0
i have a very little script which is running when i use   $ ./check_dock
docker -com.... ok cpuuerc 0.xx%
 when i used in $ ./check_nrp -H "ip/localhost/127.0.0.1" -c check_dock
return:  NRPE: Unable to read output
all other command i defined in nrpe is running.
What i missing here?

my check_dock scripts is:
-------
#!/bin/bash -el
#
#
#
# Author: Bahman Sharzad
# Mail: bshmsn.sharzad@process-factory.dk

SUDO=/usr/bin/sudo
alias direc="cd /usr/local/nagios/libexec"
# . check docker container
ERROR_CODE1=-1
statu=$((sudo /usr/local/nagios/libexec/check_docker -n $1 -c 80,90) | awk '{print $2}')
#echo $statu
all=$(sudo /usr/local/nagios/libexec/check_docker -n $1 -c 80,90)
#echo $all
if [ $statu = 'WARN' ]; then
        echo $all
        ERROR_CODE1=1
elif [ $statu = 'CRIT' ]; then
        echo $all
        ERROR_CODE1=2
elif [ $statu = 'OK' ]; then
        echo $all
        ERROR_CODE1=0
fi
exit $ERROR_CODE1
------

and command in nrpe is
--
command[check_dock]=/usr/local/nagios/libexec/check_dock docker-compose_mongodb_1
---
i run command :  $ sudo ./check_nrpe -H 127.0.0.1 -c check_dock
NRPE: Unable to read output
0
I remotely connect to Linux VM from windows PC puTTy terminal or remote desktop connection.  The version is Ubuntu 18.04.2 LTS.  It is 64-bit.

How to find out if this Linux distribution has xz-utils package ?
0
OWASP: Forgery and Phishing
LVL 13
OWASP: Forgery and Phishing

Learn the techniques to avoid forgery and phishing attacks and the types of attacks an application or network may face.

I connect to remote Linux VM from windows PC puTTy terminal or remote desktop connection.

Linux distribution version is:  Ubuntu 18.04.2 LTS
Does this distribution contain "build-essential" package?

What tools does "build-essential" package contain?

Does "build-essential" package include g++, gcc, make?  What other tools does it include?
0
I connect to remote Linux VM from my windows PC puTTy terminal or from remote desktop.

The Linux VM distribution is Ubuntu 18.04.2 LTS.  It is 64-bit.

How to find out if gcc-multilib is installed in my Linux VM?
0
i install nextcloud (16.03) on ubuntu. i try to setup mail function as:
send mode :smtp
 encryption :STARTTLS
serveradress: smtp.gmail.com port:587
(attach file)
i have error: A problem occurred while sending the email. Please revise your settings. (Error: Expected response code 250 but got code "530", with message "530-5.5.1 Authentication Required. Learn more at
 530 5.5.1 https://support.google.com/mail/?p=WantAuthError m11sm3234263lfk.56 - gsmtp
 ")

Any idea?
i set less security app on google account
mail.png
0
i have a ubuntu lxd container (on ubuntu 18.04).
i add a domain group in visudo. and run lxc set security.priviliged true on my lxd docker.
i try to update ubuntu 16 as domain user in sudores group:
return error : sudo apt update
sudo: unable to resolve host “my-host”
sudo: no tty present and no askpass program specified.
0
Hi Experts,

I get the following error when I convert tiff to jpeg with wand (python library) of imagemagick on linux ubuntu machine

wand.exceptions.CoderError: Read error at scanline 3373; got 27894 bytes, expected 30000. `TIFFFillStrip' @ error/tiff.c/TIFFErrors/568

Open in new window


When I open image with paint and convert it jpeg it is working fine.  But when I do it programatically it is throwing these errors.  Please help in resolving this issue.

Thank you

Bharath
0
https://www.ubuntupit.com/best-linux-antivirus-top-10-reviewed-compared/

Referring to above URL, I'm looking for a realtime (ie on-access) AV for
Linux (RHEL, Ubuntu, Debian, CentOS) :
ClamAV requires something additional to be able to do on-access can.

Q1:
is Comodo free of charge?

Q2:
Can it run on RHEL, Ubuntu, Debian & container OS
& offer on-access scan without additional package?


Q3:
Can point me to where to download it & its install/user guide?

Q4:
Can we add hashes to it (when we get threat intel) so that
it can scan the extra IOCs besides virus signatures from Comodo?
0

Linux Distributions

27K

Solutions

20K

Contributors

A Linux distribution is an operating system made as a software collection based on the Linux kernel and, often, on a package management system and are available for a variety of systems. A typical Linux distribution comprises a Linux kernel, GNU tools and libraries, additional software, documentation, a window system (the most common being the X Window System), a window manager, and a desktop environment. Most Linux systems are open-source software made available both as compiled binaries and in source code form, allowing modifications to the original software. Over three hundred distributions are in active development, including commercially backed distributions (such as Fedora, openSUSE and Ubuntu) and community-driven distributions (such as Debian, Slackware, Gentoo and Arch Linux).