I have CentOS 7. CentOS can not start. Output: Answer your initrd has problem. you should attention about all these : 1.you have no initrd on /boot. 2.your bootloader dose not have any line to describe initrd to run kernel on ram. 3.maybe your file systems have some thing wrong. make sure about MBR, bootfs(/boot).
Tag: centos
What’s the difference between yum -y install and yum install in CentOS
I’ve seen two ways to install packages,for example,squid on CentOS: 1.yum -y install squid 2.yum install squid can anyone tell me what’s the difference between them ? also, I’m using CentOS v.6.6 Answer If you supply -y it automatically chooses “yes” for future questions, i.e. are you sure you want to install squid? [Y/n]?. It is handy if the installation
Which jpeg delegate to install, and what are the installation steps in CentOS?
I am trying to install imagemagick and jpeg delegate to a CentOS machine that I do not have sudo access to. The first thing I tried was to install imagemagick by doing In the resulting installation jpeg delegate was missing. Through old forum posts I was directed to http://www.imagemagick.org/download/delegates/. None of the posts were actually mentioning which exact file to
datanode[slave] running but connect namenode[master]
i can start hadoop sucess but datanode[slave] can’t connect namenode[master] detail /etc/hosts core-site.xml and hdfs-site.xml Answer 1) check if firewall is restricting port if so, flush it To open 9000, 2) check namenode logs for any issues under /var/log/hadoop
Linux – Do a command repeatedly for a certain length of time
I know what the command watch -n does. I would like to do something like the following: Essentially I want to repeat a command every 5 seconds, then stop after 30 minutes has passed. I’m missing the stop 30 minutes part. What command should I use to achieve this? Thanks. Answer Use timeout:
How can I fix JVM locale issues on our CentOS server?
We’re running multiple servers and a database on our cloud server. The JVM appears to be off by 2 hours, as it’s operating in UTC time when it should be operating in CEST. When I ssh into the server and run date I get the following: Our Database is set to System time and it has the same (correct) time
How does ${path} work, in this tutorial
I’m sure this is one of the dumbest problems asked on this site, but I am very new to linux, and a little out of my depths. I’m working off of this tutorial here and am stuck on the “add the path” and verify steps. For this one the tutorial told me to use this: I have already defined DTITK_ROOT,
error in exporting glusterfs volume using samba/cifs
I am trying to export glusterfs mount point as the samba export, and then mount it using CIFS protocol. I have followed the below steps: Added below lines to smb.conf file Started the smb service: when i try to mount it using the CIFS getting below error: I am not sure,the steps I followed are fully correct I could not
How to make MySQL colum name case insensitive in Cent OS?
I am using Cent OS 6.5 and MySQL 5.1.73 and I know database name and table name and also column names are case sensitive in Cent os Now, I want to make MySQL work as case insensitive in Cent OS. I have tried the below link its worked for the table name. But i need to case sensitive for the
Correct way to set a crontab to stop and start mysql and httpd
i’m trying to create a shell script to stop and start mysql and httpd every saturday on 3am, i’m doing it: myscript.sh: and setting the crontab to: It’s correct way to do it? i’m stopping and starting mysql and httpd cuz use of memory, should i do some check before stop them? or i can do it without problems? another