Hot answers tagged

3

If your RHEL 7 system has SELinux enforcing, you need to enable the SELinux boolean values to get NFS working. To check if your system is utilizing SELinux: # getenforce If the above returns enforcing, please continue: # getsebool -a | grep httpd_use_nfs If the above returns httpd_use_nfs --> off, run the following command to permanently allow ...


3

Click on Player -> Removable Devices -> CD/DVD -> Settings, Browse for the 2nd disk, click Ok, then proceed with the installation in the player.


3

There is a utility available in RHEL to permanently set the hostname: sudo hostnamectl set-hostname newhostname Alternatively on RHEL 7 you can simply edit (or create if needed) the file /etc/hostname and add the desired hostname as the only content in the file. I believe the method you are using is only applicable to RHEL 6 and earlier. If that applies ...


3

I think installing R on CentOS 7 is simplest this way: sudo yum install -y epel-release sudo yum update -y sudo yum install -y R


3

The throttling control is managed by the cpuspeed daemon on RedHat 6.5 You can stop the daemon: service cpuspeed stop This is not true that servers are only throttling when they are overheating, Cpu scaling change the cpu frequency by the server's workload, by default to minimum while the cpu is idle and to maximum when the there is a heavy workload. ...


2

Simple answer - there are differences, including package management: .deb and .rpm files are competing installation package formats for Linux (and other Unix-like) operating systems. Debs are primarily used for Debian, and derivative distributions (such as Ubuntu) RPMs are primarily used with Red Hat, Fedora, Suse and derivative distributions (...


2

Here an example: mkisofs -r -R -J -T -v -no-emul-boot -boot-load-size 4 -boot-info-table -V 'my-rhel6.4' -p 'RHEL6.4' -A 'RHEL6.4' -b isolinux/isolinux.bin -c isolinux/boot.cat -o /var/tmp/my-rhel6.4.iso /path-of-your-distro


2

Amazon provides a library for all of these type of functions, so that they can be performed at the EC2 level, without resorting to bad ideas within the virtual machine itself. You can use ec2-reboot-instances instance_id to request EC2 to reboot any instance, including itself. An instance can fetch its own ID using either: curl -s http://169.254.169.254/...


2

It seems that the RPM database is corrupted in some way, so you should try to restore it: sudo rm -f /var/lib/rpm/__db* and then rebuild it: sudo rpm --rebuilddb Hope this helps!!


2

libipa_hbac-python is now located in the rhel-6-workstation-optional-rpms channel. If you enable that repo everything should update just fine.


2

This can't be done in ~/.ssh/config because SendEnv cannot be overridden. Using aliases won't work for scripts that call ssh. One alternative is to export a function. E.g. in ~/.bashrc: function ssh() { LANG="en_US.UTF-8" \ LC_ADDRESS="$LANG" \ LC_IDENTIFICATION="$LANG" \ LC_MEASUREMENT="$LANG" \ LC_MONETARY="$LANG" \ LC_NAME="$...


2

That GoDaddy! tutorial seems a bit odd in my humble opinion. There is utterly no reason to use sudo with git since all Git is really is a version control system. So I believe your core problem is Git is not installed on your system to begin with. To solve that just connect to your server via SSH and run this command: sudo yum install git-all Then once Git ...


1

Not the year 2000 "redhat 7", but RHEL 7 : Redhat Enterprise Linux 7 Note : devtoolset-3 is not an update of gcc/g++, but just one of the extra compilers available for EL7 . I.e. you can have as many versions of gcc as you want, installed at the same time. Please make sure you have the system compiler installed : # yum install gcc-c++ Requires: libmpfr....


1

Install both rpm's at the same time. rpm -ivh git-*.rpm perl-Git-*.rpm


1

Try detox. From the manual page: Name detox - clean up filenames Synopsis detox [-hnLrv] [-s -sequence] [-f -configfile] [--dry-run] [--special] file ... Description The detox utility renames files to make them easier to work with. It removes spaces and other such annoyances. It'll also translate or cleanup Latin-1 (ISO ...


1

A. You have to put NM_UNMANAGED to TRUE in a file in /etc/udev/rules.d in order to ensure "No default connection will be created and automatic activation will not be attempted". That's a great question. I took a look at it on Fedora, so there might be a change in directory name. This is what i found in the documentation. man NetworkManager ...


1

The Fedora documentation is your best friend here... They have an answer to how to connect to an SMB share. URL: https://docs.fedoraproject.org/en-US/Fedora/12/html/Deployment_Guide/s1-samba-connect-share.html Open Nautilus In the address bar type your SMB URL (as you've written) You may be prompted to authenticate with your University username, password ...


1

First of all, this answer i generic for all *NIX envirements because when it comes to networking, protocoll is more important than programs / envirements.. As long as the protocol is well implemented, your client does not matter, as long as it "speaks" the protocol.. Judging by the URI your university is using a windows share (SMB). First of all you should ...


1

Both Redhat linux 2 and Redhat Enterprise linux 2 are ancient so I'm not sure you really mean either of those? There are lots of ways of doing this in Redhat systems generally though - You only really need PuTTY on the Windows system to remotely log in to a linux box, send files and execute commands but most people would like the communications to be more ...


1

Many questions, so I'm going to answer the "how does it work" part, not "how do I get this working." This is dependent on the file system used. I'm answering based on ext[234], others probably work the same way or similarly. No, the directory modification time doesn't change if a file is modified. The directory is not modified in this case in any way, it ...


1

This is NOT an answer to my question since I only show how to build and use GCC 4.9 in a way which works on Fedora 23 (and on any other platform probably, too). It's only the compilation of steps I had to do to compile with another version of GCC than the shipped one. The shown steps are taken from here. lookup and download and exctract the appropriate ...


1

It is possible to create user without (with impropoer) home dir. however if you are to connect to the host, you must have a valid home dir. What you show implies home dir field is not, or improperly set in /etc/passwd, you home dir is not created. grep you id using id this is a int like 1001 or 501, let's use 1001. now grep it in /etc/passwd ...


1

Your version of gnome-terminal might be too old to handle the Emoji. Someone reported an issue with Lynx which I found was actually a problem with the older versions of gnome-terminal.


1

The reboot , halt and shutdown commands usually require root for security reasons [1]. Writing on google how to run sudo in a script it answers with Add your script to the /etc/sudoers file with the NOPASSWD attribute, so that it is permitted to run without prompting for a password. You can tie this down to a specific user (or set of users), or allow it ...


1

You will need to specify a boot image and a boot catalog for mkisofs to make the disk bootable. These files are often called isolinux.bin and boot.cat respectively, and you should specify them to mkisofs via the -b and -c flags: mkisofs -b isolinux.bin -c boot.cat -no-emul-boot -o genertatedIso.iso /MyRep


1

Basically you'll have to port vte.sh to tcsh. What it does is: before each prompt, it prints a certain escape sequence that contains the directory, in URI-encoded form. The escape sequence is the so-called OSC 7, e.g. \e]7;file:///home/username\a. It seems tcsh does have a precmd (and even a cwdcmd) feature so it can be done, but unfortunately I'm not ...


1

Use the Required-Start header field. Assuming the init script for DB2 is called db2server, add this line to the header section of the second script: # Required-Start: db2server Here's the LSB documentation you're looking for. If you look at other scripts, you'll see a header section with these fields: ### BEGIN INIT INFO # Provides: # Required-Start: #...


1

Try as su : tar cvzf rpmdb-backup.tar.gz /var/lib/rpm rm -f /var/lib/rpm/__db* rpm --rebuilddb rpm -qa | sort If this fails, execute first lsof | grep /var/lib/rpm and If it finds any, kill -9 them all. You could also try this sequence : rm -f /var/lib/rpm/__db* rpm --initdb rpm --rebuilddb If nothing works, copy the rpm database from a backup (or a ...


1

It seems you upgraded from 2010 RPM builds. Previously, SQLite was used to store information about packages, now it's BDB. You probably need to migrate your database. To do so, you can run the following commands: rpm --define '_dbapi 4' --rebuilddb mv /var/lib/rpm /var/lib/rpm.bak mv /var/lib/rpm.rebuild /var/lib/rpm You can then test the new database ...


1

Edit httpd.conf & comment out the line where it says listen 80



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