Hello
I want to make CentOS-7 ISO to my pen drive.I had try this now But it not woks How to make pen drive as boot CD for centOS 7 I m using now Red Hat 6.
PHP Code:
dd if=CentOS-7-x86_64-DVD-1503-01.iso of=/dev/sdb1
PHP Code:
/dev/sda1 495844 30604 439640 7% /boot
/dev/mapper/vg_tuhin-lv_home
251551508 8620468 230152956 4% /home
/dev/sdb1 4209322 4209322 0 100% /media/CentOS 7 x86_64
Hello
I have installed a CentOS 6.4 on VmWare.
Now, after several days of using it, it suddenly does not boots. There is a problem with its initialization, here is the error:
Kernel Panic : Unalble to init. Try passing init= option to the kernel.
Pid 1 : Swapper not tainted.
I have used CentOS.iso to rescue it, but it still does not solve it.
My grub.conf contains:
PHP Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/sda2
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.32-358.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-358.el6.x86_64 ro root=UUID=6082bcf5-00ba-4bf8-86ea-9821d774cb6f rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
initrd /initramfs-2.6.32-358.el6.x86_64.img
How should I solve it then? Thanks in advance
PHP Code:
Hello guys!
Does anyone have a solution to trace graph windows not loading properly. I am using ubuntu 14.10 and when i run something like "paulchiedo@paulchiedo-virtual-machine:~/Documents/tracegraph202$ ./trgraph /home/paulchiedo/mobilesense.tcl" I get "ERROR: No data! choose another time interval" on the terminal. The three trace file windows open but the problem is that for the "Graph's" window only the -file, -options on the menu bar is highlighted. For the "Trace garph 2.02" window -file, - Options menus are highlighted but no data apears and finally for the "Network Information" window only -Options on the menu tab is highlited.
* It is however noteworthy that this problem did not start from the point of installation as the trace graph had worked fine prior to this problem..
I would really appreciate it if someone would be so nice to help me through this problem. Thank you in advance!
Hi all,
i have installed ns-2.33 and also i have ns2.31_fhmip.patch.gz. How to patch ns2.31_fhmip.patch in ns-allinone-2.33/ns-2.33
when i tried to untar
it gave me error
PHP Code:
chase@chase-desktop:~/ns-allinone-2.33/ns-2.33$ tar -zxvf ns2.31_fhmip.patch.gz
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
Thanks & Regards
Pon
Hi all,
I'm new to Kali and couldnt get my wireless adapter working. I followed some tutorials on the internet but when I tried to install the driver I get the this:
PHP Code:
root@kali:~/rtl8812AU_8821AU_linux# make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.18.0-kali3-amd64/build M=/root/rtl8812AU_8821AU_linux modules
make: *** /lib/modules/3.18.0-kali3-amd64/build: No such file or directory. Stop.
make: *** [modules] Error 2
Is there someone how made it with the installation and can help me?
If something is missing, please ask me.
Sorry for my English :P
Wzalm
I am trying to compile a small C program on Slackware 13.37 that uses libpcap libraries. When I do
PHP Code:
gcc app.c -lpcap
it throws error:
PHP Code:
/usr/stuff/app/libpcap/pcap.h:46:25: fatal error: sys/types.h: No such file or directory
If I correctly understand, this has something to do with not having
PHP Code:
kernel-headers
installed. If so, how can I install kernel-headers on my system? Or am I misunderstanding the problem?
Also, the directory where /sys/types.h is supposed to be located is completely empty - /usr/include/
hello,
i am trying to make a table from some files. i used this to record how much "RD_" field i have in my file.
Quote:
grep -o 'RD_' $f|grep -c 'RD_'
forexample i got 5 "RD_" fields now i want to print 5 number of fields from another file starting from 2nd field. i did it mannully like
Quote:
awk 'NR==1{print"{"$2","$3","$4","$5","$6","0.0000",""0.0000""}"","}' $file
i want to make it work together and a bit auto matic like
PHP Code:
awk 'NR==1{print"{"$2"to "$5"," apend zeros to make it total 7 fields"}"","}' $file
your coments would be apreciated
thanks alot
I have installed httpd, mysql, php on a centos machine. Php executes in the browser of my machines website, mysql can be ran from the command line, but mysql within php in a browser will not work.
I know my code is syntactically correct since it will run on another Centos Lamp machine and NetBeans says it is.
My code
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="300">
<title> Freeze Warn Points table Query"</title>
</head>
<body>
<?php
include("config.php");
echo $dbhost;
echo "<br />\n";
echo $dbuser;
echo "<br />\n";
echo $dbpasswd;
echo "<br />\n";
mysql_connect($dbhost, $dbuser, $dbpasswd) or die("Unable to connect to database");
echo 'Connected Successfully';
mysql_select_db($dbname);
echo "zone"." ";
echo "currentLow"." "."dateLastRep"." ";
echo "priority"." "."siteId"." &nbs p; "."siteName";
echo "<br />\n";
$result = $sql = 'SELECT zone, currentLow, dateLastRep, pri, siteId, siteName from points order by zone, pri';
$numRows = mysql_num_rows($result);
echo "Matches: ".mysql_num_rows($result);
for($a=0; $a<$numRows; $a++)
{ $rowArray = mysql_fetch_row($result);
echo $rowArray[0]." ".$rowArray[1]." ".$rowArray[2]." ".$rowArray[3]." ".$rowArray[4]."  ".$rowArray[5]."<br />";
}
mysql_close();
?>
</body>
</html>
When executed on the CENTOS lamp machine in question out puts this
"; $result=mysql_query("SELECT rpad(zone,6,'-'), rpad(currentLow,13,'-'), rpad(dateLastRep,13,'-'), rpad(pri,8,'-'), rpad(siteId,6,'-'), siteName from points order by zone, pri"); $numRows = mysql_num_rows($result); for($a=0; $a<$numRows; $a++) { $rowArray = mysql_fetch_row($result); echo $rowArray[0]." ".$rowArray[1]." ".$rowArray[2]." ".$rowArray[3]." ".$rowArray[4]." ".$rowArray[5]."
"; } mysql_close(); ?>
When I put the same code in the other machine, (it does not have the mysql database so it will not connect) displays this
204.227.112.31
apache
password
Unable to connect to database
httpd is running of course
mysqld is running
I have
mysql-server-5.1.73-3.el6_5.x86_64
php-mysql-5.3.3-40.el6_6.x86_64
mysql-devel-5.1.73-3.el6_5.x86_64
mysql-libs-5.1.73-3.el6_5.x86_64
mysql-connector-odbc-5.1.5r1144-7.el6.x86_64
mysql-5.1.73-3.el6_5.x86_64
php-mbstring-5.3.3-40.el6_6.x86_64
php-odbc-5.3.3-40.el6_6.x86_64
php-imap-5.3.3-40.el6_6.x86_64
php-mysql-5.3.3-40.el6_6.x86_64
php-xml-5.3.3-40.el6_6.x86_64
phpmyadmin-2.11.11.3-2.el6.rf.noarch
php-cli-5.3.3-40.el6_6.x86_64
php-xmlrpc-5.3.3-40.el6_6.x86_64
php-gd-5.3.3-40.el6_6.x86_64
php-5.3.3-40.el6_6.x86_64
php-pdo-5.3.3-40.el6_6.x86_64
php-common-5.3.3-40.el6_6.x86_64
php-ldap-5.3.3-40.el6_6.x86_64
php-pear-1.9.4-4.el6.noarch
Installed.
I checked the php.ini files and the httpd.conf files with the LAMP machine it works on and have been unable to find any discrepancies.
Unless I missed something.
Selinux is disabled.
I know it is not my code, but some type of setting somewhere on my machine, I have not been able to find.
I have been unable to find any thing like this issue.
Thanks,
Nancy
Hi all,
I patched ns233fhmip.tar.gz in ns-2.33. patching was successful, but on executing
ns fhmip_simula.tcl i am getting following error
num of nodes set
PHP Code:
Wrong Map agent!!!
I just download the below files and tried to install it to virtualbox .
CentOS-7.0-1406-x86_64-DVD
CentOS-7.0-1406-x86_64-Everything
When it is booted to the DVD , it pop the below messages .
============================================
Install CentOS 7
Test this media & install CentOS 7
Troubeshooting
Press Tab ...
============================================
I tried to select any option , but the screen become dark , it seems the installation process is stopped ,
I tried Centos 5.x , it works fine , but Centos 7 not work.
would advise what is wrong ? thanks
I have a Toshiba Laptop that had a Dual Boot of Windows 7 and Linux Mint 17 on it and both OS's worked fine. I've been wanting to use CentOS 7 as my primary OS so that I can become more familar with RPM management and proceeded to remove my Mint installation and replace it with the CENTOS 7 installation, and the install completed successfully. HOWEVER, here's my problem.....
When my laptop starts up, I don't see GRUB nor do I have any option of selecting whether to run Windows or CentOS. It automatically loads up Centos 7. When I do a 'sudo fdisk -l', I can see that SDA1 is an NTFS drive, and when I try the following 'sudo mount /dev/sda1 /media/Main\ Drive' I get an error message saying that I can't mount an NTFS drive.
Am I missing something or is there a way to access my Windows files from within Centos. I was able to do this with Mint without an issue, but unable to see any of my windows drives because I can't mount an NTFS drive.
I have no problem with keeping CENTOS as my only OS on this laptop, however, I do need to access the files from the Window's partition, and if anyone can help me to access my files, that would be totally awesome.
Thank you in advance for reading through this and for any help offered.....
Mikey