Tag Info

New answers tagged

1

While I don't run CentOS to easily test. Try this recommendation: [1] sudo yum update kernel You may need to use the ELRepo release [2] Warning a new Kernel may render your system unstable or unusable. Assuming you are running on CentOS v7.0 not v7.1, then the stock kernel is reported to be 3.10.x so it is odd you are reporting v2.6.32. [3] Also ...


0

I believe that what meant the author is /etc/nginx/sites-available/default, since this looks like a new server configuration and this kind of files should go there. It doesn't mean you couldn't create a file inside conf.d as well, but as per the content it looks more suitable in the path I recommend. It doesn't matter if the file doesn't exist, you can ...


0

We have this configuration along with syslog-ng, which I believe is needed as syslog itself doesn't allow receiving remote messages. There is an ocf primitive called IPaddr2 whose syntax is similar to this: primitive virtual_ip ocf:heartbeat:IPaddr2 \ params ip="192.168.1.100" cidr_netmask="32" nic="eth0" \ op monitor interval="30s" ...


0

I'd say the package you downloaded is damaged. Assuming you're following the CentOS 7 instructions, it should solve by doing the following: yum clean all yum uninstall openproject yum install openproject EDIT: Just tried to install this by myself in a fresh installed CentOS7 box, and yes, it fails. It's not your fault, it's the package that is corrupt. ...


0

while installing vlc package, yum installed bunch dependence, which enables me to play .mov inside of Totem Videos as well) vlc & dependencies that were installed on my system: [alexus@wcmisdlin02 Desktop]$ sudo grep 'Jun 08 15:51' /var/log/yum.log Jun 08 15:51:21 Installed: fribidi-0.19.4-6.el7.x86_64 Jun 08 15:51:21 Installed: ...


0

Use a program called Rufus on windows to create the bootable USB. It has never failed me. Just make sure to click the checkbox that says Create a bootable disk using ISO Image and select your Suse image. Otherwise on CentOS you can install LiveUSB-Creator which is a CentOS/Fedora app which you can use to create a bootable USB. Just install using: yum ...


0

Backing up does not break anything. To get an exact duplicate of the system, doing a bit copy of the drive (maybe compressing it first) is the way to go. I understand you don't want to do that, which means you will be making some compromises. From a users perspective /home/* is probably the most important, and similarly /root /etc contains your ...


0

Alright, I see. But you should at least take a backup of /home <- user files /etc <- this is where the configuration files are located. /var with "tar" you could archive those dirs like this. tar -pcvzf backup.tar.gz /home /etc /var --exclude='/var/tmp' --exclude='/var/lock' --exclude='/var/run' You could check the size of those directories and se ...


0

What is the hpps program? HPPS is the HPLIP PostScript Finishing Filter. How do I install it? Full installation instructions can be found at Manual Build and Install Instructions for CentOS HP Linux imaging and printing Technical Overview The Hewlett-Packard Linux Imaging and Printing project (HPLIP) provides a unified solution to print, ...


0

Try out 'yum install cups'. I have to use this application often since my family periodically updates the latest version of Linux Mint and any printer configuration files are erased. After you have 'cups' fully installed, go into a browser and put 'localhost:631' into the URL bar. This is where you can configure your printers from on most *nix machines. ...


0

No need for awk, grep can do that alone: grep -oP 'Oracle Audit\[\K[0-9]+(?=\])' /var/adm/messages The \K after Oracle Audit\[ resets the beginning of the reported match to this point. So it's not part of the match. After the numbers you want to print there is a look ahead (?=). Similar to the \K sequence. It will print: 9460 10507 10507 10507


0

If you want a pure awk solution, try awk '{ sub("Audit\\[", "", $6); sub("]:", "", $6); print $6 }' which replaces the undesired strings in $6 with nothing.  It is conceivable that Cyrus's answer might be faster than this one.  Or not.


0

Append this to delete everything but digits and newline: | tr -cd '0-9\n' Output: 9460 10507 10507 10507


0

Try this one; yum install php54-php-imap searching from my x64 box I get the following; Available Packages Name : php54-php-imap Arch : x86_64 Version : 5.4.44 Release : 1.el6.remi Size : 58 k Repo : remi Summary : A module for PHP applications that use IMAP URL : http://www.php.net/ License : PHP ...


1

It is probably blocked by SELinux. The "low" ports are reserved for their use and if you want to bind them, you need to have specific privileges. I guess you will see some AVC warning in audit log, which you can transfer to you local policy using tool audit2allow.


0

Just edit configure.ac and remove the AM_PATH_CPPUNIT(1.9.6) line, after which autogen.sh should generate a configure that doesn't error out.


0

https://www.kickass.se/?p=74 This solved it for me if anyone else has trouble.


2

The easiest way is to take a image of the partition/hard drive. Take a look at dd man page. dd @ wikipedia. some dd commands In short, you use dd to take a image of your partition/harddrive with command dd if=/dev/sda of=/backupfoler/sda.img dd if=/dev/sda1 of=/backupfolder/sda1.img and to restore, you just boot the computer with a live cd and reverse ...


1

You need to use the ServerSignature directive. Add this to your XAMPP Apache config file (httpd.conf): ServerSignature Off With ServerSignature On: With ServerSignature Off: EDIT: Sorry, I mis-read your question (but I am leaving that "answer" in case it helps anyone else). I think you might be looking for custom error pages. Check this out: ...


2

(edited to add:) The root account is probably using bash also, but it is configured to show your username, hostname, and path in the shell prompt. Shells are very configurable. The root account presumably had a .bashrc or .profile or similar file which set the shell prompt to the value you expect. (What you're seeing is bash's default prompt.) If you want ...


0

When you are using a web interface, you are asking the web interface to communicate directly to the terminal for you. In doing so, they may interpret keys differently then your host machine (and you) would expect or know. This could be re-configured on your hosts end, but realistically you should simply use a common SSH client to meet common standards, and ...


1

If you only formatted the partitions then you will need to decide if you want to install CentOS to those partitions - and manually select the partitions during the install - or delete the partitions (leaving "free space" on the disk) and let the CentOS installer guide you through the partition creation using the free space (it does the partitioning for you). ...


0

Ok so I found that I had an additional spare disk so the command worked with 5 disks. Assuming the cmd forces -i3 as a min, I guessed I'd need an additional disk to provide the additional PEs.


0

It sounds like a bug, an artifact was created to track this down: https://tuleap.net/plugins/tracker/?aid=8311 Feel free to jump into the discussion


0

Go to System settings, and Display. Then select Apply on the right/bottom. Then copy /home/yourusername/.config/monitors.xml into /var/lib/gdm/.config/


1

if you can login via user/pass you just need to generate a key and copy it over try running ssh-keygen where your ssh client is, to generate a key, it will make id_rsa and id_rsa.pub in your home directory where your ssh client is. ssh-copy-id user@host to copy the key to the ssh server. You will be prompted to login with a user/pass and then the key ...


1

You don't have to set anything special for a Windows client, usually. The defaults in CentOS where your ssh server is, work fine. If you have problems with openssh, use PuTTY or KiTTY as your windows ssh client, they are easier to grasp for the GUI-type of users. Do you have problems setting up key authentication, or what exactly is the problem? Try using ...


0

You can achieve that with tmpfs on CentOS-5+ (not sure about CentOS-4) tmpfs is a special filesystem that does not reside on a physical disk but rather in a portion of your memory. This has the side effect that if you lose power (or reboot) all contents on tmpfs are lost. Example: tmpfs /tmp tmpfs size=512m 0 0 ...


0

Okay so Apache and Python are two very different things that can work together to host a web application. Apache is a web server, you make requests to it by browsing to that devices URI and the Apache web server does its thing and serves up a response based on the request it was sent. https://en.wikipedia.org/wiki/Web_server ...



Top 50 recent answers are included