Search results

  1. W

    How to run software made for Red Hat 7.7 on Red Hat 7.8

    Is this compiled code? If so, try using "ldd /path/to/binary" to find out what the required libraries are. Then, you can use "yum whatprovides */name-of-library" to find the package you need.
  2. W

    How to run software made for Red Hat 7.7 on Red Hat 7.8

    Typically, things do not break between RHEL releases. The only time things break is when the program is compiled for a very specific kernel, which this probably wasn't, since it's compatible with RHEL7.4-7.7. Worse case, you can try installing the compat libs but I don't think you'll need them.
  3. W

    ADD HP PRINTER DRIVER ON CENTOS 7

    You can download the HP Linux driver from here: https://developers.hp.com/hp-linux-imaging-and-printing To add the printer, you can use either the command line or a GUI. Here is a tutorial that should help you: https://arkit.co.in/add-printer-linux-adding-printer-cups-server-procedure/
  4. W

    Cannot connect programmatically from remote client to mysql server

    Here you go: https://dev.mysql.com/doc/connector-python/en/connector-python-connectargs.html And here are some examples: https://dev.mysql.com/doc/connector-python/en/connector-python-example-connecting.html
  5. W

    Cannot connect programmatically from remote client to mysql server

    On the client host, the socket won't exist and I would suggest using the port parameter instead. So, the connection string would look something like this: cnx = mysql.connector.connect(user='grunt', password='xxxx', host='192.168.1.100'...
  6. W

    Cannot connect programmatically from remote client to mysql server

    The error seems to indicate that the socket does not exist. I know this is simple but have you checked to ensure the socket, /tmp/mysqld.sock, in fact does exist? On my RHEL based systems, the socket is defined in /etc/my.cnf and is located here: /var/lib/mysql/mysql.sock.
  7. W

    "echo" Doesn't Save Situation After Reboot

    You could make a custom systemd unit file, executing a script containing the command above. Here is a general tutorial for making a "startup script" on Ubuntu 20.04: https://linuxconfig.org/how-to-run-script-on-startup-on-ubuntu-20-04-focal-fossa-server-desktop
  8. W

    Is port open automatically on linux?

    Server-A will not need any firewall modifications. Outbound connections are allowed. Server-B will not need firewall modifications, since there is no firewall. It will need an application to listen and accept connections on that socket. The server will refuse traffic on that port, if nothing...
  9. W

    mv move question

    Yes. The -f would not be necessary unless there is a file in the destination with the same name.
  10. W

    Disable Selinux Temporarily

    setenforce permissive
Top