User contributions for Alex

From AcrodusWiki
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)

16 December 2025

  • 16:1116:11, 16 December 2025 diff hist +855 N FFMPEG with unix domain socketsCreated page with "This is some information regarding using ffmpeg and ffplay with unix sockets as input/output. Example path of unix domain socket -i unix:/tmp/video/stream.socket The following options can be used -timeout -listen and -type STREAM socket type=1, DGRAM socket type -2. Listen=1 for server, Listen=0 for client. Note that significant problems were had with DGRAM unix sockets, current assumption is that the ffmpeg/libavformat/unix.c file is not adequate for handling DGRAM..." current

11 December 2025

12 October 2025

  • 14:4714:47, 12 October 2025 diff hist +160 N Upgrade debian versionCreated page with "Link to page describing best update practices for upgrading from debian 12 to debian 13. https://www.debian.org/releases/trixie/release-notes/upgrading.en.html" current

4 September 2025

12 August 2025

  • 15:2515:25, 12 August 2025 diff hist +628 N Setup apache2 proxyCreated page with "=Example of how to setup apache2 config= This is an example of the config for Vikunjer apache2 proxy. Vikunjer listens on port 3456, to access this without specifying the port the following config file was added. /etc/apache2/sites-enabled/vikunja.conf <pre> <virtualHost *:80> ServerName task.acrodus.uk ServerAlias www.task.acrodus.uk ProxyPreserveHost On ProxyRequests Off ProxyPass / http://localhost:3456/ ProxyPassReverse / http://localhost:3456/ </pre> Also had to..." current
  • 14:0514:05, 12 August 2025 diff hist +18 Set up vikunja with debian packageNo edit summary current
  • 14:0514:05, 12 August 2025 diff hist +9 Set up vikunja with debian package→‎Vikunja Setup with Debian
  • 14:0414:04, 12 August 2025 diff hist +554 N Set up vikunja with debian packageCreated page with "=Vikunja Setup with Debian= Download debian file from vikunja download page with wget `wget <url>` Install with dpkg `dpkg -i *.deb` Enable and start the systemd service There is one change that is required to the config. Change the timezone from GMT to GB to stop the internal server error warnings. If you have not done this before creating a new user then you must run the following commands. To start the sqlite cli `sudo sqlite3` To connect to the correct database..."

5 August 2025

29 May 2025

22 April 2025

  • 12:1412:14, 22 April 2025 diff hist +9,875 N Apache2 config to allow directory accessCreated page with "Hello Alex, this is going to save you approximatley 2 hours of your life. Example apache2.conf <pre> # This is the main Apache server configuration file. It contains the # configuration directives that give the server its instructions. # See http://httpd.apache.org/docs/2.4/ for detailed information about # the directives and /usr/share/doc/apache2/README.Debian about Debian specific # hints. # # # Summary of how the Apache 2 configuration works in Debian: # The Apache..." current

2 April 2025

27 March 2025

  • 15:1615:16, 27 March 2025 diff hist +178 N Tacacs+ verification toolCreated page with "Python tool that can be used to verify a tacacs server is operating. pip install tacacs_plus tacacs_client -v -u test_administrator -H 192.168.69.9 -k "Atkins123!" authenticate" current

23 March 2025

6 March 2025

  • 09:2409:24, 6 March 2025 diff hist +242 N Add .iso file as a apt repositryCreated page with "Slightly different to other methods. This still requires you to mount the .iso file on the system. The following line (or equivalent) then requires adding to the sources.list file. <pre> deb file:/mnt/debian-iso/ bookworm main contrib </pre>" current

2 March 2025

5 February 2025

  • 20:0620:06, 5 February 2025 diff hist +827 N GTK basic setup with timer in main threadCreated page with "Hello future Alex, This is extract of your GTK rail control system application. Past Alex has added this as refer rence on how to setup with GTK4. This also attaches a timer in the main thread. Not everything is in the below extract, however should jog your memory on the function calls to use. <pre> int main(int argc, char **argv){ gtk_init(); gboolean done = FALSE; GMainLoop *loop =NULL; loop = g_main_loop_new(NULL, FALSE);..." current

4 February 2025

  • 22:4922:49, 4 February 2025 diff hist +97 N Make glade outut gtk4 compatibleCreated page with "Run this command future Alex. <pre> gtk4-builder-tool simplify --3to4 --replace ./main.ui </pre>" current
  • 20:1220:12, 4 February 2025 diff hist +487 N Compile static library with MakefileCreated page with "Makefile example for compiling static library with dependencies in C. <pre> # Library: libgenisys # File: Makefile # Author: Alexander Brown # # NO LICENSE # BINDIR = bin/ OBJDIR = obj/ INCDIR = include/ SRCDIR = src/ CC = gcc RM = /bin/rm -f SOURCE = grail.c OBJECT = grail.o all: ${CC} `pkg-config --cflags cairo pangocairo` -o ${OBJDIR}${OBJECT} -c ${SRCDIR}${SOURCE} `pkg-config --libs cairo pangocairo` clean: ${RM} ${BINDIR}* ${RM} ${OBJ..." current

2 February 2025

  • 14:3414:34, 2 February 2025 diff hist +602 N Install latest kernel with Debian backportsCreated page with "This installs a more recent kernel that is part of the next release of Debian onto the 'Stable' Debian release currently running on the machine. First step is to add backport repo to sources.list or into sources.list.d <pre> deb http://deb.debian.org/debian bookworm-backports main </pre> Then run the command, -t specifies the version to take the package from. <pre> sudo apt install -t bookworm-backports linux-image-amd64 linux-headers-amd64 </pre> This also can be..." current

20 January 2025

  • 06:4506:45, 20 January 2025 diff hist +301 N Initialize a 2d array in pythonCreated page with "To save future Alex issue with this again, just initialise the array like this <pre> cables_type_arr = [[''] for i in range(int_inc)] </pre> And then append each element array like so <pre> cables_type_arr[i].append(record['Type']) </pre> This example was taken from the cable route analysis tool." current

18 January 2025

  • 21:1721:17, 18 January 2025 diff hist +441 N Nftables dnat configCreated page with "Example nftables dnat config. This took a while to set up at first, make sure there is config for packets going in the reverse direction ie. masquerade. table ip nat { chain prerouting { type nat hook prerouting priority dstnat; policy accept; tcp dport 2202 dnat to 10.0.3.2 } chain postrouting { type nat hook postrouting priority srcnat; policy accept; } }" current

2 January 2025

29 December 2024

  • 17:2317:23, 29 December 2024 diff hist +291 N Unable to connect to kvm host with virt-managerCreated page with "Trying to connect to remote kvm host using virt-manager generated the following error <pre> authentication unavailable: no polkit agent available to authenticate action 'org.libvirt.unix.manage' </pre> This was fixed by adding the non root user to the libvirt group on the kvm host machine" current

20 December 2024

16 December 2024

  • 15:0415:04, 16 December 2024 diff hist +769 N Asbru not installing on debian 12Created page with "Asbru-cm does not install well on debian 12 following the instructions on the website/github Below is an extract of a reddit post explaining the fix. <pre> I have just put Debian 12 Bookworm on my laptop and am happy so far. The only issue I had was I could not install Asbru-cm which I use daily for connecting to 10-12 different servers. Following the Devs instructions for installing doesn't actually work. Everything works until you type "sudo apt install asbru-cm" a..." current

11 December 2024

3 December 2024

  • 23:0723:07, 3 December 2024 diff hist +192 Linux machine has booted into grub promptNo edit summary current
  • 22:5422:54, 3 December 2024 diff hist +828 N Linux machine has booted into grub promptCreated page with "This occurred when installing ARCH for the first time. On boot, i was presented with the grub shell. If prompted with grub> then this means grub loaded normally. If prompted with grub rescue> this is worse, and at the time of writing this i have not been in this situation. In my situation a separate boot partition was present, with the rootfs and swap on lvm logical volumes. There was a kernel image and initrd.img present on the /boot. The ls command showed me my two p..."
  • 09:0609:06, 3 December 2024 diff hist +169 N Use the bash export commandCreated page with "The export command shows all shell environment variables. To show environment variables for just the current shell process use the command below: <pre> export -p </pre>" current
  • 09:0309:03, 3 December 2024 diff hist +803 N Using pkg-config as compiler and linker flagsCreated page with "Came across pkg-config files for the first time when using gtk4. The below extract is the makefile for that hello world test. <pre> CFLAGS = -Wall -g `pkg-config --cflags gtk4` LDFLAGS = `pkg-config --libs gtk4` all: gtk_test.c gcc -o gtk_test gtk_test.c $(CFLAGS) $(LDFLAGS) clean: rm -f *~ rm -f *.o rm -f gtk_test </pre> Main thing here is the addition of the compiler and linker flags at the top. These use the shell environment variab..." current
  • 08:4808:48, 3 December 2024 diff hist +102 N Use find command linux to find fileCreated page with "Quick example if im being an idiot with the man pages. <pre> sudo find -type f -name "gtk4.pc" </pre>" current

30 November 2024

  • 16:2216:22, 30 November 2024 diff hist +300 N 'No route to host' when attempting to mount cifs driveCreated page with "This error is produced when you attempt to mount from the command line however to do not have the keyutils and cifs-utils packages installed. <pre> mount: /media/alex/smb: mount(2) system call failed: No route to host. dmesg(1) may have more information after failed mount system call. </pre>" current

29 November 2024

(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)