LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing CentOS 64 bit on window machine (https://www.linuxquestions.org/questions/linux-newbie-8/installing-centos-64-bit-on-window-machine-4175447420/)

mohamed_rafi 01-27-2013 09:37 AM

Installing CentOS 64 bit on window machine
 
Hello Friends

I am new to LinuxQuestions.org forum. I want to build 64 bit linux machine with centOS distribution. I have a machine with windows 7 which I want to clean and instal centOS on it. Can any one suggest me where I can find centOS 64 bit OS and some instruction how to clean and download centOS.

Thanks and highly appreciate your help.

spiky0011 01-27-2013 09:43 AM

Hi

Will this help
http://www.tecmint.com/centos-6-3-st...h-screenshots/

mohamed_rafi 01-27-2013 10:11 AM

Thanks for your quick reply and highly appreciated. I will follow the procedure as given.

John VV 01-27-2013 08:53 PM

how about the cent os web site ??????
http://centos.org/
at the top of the page is a link called " Download"
click "mirrors" and the "http" link for say " Arctic Network Mirrors"
http://centos.arcticnetwork.ca/
for the current Centos 6.3 64 bit
http://centos.arcticnetwork.ca/6.3/isos/x86_64/

as to the install guide
cent is a rebiuld of RHEL6.3
cent uses the red hat documentation
https://access.redhat.com/knowledge/...erprise_Linux/
-- the install guide---
https://access.redhat.com/knowledge/...ide/index.html

mohamed_rafi 01-27-2013 09:04 PM

Thanks John for your valuable input. Appreciated.

mohamed_rafi 01-28-2013 11:13 AM

Hello Friends

I have successfully installed CentOS6.3 into my machine. I am trying to access this machine through my Laptop using putty. But it is not working. Before that, I set the following in etc/init.d.
1. First restarted init.d # ./sshd restart and then entered iptables -F and uncommented port 22 in the sshd_config file. Remember I am in the same LAN.

Any suggestion please. Your help is highly appreciated.

Thanks

chrism01 01-28-2013 06:42 PM

Server: Show the content of /etc/ssh/sshd_confg and /etc/sysconfig/iptables.
Client: Also, exactly what error msgs did you get.
Server: check /var/log/messages, /var/log/secure log files

mohamed_rafi 01-28-2013 06:58 PM

Thanks for your quick reply. When I try to connect to my linux machine through my laptop which has window 7 by using PUTTY. I am getting 'Network error: permission denied'.

Can you please suggest me if I miss anything during my connection through putty?

Thanks

chrism01 01-28-2013 07:05 PM

You need to answer my other 2 qns about the server setup.

mohamed_rafi 01-28-2013 07:20 PM

Hello

On the server side, I have following in the file.

On serverside - sshd_config file has following info.
port 22 (uncommented)
#AddressFamily any
#ListenAddress 0.0.0.0
#ListenAddress ::
#activation of protocol 1
Protocol 2 (uncommented)

In the /etc/sysconfig/iptables file:
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -m state -- state ESTABLISHED, RELATED -j ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
-A INPUT -j REJECT --reject with icmp-host-prohibited
COMMIT

Thanks for your help. Appreciated.

chrism01 01-28-2013 07:32 PM

Linux is normally case sensitive, so try 'Port 22' & restart sshd service.
What about the logfiles?

mohamed_rafi 01-28-2013 08:09 PM

Hello Chris,

Here is the other details.

I didn't change anything on port 22. It is as it. I just uncomment it.
Here are other two files.
var/log/message
an 27 14:17:05 localhost kernel: imklog 5.8.10, log source = /proc/kmsg started.
Jan 27 14:17:05 localhost rsyslogd: [origin software="rsyslogd" swVersion="5.8.10" x-pid="1486" x-info="http://www.rsyslog.com"] start
Jan 27 14:17:05 localhost kernel: Initializing cgroup subsys cpuset
Jan 27 14:17:05 localhost kernel: Initializing cgroup subsys cpu
Jan 27 14:17:05 localhost kernel: Linux version 2.6.32-279.el6.x86_64 (mockbuild@c6b9.bsys.dev.centos.org) (gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) ) #1 SMP Fri Jun 22 12:19:21 UTC 2012
Jan 27 14:17:05 localhost kernel: Command line: ro root=/dev/mapper/VolGroup-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD rd_LVM_LV=VolGroup/lv_swap SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_LVM_LV=VolGroup/lv_root KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
Jan 27 14:17:05 localhost kernel: KERNEL supported cpus:
Jan 27 14:17:05 localhost kernel: Intel GenuineIntel
Jan 27 14:17:05 localhost kernel: AMD AuthenticAMD
Jan 27 14:17:05 localhost kernel: Centaur CentaurHauls
Jan 27 14:17:05 localhost kernel: BIOS-provided physical RAM map:
Jan 27 14:17:05 localhost kernel: BIOS-e820: 0000000000000000 - 000000000009ec00 (usable)
Jan 27 14:17:05 localhost kernel: BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)

security log

Jan 27 14:17:39 localhost sshd[8119]: Server listening on 0.0.0.0 port 22.
Jan 27 14:17:39 localhost sshd[8119]: Server listening on :: port 22.
Jan 27 19:21:37 localhost sshd[8119]: Received signal 15; terminating.
Jan 27 19:22:47 localhost sshd[8051]: Server listening on 0.0.0.0 port 22.
Jan 27 19:22:47 localhost sshd[8051]: Server listening on :: port 22.
Jan 27 19:22:53 localhost polkitd(authority=local): Registered Authentication Agent for session /org/freedesktop/ConsoleKit/Session1 (system bus name :1.30 [/usr/libexec/polkit-gnome-authentication-agent-1], object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Jan 27 19:25:15 localhost pam: gdm-password[8421]: pam_unix(gdm-password:session): session opened for user rafi by (uid=0)
Jan 27 19:25:15 localhost polkitd(authority=local): Unregistered Authentication Agent for session /org/freedesktop/ConsoleKit/Session1 (system bus name :1.30, object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Jan 27 19:25:21 localhost polkitd(authority=local): Registered Authentication Agent for session /org/freedesktop/ConsoleKit/Session2 (system bus name :1.54 [/usr/libexec/polkit-gnome-authentication-agent-1], object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.utf8)
Jan 27 19:28:26 localhost su: pam_unix(su:session): session opened for user root by rafi(uid=500)
Jan 27 19:30:01 localhost su: pam_unix(su:session): session closed for user root
@
"secure" 142L, 17806C

Thanks

mohamed_rafi 01-29-2013 08:07 AM

Hello Chris

Do you get a chance to take a look at log which I sent yesterday. Thanks for your valuable time.

chrism01 01-29-2013 07:24 PM

Ensure ssh is listening, then do (on Linux)
Code:

tail -f /var/log/secure
and try to log in. You should see new msgs appearing in the log when you do this.

mohamed_rafi 01-29-2013 08:54 PM

I tried this, but I still get the same error message when I try to remote by using PUTTY.
Thanks

chrism01 01-29-2013 10:35 PM

1. Did any msgs appear in the log?

2. try turning off iptables
Code:

service iptables stop
and try logging in again. DO check the logfile /var/log/secure


3. how are the 2 machines connected: direct, via a switch, via a router, via a hub?

mohamed_rafi 01-30-2013 09:43 AM

Hi Chris

Thanks for your help. It is working now. Appreciated your time.

vipin310379 01-30-2013 10:25 AM

here the problem does not seem to be on "linux" box. just for a moment, try
to disable the firewall on your "windows 7" machine.

then retry to connect.

mohamed_rafi 01-30-2013 02:12 PM

Hello Friends

I just realized that I installed 'antivirus' software Norton in my window machine. That may be one of the reason I could not able to connect. Even I could not to connect to work after I installed this machine. Today I uninstalled this and tried. It is working perfect.

Thanks everyone for all you valuable inputs.
Highly appreciated.


All times are GMT -5. The time now is 10:57 AM.