Tag Info

Hot answers tagged

8

dmckee's answer works perfectly well. $ yum list installed also works. No special privileges required.


7

Long ago I would have just used $ rpm -qa and possibly piped it through more. Looks like is still works.


6

My way to improve DNS performance: Run namebench to find the fastest DNS provider for you. Done. To my knowledge, there is no magic, local configuration to improve the speed of DNS queries. But I'm hardly an expert on the topic.


5

In GNOME 2.6, the Nautilus file manager uses "Spatial" file management mode by default. What you are looking for is the "Browser" mode. Go to Edit → Preferences, click the Behaviour tab, and enable the Always open in browser windows option. (As for "like in Windows" – Windows 95 used spatial mode by default too.)


5

To add a repository you need to add the key for the repository then install the repository. For this example I will use the El Repo since it has the commands you need to run: http://elrepo.org/tiki/tiki-index.php First you need to import the key using rpm --import: rpm --import http://elrepo.org/RPM-GPG-KEY-elrepo.org Then you run rpm with the -Uvh ...


4

This will make things worse in every case but the case where your first nameserver itself fails. Here's an example of how it makes thing worse: Say you're trying to resolve a site whose primary nameserver is slow or broken. Normally this happens. You try your first nameserver. It tries the site's primary nameserver. The primary times out. Your first ...


4

rpm -qa --last >~/RPMS_by_Install_Date this will also give you a list of when they were installed as well ... the file will be made in your home dir.


3

Update your version of rpmforge.


3

Personally I'd go with yum groupinstall 'X Software Development'


3

Not directly. You need to be running a 64-bit kernel to run 64-bit apps. You may be able to do it via virtualisation though. VMware supports running 64 bit VMs on a 32 bit host if the CPU(s) have support for the required features (not all 64-bit processors do), and I presume some other virtualisation platforms can do this too. You could try install a 64-bit ...


3

My guess is that it's an internal connection through some TTY virtualisation, such as screen It could be screen running on pts/1 with a single virtuan tty inside it (S.0 - screen window 0) connected to pts/6 Screen is very useful for running things that take a long time - you can detatch it from the controlling terminal and close your session and the ...


3

What happens if you chown apache /dev/loop0 then use losetup as the apache user to set up the loopback device. You should then be able to mount /dev/loop0 as root. In response to the updated question: A quick Google suggests you should be able to get around it by increasing the amount of memory you, as a normal user, can lock. As only root can do this, ...


3

It sounds like you are getting the standard message for an unknown host. As you have removed the keys from the known hosts file this is expected. If you accept the key, then you should not be prompted on future connections to the same host. If ssh is encrypting the address, SSH keeps two keys, one by IP and the other by name. Try removing the IP ...


3

Press CtrlAltL. This is configurable in Keyboard Shortcuts.


3

The sysstat service which runs the sa binaries is not collecting disk statistics in /var/log/sa files. This is turned off by default to prevent the logs from growing large on systems with hundreds or thousands of block devices. When you run sar to report disk statistics, the Requested activities not available in file message is telling you that sa hasn't ...


3

nope, it is not usual to store the output of every program you run. you could activate some paranoid logging and spam your disc, but that is not the usual behavior. so, for your case right now: nope.


3

It would be depending on the terminal emulation you are running, and the log settings you are using. By default, all terminal emulations I know discard logged output once they are closed. So, unless you enabled persistent logging beforehand (in which case you would also know where the logging is done to), the output is lost.


3

If you have a default DROP INPUT policy, even the response packets from your outgoint connections will get dropped. To accept those, add this input rule: iptables -I INPUT 1 -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT As for your last question, in your c and d example (assuming empty rules before those commands) you are setting a first rule drop ...


2

Nothing wrong, this is the expected behaviour. As root, you bypass authentication. Not everyone has root access, hopefully...


2

Install the package libnagios-object-perl as well as package librrds-perl This is assuming you are running Debian


2

A not so easy way (because it involves you to learn to work with new software) is to use GNU Screen. Inside screen use Ctrl+Esc to enter copy/scrollback mode. Once there you do have search capabilities with / and ? for vi like search and Ctrl+a+s and Ctrl+r for emacs like search. Once you put the cursor in the place you want to start copying hit space and ...


2

That can't really be fixed, unless it's a network issue (try opening the URL in a browser). Pass --disablerepo=adobe-linux-i386 to yum to disable the repo temporarily.


2

Installing a newer major version of EL over an older is not supported, even if possible. I highly recommend you backup your existing system and install fresh.


2

You should be using RUN, not PROGRAM.


2

Yes, put it in /etc/fstab, like so: /dev/rootvg/swap2 none swap sw 0 0


2

It is possible if you use an emulator like QEMU with X86_64 support. after installing it you should use qemu-system-x86_64 command to run your executable


2

Why would you use Excel? cut -d: -f1 /etc/passwd | sort > p.out sudo cut -d: -f1 /etc/shadow | sort > s.out diff p.out s.out rm p.out s.out Or in Bash: diff <(cut -d: -f1 /etc/passwd | sort) <(sudo cut -d: -f1 /etc/shadow | sort) and you can do the same kind of thing for /etc/group and /etc/gshadow. You need to run GUI ...


2

No. For a start a 64-bit binary will be linked against 64-bit libraries that will not be present on a 32-bit OS.


1

Check this post: How to install Google Chrome in RHEL 6, Fedora 14/15?


1

/root/anaconda-ks.cfg is a Kickstart file suitable for reconstructing the system, which happens to enumerate the groups and packages selected during install in the %packages section.



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