Solved

Linux - CentOS 5.2 questions

Posted on 2008-10-07
1
1,166 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
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
Creating and Managing Databases with phpMyAdmin in cPanel.
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.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

803 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