You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.8 KiB
1.8 KiB
CentOS
Available Commands
The centos
profile incorporates commands from Django, messages, MySQL, PHP, POSIX, Postgres, and Python.
apache
Work with Apache.
apache.disable_module: module_name
(not supported)apache.disable_site: site_name
(not supported)apache.enable_module: module_name
(not supported)apache.enable_site: site_name
(not supported)apache.reload
apache.restart
apache.start
apache.stop
apache.test
install
Install a system package.
[install apache]
install: apache2
reload
Reload a service.
[reload postgres]
reload: postgresql
restart
Restart a service:
[restart postgres]
restart: postgresql
run
Run any shell command.
[run a useless listing command]
run: "ls -ls"
Note that commands with arguments will need to be in quotes.
start
Start a service:
[start postgres]
start: postgresql
stop
Stop a service:
[stop postgres]
stop: postgresql
system
With with the system.
system.reboot
system.update
system.upgrade
uninstall
Uninstall a package.
[remove libxyz development package]
uninstall: libxyz-dev
upgrade
Upgrade a package.
[upgrade libxyz development package]
upgrade: libxyz-dev
user
Create a user:
groups
: A comma separated list of groups to which the user should be added.home
: The user's home directory.login
: The shell to use.system
: Create as a system user.
[create the deploy user]
user.add: deploy
groups: www-data
home: /var/www
Remove a user:
[remove bob]
user.remove: bob