Tag Info

Hot answers tagged

5

Avahi is the opensource implementation of Bonjour/Zeroconf. excerpt - http://avahi.org/ Avahi is a system which facilitates service discovery on a local network via the mDNS/DNS-SD protocol suite. This enables you to plug your laptop or computer into a network and instantly be able to view other people who you can chat with, find printers to print ...


3

As root, say # systemctl --reboot Or, simply: # reboot On systems where systemctl can reboot the system, reboot is usually symlinked to it, so that systemctl detects the action to perform by the name it was called by. If you're on RHEL 7 or newer or you have manually configured sudo on RHEL 6 or older, you may not have to log in as root or su up to ...


3

Your home folder may not be identical on each system. You can check .bashrc or .bash_profile scripts are handle on each server. for the prompt you need to include export PS1="\u@\h \w> " in your bash login script (.bash_profile) You may want to have your home directory on a NFS mount to be able to see similar environment on each system.


3

The bash prompt is configured by the PS1 environment variable. You can get the same prompt as you desire by adding export PS1="[\u@\h \W]\$ " to your .bashrc file (located in your user's home directory). The full list of special characters that you can use for your prompt can be found in the official Bash documentation.


2

Assuming your login shell on both machines is bash, it's the PS1 environment variable that is different. This variable dictates the format of your prompt. You can use echo $PS1 to see what PS1 is set to on the first machine, then use export PS1=... to set it to the same value on the second machine. To make this change permanent, you should add the export ...


2

The entry for RHEL4 on the table on Wikipedia indicates "28 February 2015" as the end of "Extended Life Phase", the end of "Production 3 Phase" was 29 February 2012. During that extended phase, between those dates, there is support only for customers that "pay an additional subscription" (and that for a subset of packages). This is clearly indicated in the ...


2

There doesn't seem to be a manpage for the interfaces config files in RHEL but the documentation can be found in: /usr/share/doc/initscripts-*/sysconfig.txt Look for the sections describing files /etc/sysconfig/network and /etc/sysconfig/network-scripts/ifcfg-<interface-name> Also in your example the command whatis ifcfg returns ifcfg (8) - ...


2

The packages perl(Net::Telnet) are what are called virtual packages. They exist only in name and are essentially an "alias" for the real package whose name is really perl-Net-Telnet. These packages come into existence through their definition within the .spec file as provides or requires. You can see some here in this package, perl-Net-HTTP: $ more ...


1

If you are not writing your own software but want to start/stop existing service, than like @jasonwryan wrote, RHEL/Fedora are using systemd. The command for handling services is systemctl. systemctl start/stop/restart servicename If you want to list the installed services, use: systemctl list-units


1

I think you are mixing things called tar-balls (when referring to multiple folders), with regular installation packages (files ending in .deb on Debian/Ubuntu and in .rpm on Red Hat/Fedora/SuSE). The former is "only" a, often compressed, directory structure with some instruction (in the form of scripts, Makefiles, configuration files) to get the files ...


1

is it possible to port the latest required version of libxml2 to RHEL 4 that way I can use the latest version of ModSecurity? Yes. The ideal way to do this is to install it into /usr/local, presumably building from source. After the build and install, you will need (as root) to run ldconfig to update the linker cache. Libraries in /usr/local/lib ...


1

First, create a new file in the /etc/sysconfig/network-scripts directory called ifcfg-team0 that looks like this: DEVICE=team0 DEVICETYPE=Team ONBOOT=yes BOOTPROTO=none IPADDR=1.2.3.4 NETMASK=255.255.255.0 TEAM_CONFIG='{"runner": {"name": "lacp"}, "link_watch": {"name": "ethtool"}}' Obviously you need to change the IP address and netmask appropriately. ...


1

You have three options: run alternate sftp server on a separate port run sshd on a port other than 22 or not to run sshd at all - that will leave port 22 available for alternate sftp server use Subsystem sftp /path/to/alternate/sftp-server which makes sshd handle the initial connection and handing it over to the appropriate application. However, ...


1

A lot of peripherals are removable (USB, Firewire, PCMCIA, hotpluggable PCI, etc.). Furthermore a system installation might be moved to new hardware if the old hardware failed or had to be upgraded. Linux distributions tend to provide all the drivers that you might possibly need, preferring to waste a few megabytes of disk space rather than tell you ...


1

You need to make sure that the service starts at boot. To do this, run the following: # chkconfig vncserver on Note that this will start the service on the next boot. To start it now, you will still need to run: # service vncserver start


1

The default to "root" is probably coming from your PuTTY configuration. Check the following option:


1

To see total progress with rsync, the modern versions (from 3.1.0) has option --info=progress2. rsync must be running on the same machine as source files (or with NFS) for this to show sane values. Don't forget to supply -a option too if you copy system directories.


1

Since this question is RPM specific, rpm is the way to get started (as answered by @Matteo). rpm flags -q is short for --query -l is short for --list Example rpm -ql jdk1.8.0_20 | grep "jdk1.8.0_20/bin$" /usr/java/jdk1.8.0_20/bin Knowing this may be desirable for setting a user or application's $JAVA_HOME variable. This is often needed when a ...



Only top voted, non community-wiki answers of a minimum length are eligible