Tag Info

New answers tagged

0

I found the solution at http://www.blackmoreops.com/2014/09/18/connect-to-wifi-network-from-command-line-in-linux/ I installed iw and wpa_supplicant and followed the steps and now connected my wifi succefully. Thanks :)


0

Apparently it is enabled, but only targeted network services are protected. From the config file /etc/selinux/config: # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - No SELinux ...


0

Lambert 's comment (Dedoimedo page) gives you the basics that you need to understand the process of making the Windows partition smaller, and creating a new partition for CentOS in the space newly made available. As for the process of obtaining the actual system and installing it, then yes, you have it right. To summarize: Download the appropriate ISO ...


0

The ffmpeg version packaged in CentOS is too old to understand some of the options provided. I'd suggest you to download a more recent version. The easy way is to download the latest static build for your platform, you can find it here: http://johnvansickle.com/ffmpeg/ (choose 32 or 64 bit depending on your arch). For instance: $ cd /opt/ $ wget ...


0

if you want to use tigervnc edit username/.vnc/xstartup and write the start command after the two unset lines for example: unset SESSION_MANAGER unset DBUS_SESSION_BUS_ADDRESS exec /usr/bin/mate-session


0

It's likely related to the mass storage being VMware in both cases. Basically, it's saying that it tried to execute a SCSI command called WRITE SAME which is used to write the the same block of data over x number of consecutive disk blocks. It's usually used to zero particular regions on a disk. If the actual zero'ing operation doesn't fail then the ...


0

CentOS 7 ( Currently using in VMware for testing ) since its rock solid & very stable found after googling alot. CentOS/RHEL is more for servers. You can get CentOS/RHEL to work as a desktop but it's probably easier to use something like Fedora which is geared more for desktop users. Fedora is more unstable but if you start out with something that's ...


0

ulimit affects children processes as well, including notification emails programs like sendmail which may not tolerate such a stacksize limit. This is the case of exim4 sendmail which,,using the proposed memory tweak will segfault instead of emailing like it should when the "recidive" jail is enabled.


0

in your site.pp there is neither a definition for the default node, not for the node puppet-master.example.com (this is probably the hostname of machine/vm you are running the puppet apply on). You need in the site.pp (or better in a node.pp) node 'puppet-master.example.com' { include somemodule } rgds, derjohn


0

With a little digging I was able to resolve the problem. The domain was running PHP as Apache module. When I switched it back to FastCGI, I was able to restore the user permissions to ~username~:psaserv. After that FTP and web services work fine.


0

Yes, ultimately you can, you have to use SAMBA if you want to share this hard drive (or any other directory) with Windows or MAC system. However, once you connect the external HDD into the server, you have to mount this HDD into your system. However, you can use NFS as well for sharing Unix to Unix system. I'd recommend to google about SAMBA sharing and NFS ...


0

Set a file with aliases,variables,PS1,etc and then source it for example edit .bash_profile source .bash_profile


0

I'll put an answer here since I've figured it out. First I query the disk layout using command similar to above but request sectors a units: > parted /dev/sda unit s print free Model: ATA Hitachi HUA72302 (scsi) Disk /dev/sda: 3907029168s Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size ...


1

Well, the installed size of dos2unix is 18K. It has no additional dependencies, affects nothing by itself, and is available in the standard repos. It is a little utility used to convert line endings CRLF to LF.


0

This should work on anything that is EL5 (CentOS5, RHEL5, etc) or newer. The package may be on older versions but I haven't checked. The mt-st package for checking tape drive device status is very small and in the base repository like you are requesting. [root@testbox ~]# yum info mt-st Available Packages Name : mt-st Arch : x86_64 Version ...


0

A documentation package can probably meet your requirements. An example in Debian: https://packages.debian.org/wheezy/doc/sysadmin-guide


2

If you partition the drive /dev/sda you will get as result two partitions, not drives /dev/sda1 and /dev/sda2 To partition it now you will need a lot of details. Will be better to back your data and start with new installation. And in the process of install select manual disk partitioning and split the disk


2

You can easily partition it into /dev/sda1 and /dev/sda2 with fdisk, parted, gparted, or another partitioning tool (if you're working from a live CD) or via Anaconda (if you're in the Anaconda installer).


1

There is something wrong with your mirrorlist. The fact that you got a 404 must mean that your internet connection is fine (assuming your DNS is configured correctly) GCC comes from the base repo, so check the contents of /etc/yum.repos.d/CentOS-Base.repo and look at the [base] entry. For example on my CentOS 6.6 system I have: [base] ...


1

you are quite lucky, because the second partition is a logical volume manager lvm partition for which it is easier to reduce, extend, add and delete logical partitions as described here. Basically you have to follow the steps described in the answer here, which does extend the logical volume. Instead of extending you would shrink/reduce it. Checkout the ...


0

I have come to a partial solution: yum update --skip-broken was able to restore the basic functions like mount. However, yum still has the problems with dependency resolution and duplicates. I'm not sure why "--skip-broken" worked this time; I had tried it once before with a similar yum command, and it had not accomplished anything.


0

If you really need a window manager, then try fluxbox/blackbox. They are "more full" desktop environments, but they don't consume many resources. If you want pure window manager then twm is the most lightweight. xmonad Will work great for this too.


1

You aren't required to run a window manager at all. I've setup several such applications that are meant to be the only application ever run and they are meant to run full screen and I've never used a window manager. I always start with a server distro so a desktop and all of it's dependencies aren't loaded automatically. Then installed X and setup custom ...


1

I would look at few things - is oddjobd running? - any messages related to this or PAM in authlog, messages - is SElinux enabled or enforced? check audit log for any AVC denial messages


-1

You can see this,I use service wrapper solved my problem at: here


0

When Linux crashes, it crashes hard and rarely leaves behind a usable kernel core that gives you any help. For such a system, there's a few things you should do: Step up syslog output. Your system using rsyslogd which is even better. Ultimately you have a rule such as: *.* /var/log/debug Make sure the kernel module is enabled in rsyslogd. I've seen some ...


1

Try to disable DNS resolution and connect to the server using the IP address. This could point to you if the DNS resolution is the culprit for the slowness.


0

pxelinux.0 is a generic PXE boot loader for Linux from syslinux project. You can use single pxelinux.0 for all Linux distributions you have. The only thing you need to do is to update the PXE config pxelinux.cfg/default, pxelinux.cfg/CLIENT_MAC or pxelinux.cfg/PORTION_OF_CLIENT_IP depending on you settings. You can: chain menus, see pmagic_advanced entry ...


0

I'm not sure your question has a clean answer because of the way mounting impacts the system. I found this thread : Why does mount require root privileges? it mentions the way mounting can be used to gain root access to a system, thus it's generally locked down to the root user - so it's not really a cut and dry thing it would seem. However, I'm sure if ...


0

I'd love to know more about this topic to refine the configuration to be the best that it can be, but here's what I have so far. Even without enabling ARP filtering on all network interfaces (net.ipv4.conf.all.arp_filter = 0), traffic seems to be completely separated in this configuration. The file, /etc/iproute2/rt_tables, is the same in EL 6.x and DEB ...


0

I recently setup a centos 7 web-server with virtual hosts and I added a <VirtualHost> directive for a blank webpage or coming soon page. This <VirtualHost> directive needs to be above Include conf/vhosts/*.conf in the httpd.conf file.


0

I had a similar problem where I had the following configuration which used to work with Ubuntu 10, but stopped working with Ubuntu 14 (Apache 2.4): <Directory /var/www/vhosts/example.com/httpdocs> Options +FollowSymLinks </Directory> Switching to this sorted the problem (even though the web server user wasn't able to directly access the ...


0

I had this issue after I killed the build part-way through and tried to make it again. make clean did not help so I nuked the directory and started over, and it compiled fine.


0

The problem causing the numerous sendmail and postdrop processes is not that they get started by cron, that is normal behaviour. The problem is that those don't terminate almost immediately as usual but continue to run, or rather hang resulting an enormously long process list: /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t -f root /usr/sbin/sendmail ...


1

The address 10.0.2.15 is a internal address for your VM which can not be reached from the Host OS because of the NAT mode. You need to change your network adapter to use bridged mode or host-only-adapter. In bridged mode the guest will try to get an address in the host network and using host-only-adapter you will create an interface on the host OS, ...


0

Supposing that during the installation of Centos 7, you installed Grub 2 on the MBR of /dev/sdd, you will have to enter BIOS and then you will chose your Hard Disk Drive that corresponds to /dev/sdd (like demonstrated here). Different grub versions will not be a problem, since you will only use one of them. :)


0

Try to download Live CD version and burn it! http://mirrors.usc.edu/pub/linux/distributions/centos/7.0.1406/isos/x86_64/CentOS-7.0-1406-x86_64-GnomeLive.iso I had some problem with other distros... The trick was boot live cd and install from it. Try and tell me know!


0

1) Open your Terminal window 2) Create the mostlinux repo file on file /etc/yum.repos.d through the command: sudo vi /etc/yum.repos.d/mostlylinux.repo 3) Activate Vi's insert mode (ESC + i) and paste the following lines on the body of the mostlylinux.repo file: [mostlylinux] name=MostlyLinux baseurl=http://mostlylinux.com/6/$basearch/os enabled=1 ...


1

ERROR: Module dtrace_kmem does not exist in /proc/modules Your kernel is not compiled with dtrace so it fails. You should make sure that module is there and is loaded. Check if it exists with modprobe dtrace_kmem. Also, dtrace is for Sun OpenSolaris although they have ported it to Linux for their distro. If you really want to, you can find official ...


0

The issue turned out not to be file /folder permissions as such, but the security context of the non-working domain. From my limited understanding, in order for Apache to serve up files, the files / folders need to be configured to run under the httpd_sys_content_d context. My 'mistake' was the non-working domain had been mv'd into the Apache content ...


0

I haven't read throughly all your post (sorry, can't really spend the time right now), but I believe it may be related to the way Linux implements the IP host model: ... The IPv4 implementation in Linux defaults to the weak host model. ... From that same page: ... If the IP stack is implemented with a weak host model, it accepts any locally ...


0

The problem for me was that the repos use https and that doesn't work. cd /etc/yum.repos.d/ grep -RFi "https" * This shows in what repo files https is used. Open them in an editor and make it http. For me that fixed the problem.


4

You can run Debian Jessie without running systemd. On upgrades, just make sure sysvinit-core remains installed (see the release notes for details; they specifically address LXC concerns which are similar to yours on OpenVZ). On new installs, see https://wiki.debian.org/systemd#Installing_without_systemd for instructions. libsystemd0 provides systemd support ...


1

You could upgrade the kernel via elrepo. rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm (external link) yum install --enablerepo=elrepo-kernel kernel-ml You can also install the updated firmware and headers yum install --enablerepo=elrepo-kernel kernel-ml-{firmware,headers,devel} You'll probably need to remove the ...


0

You can use setsebool httpd_can_network_connect=1


3

readiness protocol mismatch As Wieland implied, the Type of the service is important. That setting denotes what readiness protocol systemd expects the service to speak. A simple service is assumed to be immediately ready. A forking service is taken to be ready after its initial process forks a child and then exits. A dbus service is taken to be ready ...


1

Been struggling with this too. Finally found out you have to deselect "use colors from my system theme" checkbox for custom settings to take effect


0

This device uses the forcedeth driver which is disabled in the CentOS 7 kernel. You can use the kmod-forcedeth driver from elrepo.org: http://elrepo.org/linux/elrepo/el7/x86_64/RPMS/kmod-forcedeth-0.64-1.el7.elrepo.x86_64.rpm


0

Looks like the following actions have solved the problems. Most of emails are now going through but just a few bounce back. Changing my email server from Dovecot to Courier. Temporary disable auto response emails to avoid the long queue. Enable rDNS lookup. Found this article ...


-1

Theses commands did the trick: firewall-cmd --permanent --zone=trusted --add-interface=docker0 firewall-cmd --permanent --zone=trusted --add-port=4243/tcp



Top 50 recent answers are included