0 Members and 1 Guest are viewing this topic.
[root@server ~]# sh /script/sysinfoA. Kloxo-MR: 6.5.0.f-2014102601B. OS: CentOS release 6.6 (Final) x86_64C. Apps: 1. MySQL: mysql55-5.5.40-2.ius.el6.x86_64 2. PHP: php54-5.4.35-1.ius.el6.x86_64 3. Httpd: --uninstalled-- 4. Lighttpd: --uninstalled-- 5. Nginx: nginx-1.7.8-1.el6.ngx.x86_64 6. Qmail: qmail-toaster-1.03-1.3.38.mr.el6.x86_64 - with: courier-imap-toaster-4.1.2-1.3.17.mr.el6.x86_64 7. Dns: bind-9.9.5-1.el6.x86_64D. Php-type (for Httpd/proxy): mod_php_ruid2E. Memory: total used free shared buffers cached Mem: 13932 674 13257 17 19 219 -/+ buffers/cache: 435 13497 Swap: 0 0 0
[root@server ~]# yum list nginx hiawatha httpdLoaded plugins: fastestmirror, priorities, protectbase, replace, securityLoading mirror speeds from cached hostfile * Webmin: download.webmin.comExcluding mirror: mirror.de.leaseweb.net * base: mirror.23media.de * extras: ftp.plusline.deExcluding mirror: mirror.nl.leaseweb.netExcluding mirror: mirror.de.leaseweb.net * mratwork-epel: mirror.23media.de * mratwork-ius-stable: ius.cu.be * updates: centos.mirrors.psw.services0 packages excluded due to repository protectionsInstalled Packageshiawatha.x86_64 9.8.0-f.2.mr.el6 @mratwork-release-version-archnginx.x86_64 1.7.8-1.el6.ngx @mratwork-nginxAvailable Packageshttpd.x86_64 2.2.29-1.mr.el6 mratwork-release-version-arch[root@server ~]#
[root@server ~]# dir -l /etc/yum.repos.d/total 44-rw-r--r-- 1 root root 1991 Oct 23 13:41 CentOS-Base.repo-rw-r--r-- 1 root root 647 Oct 23 13:41 CentOS-Debuginfo.repo-rw-r--r-- 1 root root 289 Oct 23 13:41 CentOS-fasttrack.repo-rw-r--r-- 1 root root 630 Oct 23 13:41 CentOS-Media.repo-rw-r--r-- 1 root root 5394 Oct 23 13:41 CentOS-Vault.repo-rw-r--r-- 1 root root 7006 Nov 7 01:23 mratwork.repo-rw-r--r-- 1 root root 6234 Sep 27 18:38 mratwork.repo.rpmsave-rw-r--r-- 1 root root 162 Oct 13 14:52 webmin.repo[root@server ~]#
[root@server script]# chkconfig httpd on[root@server script]# sh /script/restart-web -yStopping httpd: [FAILED]Starting httpd: Warning: DocumentRoot [/home/admin/mydomain.net/] does not existWarning: DocumentRoot [/home/admin/mydomain.net/] does not exist [FAILED]Stopping php-fpm: [ OK ]Starting php-fpm: [ OK ][root@server script]#
[root@server script]# sh /script/fixweb- For help, type '/script/fixweb --help'- No argument supplied. Defaulting to localhost (master) serversFixing Web server config- 'domain1.net' ('admin') at 'localhost'- 'domain2.com' ('admin') at 'localhost'- 'defaults' and 'php-fpm' at 'localhost'- 'domain3.com' ('admin') at 'localhost'[root@server script]# sh /script/restart-webStopping httpd: [FAILED]Starting httpd: Warning: DocumentRoot [/home/admin/mydomain.net/] does not existWarning: DocumentRoot [/home/admin/mydoamin.net/] does not exist [FAILED]Stopping php-fpm: [ OK ]Starting php-fpm: [ OK ][root@server script]#
Page created in 0.037 seconds with 21 queries.