Category: Fedora

Install PhpMyAdmin Fedora 29 – quick

Prerequisites: Fedora 29 Apache MariaDB # rpm -Uvh http://rpms.famillecollet.com/fedora/remi-release-29.rpm # dnf –enablerepo=remi,remi-test install phpMyAdmin If you’re looking to log on remotely – like from a Windows machine, enable remote logins. Keep in mind everyone can access the login screen.Replace  

Tagged with: , ,

Reset Bareos 18.2 on Fedora 29

Stop Bareos services: # systemctl stop bareos-dir; systemctl stop bareos-fd; systemctl stop bareos-sd Remove files: # rm -R /var/lib/bareos/storage/ # rm /var/lib/bareos/* Drop & create database cd /usr/lib/bareos/scripts ./drop_bareos_database ./create_bareos_database ./make_bareos_tables ./grant_bareos_privileges Restart Bareos services: # systemctl start bareos-dir; systemctl

Tagged with: , , , , ,

Install Bareos 18.2 and webui in Fedora 29 Server

Thanks to @jackson over at linuxhelp.com, with a couple of tweaks, I was able to install Bareos 18.2 on Fedora 28 Server.   Here is the original article: https://www.linuxhelp.com/how-to-install-bareos-in-centos You’re choice of a VM or bare metal machine.  I choose VMware

Tagged with: , , , , , , , , ,

Fedora 27 – Configure NFS Server and Client

Two machines, a file server and a workstation.. File server AND workstation: Add host name entries, :wq. # vi /etc/hosts 192.168.1.127 FileServer 192.168.1.128 WorkStation Install the required software, enable and start rpc bind. # dnf -y install install nfs-utils libnfsidmap

Tagged with: , , , , , , , , , , ,

Fedora 27 LXQT – Automount USB drive

Cake. # dnf -y install autofs # systemctl enable autofs # systemctl start autofs

Tagged with: , , , , , , ,

Fedora 23,24,25,26,27 – reboot or shutdown with cron

‘reboot’ and ‘shutdown’ won’t work in a script, so add a fully pathed reboot or shutdown directly into root’s crontab # crontab -e Add the line to reboot at midnight everyday, shutdown at 10pm everynight 0 0 * * *

Tagged with: , , , , , , , ,

Fedora 26,27 – Enable sftp ONLY and TigerVNC server

Enable sftp ONLY # useradd dave # groupadd sftpusers # usermod -G sftpusers dave # vi /etc/ssh/sshd_config – 140G – comment out and add a line below #Subsystem sftp /usr/libexec/openssh/sftp-server Subsystem sftp internal-sftp – add to the end Match Group

Tagged with: , , , ,

Enable and Disable Thumb Drive Write Protection

This works with thumb, SD, microSD, SSDs, and hard drives. UNIX was intentionally written to use terse commands “ls”, “su”, “cd”… So, why the F do I want to type “sudo ” before every root command on my personal machine?

Tagged with: , , , , , , ,

John-The-Ripper Jumbo 1.8.0 compile/make Fails in Fedora 25, GCC5

Let me guess, you’re using GCC5 and not 4.92 or less. If you’re getting this error: dynamic_fmt.o: In function `DynamicFunc__crypt_md5_to_input_raw_Overwrite_NoLen’: /home/dave/wksp/john/src/dynamic_fmt.c:4989: undefined reference to `MD5_body_for_thread’ dynamic_fmt.o: In function `DynamicFunc__crypt_md5′: /home/dave/wksp/john/src/dynamic_fmt.c:4425: undefined reference to `MD5_body_for_thread’ dynamic_fmt.o: In function `DynamicFunc__crypt_md5_in1_to_out2′: /home/dave/wksp/john/src/dynamic_fmt.c:4732: undefined

Tagged with: , , , , , , , , , , , , , , ,

Enable Samba on Fedora 24

Lets make this easy and switch up to root: $ su – Password: Install the following files: dnf install samba samba-common samba-client system-config-samba dnf install policycoreutils-python-utils Configure SELinux to enable read/write access to shared dirs: semanage fcontext -a -t samba_share_t

Tagged with: , , , , , , , ,
Top