OpenVZ Forum


Home » Mailing lists » Users » How to do ANYTHING with the opensuse template cache?
Re: How to do ANYTHING with the opensuse template cache? [message #4986 is a reply to message #4980] Mon, 07 August 2006 15:05 Go to previous messageGo to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Markus KARG wrote:
> I am new to OpenVZ and must confess that I am one of those admins that
> really do not know anything on text based administration but do always
> use GUI-based version of YaST2... So I have a bit a problem with the
> OpenSuSE template cache that can be downloaded from the OpenVZ web site.
>
> Actually it was pretty easy to set up OpenVZ and create and run a VPS
> using the prebuilt OpenSuSE tarball found on the OpenVZ web site. I can
> use the vzctl enter 101 backdoor to have TTL access, do ps -A and such
> things.
>
> Now I want to use "real" administrative access to set up the services I
> like to run. But in fact it seems the OpenSuSE template has switched off
> nearly everything. ssh, telnet, rlogin... everything I can imagine
> fails (ok, ping works...).
>
(1) As far as I remember, ssh and httpd are on by default in opensuse
template.

(2) To enable services from the command like, you can use
/sbin/chkconfig utility.
Examples:

/sbin/chkconfig --list
will give you a list of all services and their settings on different
runlevels

/sbin/chkconfig --level 345 sshd on
will enable sshd for runlevels 3, 4, and 5

/sbin/chkconfig --list sshd
will show you the settings for sshd

Finally, if you want, say, sshd to start without reboot, run
/etc/init.d/sshd start
> So I tried to use text mode yast2 within the backdoor, but while this
> truely starts yast (can see it in ps), still nothing gets shown on the
> screen (seems the backdoor is unable to handle its ncurses based GUI).
>
> Okay, I give up now.
> Can anybody tell me how to get an administrative access to that OpenSuSE
> VPS...?
> I'm quite desperate...
>
> Thanks in advance!
>
The other problem that can happen with opensuse template is UBC
shortage. Take a look at http://wiki.openvz.org/Resource_shortage.
Basically, you need to check /proc/user_beancounters inside a VE and if
the last column contains non-zero numbers, do something about it (see
the wiki article referenced above).

Finally, I will be updating opensuse template really soon (this week I
hope), and will post a detailed HOWTO on how you can create your own
opensuse template with all the software and settings you want to have.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Memory consumption of initially configured VE
Next Topic: Firewalls and security patterns
Goto Forum:
  


Current Time: Sat Jul 20 05:16:22 GMT 2024

Total time taken to generate the page: 0.02305 seconds