RHEL Subscriptions
- Read more about RHEL Subscriptions
- Log in or register to post comments
If you SSH to the same server a lot and don't want to type the password each time you can configure SSH so you don't have to.
First login to your terminal as normal and run
$ ssh-keygen
This will ask you the name of the key pair file you want to use.
It will suggest ~/.ssh/id_rsa
It will also create an id_rsa.pub file.
Next you need to "copy" that file to the server you want to connect to, you do by using the ssh-copy-id command.
$ ssh-copy-id user@hostname
[root@server01 conf]# systemctl status httpd
httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Drop-In: /usr/lib/systemd/system/httpd.service.d
└─php-fpm.conf
Active: failed (Result: exit-code) since Tue 2019-10-29 19:34:11 AEDT; 5min ago
Docs: man:httpd.service(8)
Process: 26402 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILUR
[root@server01 repos]# curl localhost/index.html
Forbidden
You don't have permission to access /index.html
on this server.
set the correct context on the new folder
[root@server01 repos]# semanage fcontext -a -t httpd_sys_content_t "/repos(/.*)?"
check the context
[root@server01 repos]# ls -laZ
total 4
drwxr-s---.
1) change to the plexmeduaserver directory
root@plex:/ # cd/usr/local/share/plexmediaserver
2) stop the plexmediaserver service
root@plex:/usr/local/share/plexmediaserver # service plexmediaserver stop
Stopping plexmediaserver.
Cleaning up leftover child processes.
3) Copy the plex update to the current directory
3) Unzip the Plex update (the exact name of the update will be slightly different to what is shown
Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer