New answers tagged

0

I've gotten this to work with the following parameters in my default config: LABEL Ubuntu 20 LTS MENU LABEL Install Ubuntu 20 LTS KERNEL ubuntu20/casper/vmlinuz # On PXE server, relative to TFTP Root INITRD ubuntu20/casper/initrd IPAPPEND 1 APPEND autoinstall ip=dhcp interface=enp5s0 ds=nocloud-net;s=http://<mywebserver>/ubuntu2004/...


1

This is a workaround solution for bazel build 'cacerts' issues, I feel. https://github.com/bazelbuild/bazel/issues/5741 In my case, I did as below, bazel --host_jvm_args="-Djavax.net.ssl.trustStore=/usr/lib/jvm/jdk1.8.0_261/jre/lib/security/cacerts" build -c opt --cxxopt=--std=c++11 --config=android_arm //tensorflow/lite/c:tensorflowlite_c GoodLuck!...


1

https://www.ibm.com/support/pages/how-configure-red-hat-enterprise-linux-8-run-rational-clearcase sudo yum -y group install base-x It looks like basex and base-x are slightly different.


0

Update: SRPMs are now available in https://vault.centos.org/centos/8-stream/AppStream/Source/SPackages/ The SRPMs aren't currently available. According to Johnny Hughes on the CentOS mailing list (17 Dec 2020): I'm sure src rpms will also be available in the future, once all the hardware and mirrors are in place (we can not support downloading directl off ...


0

For me, the solution worked after change ResultAny and ResultInactive to "no", like Cecilia comment's in the same aswer. My connection drop if i try to authenticate, but remain after cancel. I'm running Windows 7 RDP to Ubuntu 18.04 with Xrdp. [Allow colord for all users] Identity=unix-user:* Action=org.freedesktop.color-manager.create-device;org....


0

[nik@dlin1 ~]$ lspci -k|grep Network 00:19.0 Ethernet controller: Intel Corporation 82566MM Gigabit Network Connection (rev 03) 03:00.0 Network controller: Intel Corporation **PRO/Wireless 4965** AG or AGN [Kedron] Network Connection (rev 61) Then I downloaded iwl4965-firmware.noarch and installed it with: sudo dnf install iwl4965-firmware.noarch To see ...


2

It's not precisely firewalld that's adding those chains. As the names of the chains suggest, it's libvirt adding them on top of your firewalld configuration. CentOS 8 Stream's factory default configuration includes some preparations for running virtual machines (or for nested virtualization, if the CentOS 8 system itself is a VM). If you don't need to run ...


0

First of all, you can't remove the PV, because you don't have enough free space in the VG -- /dev/qw127 is ~372 GiB and you have only ~216 GiB of free space, so you first need to make sure you at least 372 GiB of free space in vger by resizing/removing existing LVs. After that you can use pvmove /dev/qw127 to move all the LVs from this PV to the other one ...


0

You must do following additional actions: To Configure Xrdp, first add exec gnome-session to the end of the configuration file /etc/xrdp/xrdp.ini Or use following command to add “exec gnome-session” to the end of the “/etc/xrdp/xrdp.ini” configuration file sudo bash -c 'echo "exec gnome-session" >> /etc/xrdp/xrdp.ini' Restart xrdp to load ...


0

check your current rules and disable as needed. sudo auditctl -l


1

(I am writing this in a way that other users who come across this answer can hopefully use it, not just the OP.) There are multiple methods available for this kind of problem, as well as issues and trade-offs for each. Typically, you do no want a process running constantly that is using up all your CPU/RAM, or you won't be able to use the system! You can ...


2

So, I found the above answer, and it superceded my question and was excellent but I have found from the above a simpler, and more back-reversible way to do this. mv /etc/yum.repos.d to /etc/yum_stream.repos.d This makes a copy of the state of the repos files on the date you're switching back, and also makes them not "seen" by yum/dnf cp -ax /etc/...


1

Why are you using the root account on the destination for this sync then? If you use the bpmdev account instead, all the files that reach there will be owned by that user. There may be other advantages if you don't otherwise need this account to have access to the root account there. rsync -av --include =*txt /var/lib/jenkins/*/. bpmdev@server.aws.local:/...


0

I came across this issue trying to connect to a work machine running xrdp on red hat enterprise Linux 7. I had installed miniconda and datalad in its base environment in my home folder on the remote machine and that broke windows remote desktop. The solution was surprisingly simple. I uninstalled datalad and reinstalled it in a new environment via SSH. I was ...


1

You can't do it. A process cannot modify the environment of a running process. There isn't even such a thing as “the current session” when it comes to environment variables. Each process has its own environment variable. And there can be multiple “current sessions”. It's bad practice for a program to require an environment variable anyway. You should only ...


0

SSH no longer has an idle timeout, but you can likely use the shell TMOUT variable instead. Mark it readonly to prevent tampering. SSH does have keep-alive settings, on both the client and server, but they’re not idle timeouts. They can be used to automatically detect and close non-responsive connections. And they can also do the opposite of an idle timeout:...


1

The systemd version in CentOS 7 (version 219) does not support the StandardOutput=file:.../StandardError=file:... syntax, which was only added in systemd version 236: StandardOutput= Controls where file descriptor 1 (STDOUT) of the executed processes is connected to. Takes one of inherit, null, tty, journal, syslog, kmsg, journal+console, syslog+console,...


1

You can use the shell output redirection symbols: > and >>. > creates a new file or overwrites an existing file. >> creates a new file or appends to an existing file. e.g.: ls >> lsoutput creates a file called lsoutput in your current working directory with output of the ls command. If lsoutput already exist, the ls command output ...


0

You might like the latest last: rpm -qa --last | tac


0

On modern distros you'd do xdg-screensaver activate


1

To paste a selected area into a new image, use the Rectangle Select Tool (R), then choose Edit -> Paste as -> New Image (Shift+Ctrl+V). If you just want to crop the image, use the Crop Tool (Shift+C) or the Rectangle Select Tool followed by Image -> Crop to Selection.


0

my client config openvpn.ovpn includes up /etc/openvpn/update-resolv-conf down /etc/openvpn/update-resolv-conf update-resolv-conf is basically #!/bin/sh IFACE=`route -n show | grep -m 1 default | awk '{ print $NF }'` dhclient -r $IFACE case "$script_type" in up) echo "prepend domain-name-servers $route_vpn_gateway;" > /etc/...


3

Old versions of Centos can be found at http://vault.centos.org. You will probably find your packages at https://vault.centos.org/6.10/os/x86_64/Packages/; if not, a little searching will be required.


0

I was able to find a solution to my problem after some further research. Turns out under Settings Manager > Workspaces > Margins you can set an area where windows will not be placed. This solution is working well for my needs and I hope this may provide a solution to anyone else in the future.


0

It turns out I didn't need to do this anyways. It appears vim-enhanced yum package configures the vi to vim alias automatically when installed. So once I'd fully updated the yum packages I got the alias I wanted. Still not sure where the aliasing is done though.


2

I don't know why you wouldn't want root to also have alias vi=vim but it's not hard to do. You're using bash, so you can use bash's $UID or $EUID read-only variables to test if the user is root...so, building on your idea of putting an alias in /etc/bash.bashrc: [ "$EUID" != "0" ] && alias vi=vim With other bourne-like shells ...


0

If you're on MacOS and are having this issue run wget as follows: wget -c --ca-certificate=/usr/local/etc/ssl/cert.pem https://www.python.org This references the file with your CA certificate bundle. It should be under /usr/local/etc/ssl. To avoid having to type --ca-certificate= all the time, you can put the following in your wgetrc: ca_certificate=/usr/...


1

You could set up a crontab for the user ID that runs the apache process, or under the root id, where the crontab entry would be like: @daily cd /var/domlogs; > logfile.log You don't need to create a shell script for a simple task like this; just separate the commands with the ; character. The @daily is a GNU extension to run daily at midnight; you ...


1

It seems that Anaconda does not like to scan disks with faulty partition tables. In my ignorance I thought "just let me start installing and I'll fix it", but since the installation would not even start that was a no-go. I knew that the SSD might be the issue, so I removed it (in the end...) and re-started the install. And now the Install actually ...


0

Linux doesn't have a concept of "drivers" per se. What we have are kernel modules which are tied to the kernel release. There are some separate entities, e.g. X.org and Mesa which could be considered "drivers" as well but they are controlled by your distro. You can perfectly update the kernel, X.org and Mesa on your own though (which is ...


2

I finally found my answer. In order to force a text install to stop for user input on timezone instead of using the default America/New York, specify timezone in ks.cfg in the following way with "" for timezone parameter: ks.cfg timezone setting: # timezone timezone "" --nontp If you comment out timezone or try to use timezone --nontp ...


0

The kernel version you are looking at is the CentOS 8 kernel, which is not available on CentOS 7. If you want a newer kernel on Centos7, you can get a 5.4 kernel currently with the ELRepo kernel-lt package (the current “long term” kernel as of April, 2021) or a 5.11 kernel with the kernel-ml (mainline) package. Each have their own -devel and related packages....


2

Since you mentioned incoming connections and in particular replies going the wrong way, it sounds like it might be enough to have packets sent with the source address 10.150.114.190 (eth2) use the routes that go via 10.150.114.191, and similarly for eth1. Policy-based (source) routing should be able to do that. It should basically boil down to something like:...


0

I spent a long time looking at this today, and it appears the solution is 90% encapsulated in the nodesource documentation. How to install v.14.x (since 15 is a bit too new and 14 is better field-tested)... Node.js v14.x As root curl -fsSL https://rpm.nodesource.com/setup_14.x | bash - No root privileges curl -fsSL https://rpm.nodesource.com/setup_14.x | ...


2

last is not a separate package, but a command provided in package util-linux: On a RHEL/CentOS 8 system that has the last command installed: # rpm -qf /usr/bin/last util-linux-2.32.1-24.el8.x86_64 # dnf provides /usr/bin/last util-linux-2.32.1-24.el8.x86_64 : A collection of basic system utilities Repo : @System Matched from: Filename : /usr/bin/...


2

Even if you have no auditing software installed. The file-system is probably configured to record the time of the most recent read. It won't tell you who. But it may be useful. (If you have read the files most recently then that is the time that you will find). Note it is the file read, not the file-name/directory read (these have there own read time). If ...


0

you can use ip route add default via 50.50.50.50 dev ens785 or ip route add default via 50.50.50.50 dev ens785 onlink if the net 50.50.50.0/24 is not configured locally btw 50.50.50.50/0 is supposed to be 0/0, which is an alias for default?! ip r a 0/0 via 50.50.50.50/32 .. is the same as ip r a default via 50.50.50.50/32 .. apart from that, there is no ...


Top 50 recent answers are included