چرا
فکر کنم یه مشکلی هست
من هر کدوم از دستورات اینجا رو زدم پیام داد که چنین فایلی موجود نیست تا ویرایش بشه :
http://stackoverflow.com/questions/7...-6-0-forbidden
- - - Updated - - -
کد:
[root@server ~]# ls -l /home/jo/ls: cannot access /home/jo/: No such file or directory
[root@server ~]# yum install httpd
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.hostduplex.com
* extras: mirror.lax.hugeserver.com
* updates: mirror.san.fastserv.com
No package httpd available.
Error: Nothing to do[root@server ~]# service httpd startRedirecting to /bin/systemctl start httpd.service
[root@server ~]# service httpd status
Redirecting to /bin/systemctl status httpd.service
â— httpd.service - The Apache HTTP Server
Loaded: loaded (/etc/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2016-02-11 19:50:59 EST; 9min ago
Process: 24423 ExecStop=/bin/kill -TERM ${MAINPID} (code=exited, status=0/SUCCESS)
Process: 16453 ExecReload=/usr/sbin/httpd $OPTIONS -k graceful (code=exited, status=0/SUCCESS)
Process: 24427 ExecStart=/usr/sbin/httpd $OPTIONS -k start (code=exited, status=0/SUCCESS)
Main PID: 24428 (httpd)
CGroup: /system.slice/httpd.service
├─24428 /usr/sbin/httpd -k start ├─24429 /usr/sbin/httpd -k start ├─24430 /usr/sbin/httpd -k start
├─24431 /usr/sbin/httpd -k start
├─24432 /usr/sbin/httpd -k start
├─24433 /usr/sbin/httpd -k start
├─24436 /usr/sbin/httpd -k start
└─24476 /usr/sbin/httpd -k start
Feb 11 19:50:57 server.fffff.ir systemd[1]: Unit httpd.service entered failed state.
Feb 11 19:50:57 server.fffff.ir systemd[1]: httpd.service failed.
Feb 11 19:50:57 server.fffff.ir systemd[1]: Starting The Apache HTTP Server...
Feb 11 19:50:59 server.fffff.ir systemd[1]: Started The Apache HTTP Server.
Feb 11 20:00:24 server.fffff.ir systemd[1]: Started The Apache HTTP Server.
[root@server ~]# yum install vsftpd
Loaded plugins: fastestmirrorLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfile
* base: centos-distro.cavecreek.net
* extras: mirror.lax.hugeserver.com
* updates: mirror.hmc.edu
No package vsftpd available.
Error: Nothing to do
[root@server ~]# service vsftpd start
Redirecting to /bin/systemctl start vsftpd.service
Failed to start vsftpd.service: Unit vsftpd.service failed to load: No such file or directory.
[root@server ~]#