Solved

Linux - CentOS 5.2 questions

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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Containers like Docker and Rocket are getting more popular every day. In my conversations with customers, they consistently ask what containers are and how they can use them in their environment. If you’re as curious as most people, read on. . .
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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.

717 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