Latest Linux and Unix Posts

cPanel is used by many major hosting companies and it offers the ability to move hosting accounts from one host to another with ease. Also it is very popular and most customers know and understand how to use the control panel. When customers are looking for a new company they don't necessarily want to learn a new control panel. I have been using cPanel for several years now and I can say that they do provide outstanding support when needed. You will not receive such important features from a free control panel.

Regards,
Akshay

Thank you

I was interested if there is an approach to separate metadata from wav documents. For example, would you be able to get bpm, key, instrument, and so on from a .wav document on transfer?

I need to give a shot JDBC, and use it to interface with my localhost MariaDB* server. I figure the Datasource URL ought to be set to either mysql://localhost:3306/or mysql://localhost:3306/mysql. Are Datasource URL and JDBC driver class two elective approaches to set up JDBC?

In any case, when I restart it straightforwardly run windows 10 (No decision OS menu) show up again Go into <ubuntu> and select grubx64.efi and it should boot up. be that as it may, as long as no mistakes, you ought to have the option to reboot now and get grub first. After you have transformed it back to UEFI mode, at that point reboot once more into Windows

I couldn't write this is always the fix, only that it's the most common one I've used.

The problem was solved when I restored BIOS to default values.
I don't know what has been changed (I have not changed any values), but now it seems to work.
The GRUB is a beta-version.... (?)
Thanx!

But it's very strange that it worked the first time I did a reboot after changing the GRUB config. But then it suddenly stopped working.
OK, I'll check the BIOS.

I've seen that but it usually comes down to USB keyboards, BIOS and settings in the BIOS. Try what options you have for USB legacy and keyboard support in the BIOS. Be aware there is no one fix for this but many. I'm sharing the one I run into.

I've discovered a weird problem with my Linux Mint-system (Linux Mint 18).
After rebooting my system (or restarting as well) I got the GRUB menu, but my keyboard is not responding...
So I have to wait for the timeout to get my system booted.

The keyboard is wired to the computer through an USB-connection. So it's not wireless.
And it works OK as soon as my system has booted.. (?).

I have installed/loaded Linux kernel 4.4.142, 4.4.143 and 4.4.145.
When running kernel 4.4.142 Virtualbox and VMWare Workstation works as it should, but when I try to use 4.4.143 or 4.4.145 they both refuse to load.
So I want to be able to choose which kernel to run depending on what I want to do.. :-)

What I've done on other distros is yes to your question 1. After I have a working install I add users later.

"Red Hat uses strict trademark rules to restrict free re-distribution of its officially supported versions of Red Hat Enterprise Linux"

So this is a Linux you pay for? Sorry, I'd go get a really free Linux.

I've just installed RHEL 7.6. I've installed Base environment: Server with GUI with all addons for selectred environment

During Installation I created Root Password & created user form User Creation with, Make this user administrator option

Now, post install & after successful login to RHEL environment, I'm unable to install any software or access KUser to edit user permission or change user group

While installing anything it gives error something went wrong, Error msg when trying to use KUser , Error opening /etc/shadow for reading

  1. Should I install again with Root only?
  2. How to give root permissions to user created during Installation?

Ref:- Installation of “Red Hat Enterprise Linux (RHEL) 7.0” with Screenshots

Need books or tutorials to working in RHEL7 GUI

I've used cPanel the most, but this is because it comes with every new hosting package at Namecheap. I had to install it onl;y once myself as cPanel WHM on a VPS for a project.
I don't know Fastpanel, but I see it's free for 18 months and after that you will have to pay for it. It would be handy if they would say on their website how much this will be.

Plesk, just to throw another into the mix. Why? A combination of legacy and lethargy with a bit of if it ain't broke for good measure I guess...

I want to see your suggestions on comparing CPanel and FASTPANEL.

I used CPanel for some time but later I changed to FASTPANEL which is absolutely free but provides you with the same opportunities. Also FASTPANEL's design looks much better than CPANEL's one. So now I can't understand why people pay for CPanel.

What panel do you guys use and why?

Command enable/disable managed auto start of service on PC switch on or restart but for start/stop service must be used start/stop/restart command or you can check status using command status e.g.

systemctl status apache2

List of enabled/disabled srvices ~$ systemctl list-unit-files
Script for enable:

#!/bin/bash

for i in $*
do
    sudo systemctl enable $i
done

Call above script with passing multiple arguments or call below script with hardcoded services

#!/bin/bash

for i in eg_service_1 eg_service_2 eg_service_3
do
    sudo systemctl enable $i
done

What I like to know is if network programs still use this file?

I can comment out http port 80 without any effects on firefox:

># http 80/tcp
># http 80/udp

Then I can delete out /etc/services without no serious effects on the system:

>sudo rm -v /etc/services

The best of what I know is to manually enable/disable network services with systemd:

>sudo systemctl enable NAME
>sudo systemctl disable NAME

The next question is how would I get the list of network services to enable/disable all in
one config/script file on linux mint?

My recommendation is Codelobster IDE

Perhaps unreadable, but quick/easy/works -- you just have to master Perl5

perl -ne '$R{$1,$2}++ if m/^(\d+:\d+:\d+)[.]\d+;(\d+)$/; END{ for $tv (keys %R) { ($t,$v)=split($;,$tv); printf "%s occured at %s %d times\n",$v,$t,$R{$tv};}}' FILENAME

rproffitt commented: "Now they have two problems." +15

My advice is to expand the possible solutions to python or another scripting language. Just bash? Too much of a straight jacket approach.

Hello everybody,

I have the following records in a file.

15:00:00.870;334
15:00:00.872;1314
15:00:00.889;334
15:00:00.890;334
15:00:00.891;334
15:00:00.892;334
15:00:00.909;212
15:00:00.910;334
15:00:00.929;334
15:00:00.948;334
15:00:00.950;334
15:00:00.969;334
15:00:00.970;334
15:00:00.990;334
15:00:01.010;295
15:00:01.011;334
15:00:01.012;334
15:00:01.029;334
15:00:01.030;334
15:00:01.048;334
15:00:01.049;334
15:00:01.051;1314

I want to count second column occurrence per second, so I would be able to get something like the below:

1314 occurred at 15:00:01 1 time
334 occurred at 15:00:01 6 time
295 occurred at 15:00:01 1 time
334 occurred at 15:00:00 12 time
212 occurred at 15:00:00 1 time
1314 occurred at 15:00:00 1 time

Would someone help me with this please, thanks in advance.

I found a solution to this challenge here

It was necessary to downgrade to the MariaDB 1.5 JDBC connector

I now see that I will not be able send to the printer from a Solaris bash script, and therefore I am closing this thread.

Java Database Connectivity (JDBC). I think we don't have to cover whether or not Java is involved. I was hoping it was the old issue I ran into long ago where it didn't work at the time with the JRE but did with the JDK. Some folk lost a lot of time over that small distinction. If it doesn't apply today, that's OK. My intent was to share since I haven't worked this in some time.

From https://mariadb.com/kb/en/library/about-mariadb-connector-j/ item 4 under the Table of Contents, Requirements. There is only mention of Java.

Also, I have found that although Mariadb is a fork of MySQL and is supposedly 100% compatible, for O/JDBC use don't mix-up the two. What might work with MySQL offered by Oracle does not apply to Mariadb/MySQL.

I haven't done this in years but https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-usagenotes-connect-drivermanager.html had me installing the JDK rather than the JRE. I haven't looked into this for a very long time.

I am trying to establish a connection between LibreOffice (5.4.6.2) and Mariadb (10.1.29)/mysql. I have researched various resources on the web but am stuck not being able to establish a connection

preliminary steps taken:

  • the file mariadb-java-client-2.4.0.jar is downloaded from https://downloads.mariadb.com/Connectors/java/connector-java-2.3.0/
  • JRE is installed and enabled under LibreOffice Tools > Options > Advanced
  • in that Advanced tab, Class Path is set with mariadb-java-client-2.4.0.jar (I have tried with a path /opt/mariadb-java-client-2.4.0.jar and /home/<my user name>/mariadb-java-client-2.4.0.jar)

Based on web site and youtube tutorials, the next steps are to connect via LibreOffice Base. Using the wizard:

  • Connect to an existing database MySQL is chosen from the dropdown
  • after clicking Next >>
  • Under some video and how-to tutorials, there has been a third option of Connect directly... Is this a further clue that something is not set properly?
  • I choose Connect using JDBC...and click Next >>
  • I provide the database name, the server (have tried localhost and 127.0.0.1) and port number 3306
  • for the MySQL JDBC driver class I change the string to org.mariadb.jdbc.Driver according to https://stackoverflow.com/a/41842833/7932473
  • upon clicking Test Class, a dialog with The JDBC driver could not be loaded appears

I have used JDBC connections before under LO 3.x and MySQL before Mariadb came along. Ultimately, I want to use a connection to my database for further analysis of the data using Calc. Is this still possible? If my memory is not failing me, it is possible to open a Base registered ...

Hello, my name is John McPherson. I work for the DOL, in the Uneployment Insurance office, and I am working on an application that uses bash scripts as the controller running the application. I am trying to add a capability to email the output files to the users, which are the states that use the application. The case statement chooses which state to send the email to( or optionally not send an email if state does not want it), is erroring off. I am not sure what the problem is with code. The case statemnet in question is:

## print or display
    if test $print_flag
    then
      if [ $run = FF ]
      then
        rm -f picktbls
        /bfm/devt/comexec/prtmnu $showfl ##select tables >temp.d
        act=`cat temp.d`
        if [ "$act" = QUIT ]
        then ##canceled
          bfm_sigon
        elif [ "$act" != ALL ]
        then
          showfl=picktbls
        fi
      fi
                case $OPT1 in
                  ARKANSAS)
                    mailx -s "BFM Output" $ARUSER1 < $showfl;;
                  CONNECTICUT)
                    mailx -s "BFM Output" $CTUSER1 < $showfl;;
                  DC2)
                    mailx -s "BFM Output" $DCUSER3 < $showfl;;
                  GEORGIA)
                    mailx -s "BFM Output" $GAUSER1 < $showfl;;
                  INDIANA)
                    mailx -s "BFM Output" $INUSER1 $INUSER2 < $showfl;;
                  KANSAS)
                    mailx -s "BFM Output" $KSUSER1 $KSUSER2 < $showfl;;
                  KENTUCKY)
                    mailx -s "BFM Output" $KYUSER < $showfl;;
                  LOUISIANA)
                    mailx -s "BFM Output" $LAUSER1 $LAUSER2 < $showfl;;
                  MAINE)
                    mailx -s "BFM Output" $MEUSER1 $MEUSER2 $MEUSER3 < $showfl;;
                  MARYLAND)
                    mailx -s "BFM Output" $MDUSER2 < $showfl;;
                  MINNESOTA)
                    mailx -s "BFM Output" $MNUSER1 < $showfl;;
                  NORTH CAROLINA)
                    mailx -s "BFM Output" $NCUSER7 < $showfl;;
                  SOUTH CAROLINA)
                    mailx ...