Tag Info

Hot answers tagged

32

Looks like your eth0 is not set up. Here is what I did to fix mine on CentOS 6.4. sudo su - cat /etc/sysconfig/network |grep -i network This should return: NETWORKING=yes - If it does not, then change it to yes. vi /etc/sysconfig/network-scripts/ifcfg-eth0 This should look like: DEVICE="eth0" HWADDR="08:00:27:07:9e:57" NM_CONTROLLED="YES" ...


26

When you are at the GRUB menu where you select which OS to boot (if this menu don't appear, press ESC while you get the "Booting CentOS in X seconds"), press e to edit your boot commands. You should see a screen like this: (parameters may vary) Look for the line that begins with kernel. Choose it and then press e again. You will be at a simple editor, add ...


14

It is not a problem, these dates were skipped in September 1752. Britain and the British Empire (including the eastern part of what is now the United States) adopted the Gregorian calendar in 1752, by which time it was necessary to correct by 11 days. Wednesday, 2 September 1752 was followed by Thursday, 14 September 1752. Reference: ...


13

In some distribution easy_install not come with the default python. So, you to download it and install. #wget http://peak.telecommunity.com/dist/ez_setup.py #python ez_setup.py After installing the ez_setup.py, you can find the easy_install, using that you can install pip module as follow. #easy_install pip


11

CentOS 6 is based on RHEL 6, which was released in 2010. Within a major release, the goal is compatibility and not introducing breaking changes as the target audience is enterprises that value stability over features. As you can see from the version history, they don't introduce new kernel versions within a major release (but some fixes are backported), so ...


9

Both setuptools (python-setuptools) and pip (python-pip) are in EPEL.


9

I think the error message is self explainatory - chrome stores profile information under /home, and root has no home directory. You may need to run it with the --user-data-dir flag, and specify some location for this. I'd note though, running a web browser as root is a HUGE security risk.


8

In CentOS, this binary is provided by the mailx package: yum install mailx FYI, as the message at the bottom of your post indicates, you are using whatprovides incorrectly. Proper usage searching mirrors for a file called 'mail' would have been: yum whatprovides */mail


6

Edit /usr/bin/google-chrome and add –user-data-dir at the end of the last line At first it was like this 39 # We don't want bug-buddy intercepting our crashes. http://crbug.com/24120 40 export GNOME_DISABLE_CRASH_DIALOG=SET_BY_GOOGLE_CHROME 41 42 exec -a "$0" "$HERE/chrome" "$@" change line number 42 to like this 42 exec -a "$0" "$HERE/chrome" ...


6

maybe this overview gives you all you want to know or a good start for even more: http://www.linux-pam.org/Linux-PAM-html/sag-overview.html Some quotes: Linux-PAM deals with four separate types of (management) task. These are: authentication management; account management; session management; and password management. Here is a figure that ...


6

In a nutshell, PAM the Pluggable Authentication Modules. As its name implies it uses a plug-in style architecture. PAM makes it so that each program does not have to implement its own authentication mechanism. Instead it just checks the PAM stack. Because PAM is pluggable you can configure the authentication stack however you like. Authenticating against ...


5

There is actually a similar question and the solution is described here (so I'll not duplicate the answer): How linux handles multiple path separators (/home////username///file) Basically it's defined by IEEE standards: A pathname may optionally contain one or more trailing slashes. Multiple successive slashes are considered to be the same as one ...


5

Maybe this question can help you. Use the remi repository, you can't get it from CentOS base. How to add remi repo


5

The normal address is http://isoredirect.centos.org/centos/6.5/isos/ but the CentOS project is no longer hosting any direct downloads for it (it's expensive!); you will have to use a mirror. When you go to the above url, you will have to choose between a folder for x86 (i386), and a folder for x86-64, when you click into that folder you will be re-directed ...


4

Or, is there a way to direct a process to use disk-mapped RAM so there's much more available and it doesn't use system RAM? Yes, It's called the swap drive. You probably already have one. If you're worried about running out of RAM then increasing this is a good place to start. It works automatically though so there is no need to do anything special. I ...


4

yum clean packages Should clear the cache


4

As for question one, fc-list gives you all fonts. ${HOME}/.fonts will contain additional fonts for your user. fc-list | grep "Courier New" allows you to check if that particular font is installed.


4

AFAIK RHEL 6 has basic support for UEFI (grub-efi, efibootmgr) with no support for Secure Boot. This means you have to turn off Secure Boot on Windows 8 logo machines if you want to install CentOS 6. I'm not aware of multiboot support for RHEL UEFI installation. Disclaimer: I did UEFI QA at Red Hat. This does not represent the official stance of Red Hat.


4

You need to change AutomaticLogin to TimedLogin. TimedLoginEnable=true TimedLogin=test TimedLoginDelay=30


4

PAM is a framework that assists applications in performing what I'll call "authentication-related activities". The core pieces of PAM are a library (libpam) and a collection of PAM modules, which are dynamically linked libraries (.so) files in the folder /lib/security. NOTE 1.Backup all data and PAM configuration files before any modification. 2.Please be ...


3

For this you need X Windows at a minimum, and a desktop environment like Gnome or KDE (I am guessing you want a DE). Use yum grouplist to find out what groups are available. If you wanted KDE for example, you would need to install the following groups: yum groupinstall "X Window System" "KDE (K Desktop Environment)"


3

From the link you posted to: brool.com/index.php/installing-centos-on-an-external-usb-drive "2. When you reboot, reboot to the CentOS CD AGAIN and type “linux rescue”." When you boot your computer to an install/Live CD of some Linux flavors (Ubuntu is like this) you are presented with a menu that asks you what you want to do (install for different locales, ...


3

From the Name-based Virtual Host Support article in the Apache server documentation: IP-based virtual hosts use the IP address of the connection to determine the correct virtual host to serve. [...] Name-based virtual hosting is usually simpler, since you need only configure your DNS server to map each hostname to the correct IP address and ...


3

Look for the acer_ec.pl script it can control the fan through the register of the embedded controller. It works on other pc, too.


3

When adding entries to /etc/crontab you must include a username. So something like 30 23 * * * root /bin/bash /data/backups/scripts/nightlybackups.sh Past that you need to examine your scripts use of environment variables. Cron has a very limited environment/PATH/etc. Some of the variables you have set in your interactive shell probably won't be set ...


3

You only need a LAMP stack when you want to present a web server. If you are wanting to run a number of virtual servers via OpenVZ on a single hardware server, you should not install the LAMP components on the host OS. Install them on the guest OS's if you need them. On the other hand, you may wish to have some management and reporting via the host OS, in ...


3

If you add this line to your sudoers file (use visudo to edit it): phpuser ALL = (wwwuser) NOPASSWD: crontab -u wwwuser then your script will be able to run the command sudo -u wwwuser crontab -u wwwuser and pipe in the new contents of the crontab.


3

In a mirror URL, just replace 6.6 with 6.5. E.g., http://mirrors.kernel.org/centos/6.6/isos/x86_64/ becomes http://mirrors.kernel.org/centos/6.5/isos/x86_64/


3

How is the vmail1 directory mounted? What's the full path to it? What filesystem is it on? For example, if it's a remote NFS-mounted filesystem with root_squash enabled, then having root permissions locally won't help you any. A couple of other suggestions: Check that you really are root. Running id should give something like the following. uid=0(root) ...



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