Solved

Linux - CentOS 5.2 questions

Posted on 2008-10-07
1
1,168 Views
Last Modified: 2013-12-15
I'm new to Linux and have a few questions.

1)  Which download of MySQL is recommended for CentOS 5.2?  http://dev.mysql.com/downloads/mysql/5.0.html#downloads

2)  After installing, the host name of the server was that of an old PC that use to be part of our system.  I didn't set it and don't know how it was generated.  Any ideas?

3)  I'm looking for documentation on how to join this server to an Active Directory.

4)  It looks like VNC is installed but while I can ping the server I can't VNC into it.  Is there something I need to do before that is possible?  Is there a better remote access software I should be looking at?
0
Comment
Question by:Whah
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 5

Accepted Solution

by:
si_shamil earned 500 total points
ID: 22663995
To install mysql type following commands as root:
   yum install mysql mysql-server
   chkconfig --levels 235 mysqld on
   service mysqld start

To change hostname edit the this file: /etc/sysconfig/network and enter the appropriate name using the HOSTNAME variable.
then reboot for changes to take effect

Here is a detailed how to for joining to domain as member server:
   http://www.howtoforge.com/samba_ads_security_mode

Installing & Configuring VNC server.
Assume you have CentOS installed with Gnome. If you want to remotely access the GUI to that machine, you can use vnc-server and a vnc client (like Chicken of the VNC). Here's how:

Make sure vnc-server is installed:
   sudo yum install vnc-server

Run vnc-server, for initially create configs and choose a password.:
   vnc-server

 Now Edit the file ~/.vnc/xstartup so it runs a gnome session instead of crappy twm:
   #!/bin/sh

   # Uncomment the following two lines for normal desktop:
   # unset SESSION_MANAGER
   # exec /etc/X11/xinit/xinitrc

   [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
   [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
   xsetroot -solid grey
   vncconfig -iconic &
   xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
   exec gnome-session &

Kill vnc server and restart it:
   killall Xvnc
   vnc-server

0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo‚Ķ
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question