?
Solved

Linux - CentOS 5.2 questions

Posted on 2008-10-07
1
Medium Priority
?
1,170 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 2000 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

Does Your Cloud Backup Use Blockchain Technology?

Blockchain technology has already revolutionized finance thanks to Bitcoin. Now it's disrupting other areas, including the realm of data protection. Learn how blockchain is now being used to authenticate backup files and keep them safe from hackers.

Question has a verified solution.

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

In this article, I’ll talk about multi-threaded slave statistics printed in MySQL error log file.
Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

762 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