Tag Info

New answers tagged

0

You will also need to propagate your hostnames + IP to your local DNS. By default it will not be able to resolve hostnames without, as it is most likely only some kind of a proxy for your provider's DNS. As I cannot say, waht you are running as router, I'd recommend to check manual how to do it. Also you could put your hosts to the hosts-file (Windows ...


0

Mount the folder as NFS share in Windows instead of using VMWare "Shared Folders".


0

The integrated folder-sharing capability of VMware is rudimentary to say the least. We have simply given up on it. What did work reliably though, was to set up Samba on the NFS host and share the same tree through Samba and NFS - *nix users will use NFS, Windows users will use SMB ("Map network drive"). As a side effect you will likely notice a remarkable ...


1

I found this in an Arch Linux forum and it appears to work to remove the swipe screen (screen shield) gsettings set org.gnome.desktop.session idle-delay 0 Found here: https://bbs.archlinux.org/viewtopic.php?pid=1351594#p1351594


1

Normally, on a trusted network (i.e. home network, etc.) you could get away with xhost +hostname This enables X11 host control for your local display. It allows a X11 connection from the remote host hostname to connect to your local X11 server. Please keep in mind that X11 host control is an old, old mechanism that is not inherently secure. It provides ...


1

I'm no expert and am also exploring this area, and I think you can try mapping the device to the LUNs, which is fixed. This can be found under /dev/disk/by-path . Do this to see the links between the LUNs and the mapped devices: ls -l /dev/disk/by-path To find out more about the iSCSI disks: fdisk -l /dev/disk/by-path/* Hope this helps!


0

I faced the same Problem and found a solution here: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1022454 Put short: Change the keyboard style on your underlying system to ENG (United States) (assuming you're using Windows 8.1 like me, but it might work on other systems too). Explanation: When you ...


0

Based on a comment on the Ansible Project group on Google, installing openssh-clients fixed this for me: sudo yum install openssh-clients


0

Im afraid you cannot add mirror without rebooting. New mirror has to be to be synchronized first. I think that operation cannot be done when system is running and it will be done while rebooting. It may take long time to synchronize if you have a lot of data there. Here is howto: Adding a mirror to an existing LVM volume (proxmox) I never had problem with ...


0

This is a little hacky, but you could temporarily install a shell script "wrapper" program that massages ifconfig output into the form expected by the install script. Start by renaming /sbin/ifconfig to /sbin/ifconfig.real. Then create a new file named /sbin/ifconfig, containing this: #!/bin/sh exec /sbin/ifconfig.real "$@" | sed 's/ inet / inet addr:/' ...


0

Another place to look for Clang binaries is in EPEL. They have Clang 3.4 for RHEL 6 right now, which should work fine with CentOS 6.


0

Xen needs VT extensions for hardware VMs (as opposed to paravirtualised VMs) to be enabled to work. Your error message, and the cpu flags indicate that VT is enabled or present in the system. The cpu flag for it is vmx, and intel's datasheet says that the processor has it. Ideally all you need to do is to go into bios and enable Virtualization Extensions . ...


1

You get a lot more information about the failure if you run sshfs as: sshfs -odebug,sshfs_debug,loglevel=debug user@host ... Usually this will give you something a lot more helpful to debug the problem.


0

Yes, certainly. But there are a few things to be aware of. You should compile from source and give a prefix to your home directory: ./configure --prefix=$HOME Of course add parameters as needed. make install will then install in /home/yourdir/bin, /home/yourdir/lib, etc. You may need to run 'ldconfig' manually on your lib directory to create shortened ...


1

Perhaps someday yum will be as smart as the latest Debian package utility which, I am told, records all of the dependencies when a package is installed so that when you remove the package, all of the dependencies that were installed for that package are also removed. Until such a version of yum becomes available, we have to do this chore ourselves and here ...


2

It definitely is possible. Archlinux has this howto that should illustrate how to do it with their system, and you should be able to deduce how to go about doing it from others by reading. Debian has instructions as well, though theirs seems more geared to just running it in a chroot, or installing to a separate hard drive for dualbooting. Likewise, it ...


0

Type dmesg > ~/dmesg.log to copy all the boot messages into your own copy. You can add the date and time if you want to keep multiple copies and you could even automate it within a login script.


1

So it turns out SELinux was denying httpd exec rights on the php-cgi bin. Viewing the /var/log/audit/audit.log showed this. Running the following allows it: sudo chcon -t httpd_sys_script_exec_t /opt/php/5.5.15/bin/php-cgi


0

Solved: OpenSuSE 13.1 Here is the problem: if you use a RAID hard drive, SuSE might ask you if you want its MD Partitionable RAID subsystem to manage the partitions. If you say YES, this subsystem will handle your disk as if it were empty by default. So, to avoid problems, just click NO when asked. As for Fedora and CentOS, their Anaconda installer didn't ...


0

If the domain has any A records, the messages will be sent there. If there is an A record but there is no listener on port 25 on the identified hosts, then sending MTAs will buffer them locally for a short while and retry periodically. If you set up MX records (or SMTP servers on the A-record hosts) quickly enough, the retries will get to you. But if the ...


0

According to Systemd Service & Resource Management in Red Hat Enterprise Linux, /sbin/init is now a symbolic link to /usr/lib/systemd/systemd. The runlevel and telinit commands are still available in the system and work as expected, but are only included for compatibility reasons and should be avoided. Red Hat Enterprise Linux 7 is distributed with a ...


0

I think CentOS show your windows partition as a unrecognized device. most probably the CentOS guys are not loading the NTFS module. But as you are writing as "unable to see NTFS partitions" can you please post a screenshot. You can post a bug in Bugzilla if you think it's a bug.


0

i don't think u can upgrade GCC if you are not root. Try downloading the rpm and install it, but chances are very less.


0

This should be a comment, but... You have to manipulate stdin,stderr and stdout for whiptail to output to a variable. x=`whiptail --inputbox "hello" 10 40 3>&1 1>&2 2>&3` This puts the output into /tmp/x: whiptail --inputbox "hello" 10 40 3>/tmp/x 1>&2 2>&3


-1

Thanks for your replies. Disabling SELinux solved the issue. Open /etc/sysconfig/selinux. Change the SELINUX= line to SELINUX=disabled.


0

Daemonizing an application is not identical to starting it at boot. If all you want is to have it start automatically at boot, read on; otherwise, somewhat more complex instructions will have to be provided, or, better still, you should look up how to configure your own service. To start a program automatically at boot, issue the command EDITOR=vi ...


0

I had this problem and just fixed it. Please follow this way : wget http://www.my-guides.net/en/images/stories/fedora12/msttcore-fonts-2.0-3.noarch.rpm rpm -Uvh msttcore-fonts-2.0-3.noarch.rpm then it will show correct type of lots of fonts. And don't forget , For Centos that has not GUI libraries , You should install complete list of GUI libraries to ...


0

The simplest way to get tmux is to enable the EPEL package repository. That package is here: http://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/tmux.html But, it's easiest to install the EPEL release package, which you can read about here: https://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F EPEL currently has a slightly older ...


0

Has your service provider provided you the mysql connection link which is required by your php code? if so please use it. It contains server hostname(url)/ip. Also, you can use local mysql console (client) to check connection. mysql -u username -h -p Check for error code


2

To set the values at runtime, use sysctl. (I suppose one can write to /proc/sys/kernel/printk directly too and apparently you can also use dmesg -n CUR as described here) Display: # sysctl kernel.printk kernel.printk = 2 4 1 7 The separators in the output are single tabs, btw. Set. Here the separators are just spaces. Works as well. # ...


0

CentOS is a Linux distribution, not a filesystem. The limitations you refer to are, indeed, filesystem limitations. This Stack Overflow thread and this Server Fault thread have some good pointers to you.


1

Do I need to somehow port forward from my public ip on port 80 to the WAN on pfsense, then to the LAN ip on pfsense before I forward again to centOS? Yes - For traffic from the internet No - For traffic from your lan. Your setup is a pretty standard lab setup, and you have a few options available to you. From what I read/what I think... you have: ...


0

It sounds like you have a good use case for your router's DMZ feature. You don't say what your specific router model is, so I can't give specific instructions, but you would want to point the DMZ at your pfSense VM. What this will do is forward all incomnig (non NAT) traffic to your pfSense VM. You can then use your pfSense to firewall and port forward to ...


54

Just start typing your password and the screen will just go away. No need to press/swipe/whatever anything at all.


0

You cannot launch a graphical application through upstart, or any other init system, because at the time that upstart is executing, X (the graphical environment) is not yet started. In Windows, the graphical environment is an integral part of the operating system; even Windows Server Core is graphical at heart (even though it only presents you with a ...


30

As a workaround, you can press esc instead of dragging with the cursor. The mouse wheel might also work. There's an extension that partially disables the drag-up curtain (you can start typing the password immediately). And another extension that should do a similar thing.


0

This was extremely helpful: http://archive09.linux.com/feature/121735 This example shows how to succeed when you find a target-native termcap library is missing (cross building is somewhat different here -- use ./configure --help when in doubt): cd ~/work/cross/gdb/downloads wget ftp://ftp.gnu.org/gnu/termcap/termcap-1.3.1.tar.gz cd .. tar xvzf ...


0

See here In this post they solved this issue by installing the kernel-lt from ELrepo and installing the firmware from kernel.org.


0

CentOS 7 uses firewalld. You will need to modify and/or disable that to get your desired results.


0

If you are wanting to get the cpu% programmatically, you may be better getting the information directly from /proc/stat This is discussed at http://stackoverflow.com/questions/3017162/how-to-get-total-cpu-usage-in-linux-c And is also documented at http://www.linuxhowtos.org/System/procstat.htm Hope this helps


0

It was the openssl version that was too low. I downloaded the latest openssl rpm for centos from Linux Packages Search, updated openssl and then managed to successfully install postgresql.


0

vi /etc/pam.d/system-auth as root. Look for the following two lines: password requisite pam_cracklib.so try_first_pass retry=3 password sufficient pam_unix.so md5 shadow nullok try_first_pass use_authtok Comment out the first of the two lines: #password requisite pam_cracklib.so try_first_pass retry=3 Remove use_authtok on the second ...


1

Run lsattr and make sure the files don't have the i attribute set. That means "immutable", and when it is set, nobody - not even root - can change them.


0

Check to make sure that the files are not located on a read only device, or that the device is mounted as read only.


0

The PGDG RPMs aren't standalone - some other dependencies may need to be supplied from the PGDG repo. They also require a current RHEL or CentOS point release AFAIK - so you'll want to be on 6.5. Of course, the usual way to handle the upgrade is with yum... You need to: Mirror the PGDG yum repo locally, with rsync or whatever, then point yum at your ...



Top 50 recent answers are included