Web Hosting Talk







View Full Version : RAQ management from Comand Line


ydavka
05-16-2005, 04:55 AM
Hi ppl.
enybody knows doc's source for managing RAQ from command line? don't want use WEB interface.
thanks

galacnet
05-16-2005, 10:59 AM
What do you want to do from the commandline?
Add sites? Install packages?

Its a RedHat distribution so it should be more or less the samke as how you manage a RedHat or fedora Core server.

ydavka
05-19-2005, 08:25 AM
Adding site also.
for example, how to increase disk space for some user in some virtual site on RAQ? FROM COMMAND LINE!
or how to see quota for someone.
etc.

ComAge
06-07-2005, 09:07 PM
Wellllll.... what's the use of having a RAQ GUI then?

By editing SOME config files you can break the raq GUI....

ydavka
06-08-2005, 12:39 AM
ppl, i'm not talking abt useless of GUI. i just want to wark form CL also. Can you imagine that i work iwth RAQ remotely, and somtimes my INET can be bad for GUI.

galacnet
06-09-2005, 08:55 AM
Strange request but then the commands as i have said are standard Linux redhat commands.

eg. adding a website you add the lines into the /etc/httpd/conf/httpd.conf file.

Adding users are something like "useradd [options] [username]"

Viewing resource take up process by using the "top" command.

And many many more

Personally, its better to use the GUI provided, if you are not using the Cobalt GUI, why did you get a Cobalt in the first place??

BruceT
06-24-2005, 03:00 PM
There are some command line tools that interact with the database, and using these tools will keep your UI/database in sync with the actual config files.

Check for shell-tools on your system. You get command-line ability to add/drop users and add/drop/suspend vsites. I don't recall about quota changes, etc. I think that's in the user tools.

If you don't have the RPM on your server, you can find it on the Sun FTP server I think -- ftp://ftp.cobalt.sun.com/pub/ ... sorry I don't recall the exact directory at the moment. Jeff Bilicki is the engineer who wrote them, so you can also search for jeffb on the server and that will point you to them.

The scripts are named similar to the "real" Red Hat tools, but have a c in front. So cadduser instead of adduser, etc.