ap - i mean apache service
and
my - i mean mysql service
and
my - i mean mysql service
cd
vim .bashrc
Paste next lines:
alias apstart="sudo systemctl start httpd.service"
alias apstop="sudo systemctl stop httpd.service"
alias aprestart="sudo systemctl restart httpd.service"
alias mystart="sudo systemctl start mysqld.service"
alias mystop="sudo systemctl stop mysqld.service"
alias myrestart="sudo systemctl restart mysqld.service"
Thats it.
Комментариев нет:
Отправить комментарий