From abdf891a332974c112e3d047b1cc8524411b6ae0 Mon Sep 17 00:00:00 2001 From: Shipwreckt Date: Sun, 23 Feb 2025 12:55:21 +0000 Subject: Changed some file names + new article --- .../linux/ArchLinux/00CleaningArchLinux.html | 57 ------ .../linux/ArchLinux/01SpeedingUpArchLinux.html | 62 ------- public/articals/linux/ArchLinux/Cleaning.html | 57 ++++++ public/articals/linux/ArchLinux/Optimizing.html | 62 +++++++ .../articals/linux/info/00LinuxFileHierarchy.html | 90 ---------- public/articals/linux/info/01Terminal.html | 41 ----- public/articals/linux/info/FileHierarchy.html | 90 ++++++++++ public/articals/linux/info/Terminal.html | 41 +++++ public/articals/linux/media/00cd.html | 76 -------- public/articals/linux/media/01BurningIsos.html | 69 -------- public/articals/linux/media/02FormattingUSB.html | 67 ------- public/articals/linux/media/03EncryptingUSB.html | 94 ---------- public/articals/linux/media/BurningIsos.html | 69 ++++++++ public/articals/linux/media/EncryptingUSB.html | 94 ++++++++++ public/articals/linux/media/FormattingUSB.html | 67 +++++++ public/articals/linux/media/cd.html | 76 ++++++++ public/articals/linux/server/git.html | 197 +++++++++++++++++++++ public/articals/linux/tools/00Ventoy.html | 74 -------- public/articals/linux/tools/Ventoy.html | 74 ++++++++ public/articals/linuxlist.html | 23 ++- public/styles.css.bk | 167 +++++++++++++++++ 21 files changed, 1008 insertions(+), 639 deletions(-) delete mode 100644 public/articals/linux/ArchLinux/00CleaningArchLinux.html delete mode 100644 public/articals/linux/ArchLinux/01SpeedingUpArchLinux.html create mode 100644 public/articals/linux/ArchLinux/Cleaning.html create mode 100644 public/articals/linux/ArchLinux/Optimizing.html delete mode 100644 public/articals/linux/info/00LinuxFileHierarchy.html delete mode 100644 public/articals/linux/info/01Terminal.html create mode 100644 public/articals/linux/info/FileHierarchy.html create mode 100644 public/articals/linux/info/Terminal.html delete mode 100644 public/articals/linux/media/00cd.html delete mode 100644 public/articals/linux/media/01BurningIsos.html delete mode 100644 public/articals/linux/media/02FormattingUSB.html delete mode 100644 public/articals/linux/media/03EncryptingUSB.html create mode 100644 public/articals/linux/media/BurningIsos.html create mode 100644 public/articals/linux/media/EncryptingUSB.html create mode 100644 public/articals/linux/media/FormattingUSB.html create mode 100644 public/articals/linux/media/cd.html create mode 100644 public/articals/linux/server/git.html delete mode 100644 public/articals/linux/tools/00Ventoy.html create mode 100644 public/articals/linux/tools/Ventoy.html create mode 100644 public/styles.css.bk diff --git a/public/articals/linux/ArchLinux/00CleaningArchLinux.html b/public/articals/linux/ArchLinux/00CleaningArchLinux.html deleted file mode 100644 index dc32a02..0000000 --- a/public/articals/linux/ArchLinux/00CleaningArchLinux.html +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - Cleaning Arch Linux - - - - -
- -
-
-

How to Clean Arch Linux 🧹

-

Date: 21-7-2024

-

In this artical I will be telling you how to clean up your Arch Linux system in the same way I do so.

-
-

Package Cache

-

The first thing you want to do is clean the Pacman cache, as Pacman does not automatically clean it. This is because Pacman retains the cache in case you need to downgrade a package or reinstall it after uninstalling. To clean the cache, use the following commands:

-
-

sudo pacman -Sc # Remove packages from cache not installed

-

sudo pacman -Scc # Remove packages from cache both installed and not installed

-
-

Some people like to automate this task of cleaning the cache with paccache, but personally I would not because it is something that takes around five minutes max to do. However, it is your choice if you want to do so to avoid the trouble of doing it manually. Regardless of whether you choose to do this manually or automatically, I suggest cleaning the cache monthly. -

-
-

Removing Orphan Packages

-

Orphan packages are those installed as dependencies for other software but are no longer needed. For example, when you install LibreWolf, it downloads a package called librewolf-debug as a dependency. Once the installation is complete, librewolf-debug becomes an orphan package because it is no longer used by LibreWolf.

- -
-

sudo pacman -Qtdq # Identify orphan packages

-

sudo pacman -Rns $(pacman -Qtdq) # Uninstall orphan packages

-
-

I suggest uninstalling Orphan packages every month or so, just like cleaning the Pacman cache.

-
-

Cache

-

Sometimes you want to clean out the ~/.cache directory, as it can accumulate a large number of files from various programs on your system. The cache directory contains temporary files used by different applications to speed up their processes. In general, it is safe to delete all items in this directory, but be cautious if you have specific applications with unusual caching mechanisms. To clean the cache directory run the following command:

-
-

rm -rf ~/.cache/* # Clear the cache directory

-
-
-
-

That is all for now, I hope this artical has helped you clean your system.

-
  Back πŸšͺ
-    
- - - diff --git a/public/articals/linux/ArchLinux/01SpeedingUpArchLinux.html b/public/articals/linux/ArchLinux/01SpeedingUpArchLinux.html deleted file mode 100644 index 0596aa8..0000000 --- a/public/articals/linux/ArchLinux/01SpeedingUpArchLinux.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - Speeding up Pacman πŸš— - - - - -
- -
-
-

How to speed up Pacman πŸš—

-

Date: 23-7-2024

-
-

It is very easy to speed up Pacman, and we can do it in a few easy steps, so follow this guide, and your favourite package manager will be fast as anything!

-
-

Pacman.conf

-

Pacman can download packages in parallel, meaning you are able to download more than one package at a time, which makes the process of installing and updating packages way faster!

- -

The first thing you want to do is go to the location of pacman.conf, which is located in /etc/pacman.conf. So you would want to run a command like this but with your preferred text editor:

-
-

sudo nvim /etc/pacman.conf

-
-

Now that you are in the configuration file, you want to navigate to a section where it says Misc options. You want to uncomment the line where it says 'ParallelDownloads.' It should look something like this:

-
-

# Misc options
- #UseSyslog
- Color
- #NoProgressBar
- CheckSpace
- #VerbosePkgLists
- ParallelDownloads = 5
- ILoveCandy

-
-

If you have a keen eye, you may have spotted the last line, which says 'I Love Candy,' and the reason why this line is here is because it gives the Pacman prompt when you run it a bit of styal with the pound signs being replaced with Pacman!

-
-

Mirrors πŸͺž

-

If you did not know, a mirror is a server where the packages you install are hosted. Ideally, you want to download all of your packages from the fastest mirrors, so let me show you how to do that!

-

The first thing you will need to do is install the reflector program and run the reflector command.

-
-

sudo pacman -S reflector
sudo reflector --latest 10 --sort rate --save /etc/pacman.d/mirrorlist
sudo pacman -Syy # To update package list from server

-
-

After running this command, your download speed should be way faster!

-
-
-

I hope this has helped you in making Pacman not only look better but function better!

-
  Back πŸšͺ
-    
- - - diff --git a/public/articals/linux/ArchLinux/Cleaning.html b/public/articals/linux/ArchLinux/Cleaning.html new file mode 100644 index 0000000..dc32a02 --- /dev/null +++ b/public/articals/linux/ArchLinux/Cleaning.html @@ -0,0 +1,57 @@ + + + + + + + Cleaning Arch Linux + + + + +
+ +
+
+

How to Clean Arch Linux 🧹

+

Date: 21-7-2024

+

In this artical I will be telling you how to clean up your Arch Linux system in the same way I do so.

+
+

Package Cache

+

The first thing you want to do is clean the Pacman cache, as Pacman does not automatically clean it. This is because Pacman retains the cache in case you need to downgrade a package or reinstall it after uninstalling. To clean the cache, use the following commands:

+
+

sudo pacman -Sc # Remove packages from cache not installed

+

sudo pacman -Scc # Remove packages from cache both installed and not installed

+
+

Some people like to automate this task of cleaning the cache with paccache, but personally I would not because it is something that takes around five minutes max to do. However, it is your choice if you want to do so to avoid the trouble of doing it manually. Regardless of whether you choose to do this manually or automatically, I suggest cleaning the cache monthly. +

+
+

Removing Orphan Packages

+

Orphan packages are those installed as dependencies for other software but are no longer needed. For example, when you install LibreWolf, it downloads a package called librewolf-debug as a dependency. Once the installation is complete, librewolf-debug becomes an orphan package because it is no longer used by LibreWolf.

+ +
+

sudo pacman -Qtdq # Identify orphan packages

+

sudo pacman -Rns $(pacman -Qtdq) # Uninstall orphan packages

+
+

I suggest uninstalling Orphan packages every month or so, just like cleaning the Pacman cache.

+
+

Cache

+

Sometimes you want to clean out the ~/.cache directory, as it can accumulate a large number of files from various programs on your system. The cache directory contains temporary files used by different applications to speed up their processes. In general, it is safe to delete all items in this directory, but be cautious if you have specific applications with unusual caching mechanisms. To clean the cache directory run the following command:

+
+

rm -rf ~/.cache/* # Clear the cache directory

+
+
+
+

That is all for now, I hope this artical has helped you clean your system.

+
  Back πŸšͺ
+    
+ + + diff --git a/public/articals/linux/ArchLinux/Optimizing.html b/public/articals/linux/ArchLinux/Optimizing.html new file mode 100644 index 0000000..0596aa8 --- /dev/null +++ b/public/articals/linux/ArchLinux/Optimizing.html @@ -0,0 +1,62 @@ + + + + + + + Speeding up Pacman πŸš— + + + + +
+ +
+
+

How to speed up Pacman πŸš—

+

Date: 23-7-2024

+
+

It is very easy to speed up Pacman, and we can do it in a few easy steps, so follow this guide, and your favourite package manager will be fast as anything!

+
+

Pacman.conf

+

Pacman can download packages in parallel, meaning you are able to download more than one package at a time, which makes the process of installing and updating packages way faster!

+ +

The first thing you want to do is go to the location of pacman.conf, which is located in /etc/pacman.conf. So you would want to run a command like this but with your preferred text editor:

+
+

sudo nvim /etc/pacman.conf

+
+

Now that you are in the configuration file, you want to navigate to a section where it says Misc options. You want to uncomment the line where it says 'ParallelDownloads.' It should look something like this:

+
+

# Misc options
+ #UseSyslog
+ Color
+ #NoProgressBar
+ CheckSpace
+ #VerbosePkgLists
+ ParallelDownloads = 5
+ ILoveCandy

+
+

If you have a keen eye, you may have spotted the last line, which says 'I Love Candy,' and the reason why this line is here is because it gives the Pacman prompt when you run it a bit of styal with the pound signs being replaced with Pacman!

+
+

Mirrors πŸͺž

+

If you did not know, a mirror is a server where the packages you install are hosted. Ideally, you want to download all of your packages from the fastest mirrors, so let me show you how to do that!

+

The first thing you will need to do is install the reflector program and run the reflector command.

+
+

sudo pacman -S reflector
sudo reflector --latest 10 --sort rate --save /etc/pacman.d/mirrorlist
sudo pacman -Syy # To update package list from server

+
+

After running this command, your download speed should be way faster!

+
+
+

I hope this has helped you in making Pacman not only look better but function better!

+
  Back πŸšͺ
+    
+ + + diff --git a/public/articals/linux/info/00LinuxFileHierarchy.html b/public/articals/linux/info/00LinuxFileHierarchy.html deleted file mode 100644 index fcc6682..0000000 --- a/public/articals/linux/info/00LinuxFileHierarchy.html +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - Linuxx file hierarchy - - - - -
- -
-
-

The Linux File Hierarchy

-

Date: 05:8:2024

-
-

Like any other operating system Linux has a File Hierarchy, due to the fact that the Linux operating system is a Unix-like operating system the infomation in this article can be applied to BSD and any modern versions of Unix like Solaris or IBM's AIX.

-
-

/ (root)

-

Every single varient of Linux has a root directory reposented by the forward slash symbol '/' it is the highest level directory in Linux and it stores all the system files that make it possable to run Linux.

-
-

/bin

-

The bin directory is where all of the executable binaries are stored, this allows you to use commands like ''cd', 'mkdir' and all the commands you can type into your command line.

-
-

/boot

-

The /boot directory holds all the files needed for you to be able to boot up your Linux system. It includes configuration files for whatever bootloader you are using and other components, such as the installed kernel and the initial RAM disk. The kernel is the main part of every operating system, from Windows to Linux to BSD. Its goal is to allocate resources to programs and allow them to run, while the initial RAM disk is just there to mount the root filesystem at boot. If you have more than one kernel installed, it will be stored in the /boot directory, so if you plan to install more than one kernel, I would strongly suggest allocating some more space to this directory.

-
-

/dev

-

The /dev directory contains files that represent the hardware devices of your computer, such as hard drives, terminals, and such. These device files allow the operating system and software to interact with the hardware. For example, if you have ever installed Arch Linux or Gentoo /dev/sda would be the first SATA drive on your computer, while something like /dev/tty20 would represent the twentieth terminal on the system. Also the /dev directory includes virtual device files, such as /dev/null, which discards all data written to it, and /dev/random, which generates random numbers. These virtual devices provide various system functions that do not interact with the physical hardware.

-
-

/etc

-

The etc directory contains configuration files for all of the system-wide settings. It includes configurations for system services, users, and various applications. A few essential files in /etc would be the fstab file which defines how all the disk partitions are mounted on boot and if this is not present well your computer will not mount propally meaning you will not be able to boot, /etc/passwd which contains user info, and /etc/hostname which has the system’s hostname whithin it. This directory is needed for managing your Linux system because it holds many aspects of system behavior and configuration.


- -

/home

-

The /home directory is where users' files are stored. Each user on the system has a subdirectory within /home, normally named after their username, where they can store personal files, configurations, and other personal files. For example, my user is "shipwreckt" and I have my home directory in /home/shipwreckt. This directory is essential for normal computer use.


- -

/lib

-

The /lib directory holds all of the shared library files that are needed by programs. In these libraries is the code for various programs to run; an example would be the C library, which is essential for programs written in C (who would have guessed). This directory is critical for the running of programs and your system as a whole.


- -

/lib64

-

The /lib64 directory is basically the same as /lib but it holds 64-bit libraries. If your Linux system runs on a 64-bit architecture, /lib64 contains the needed libraries required for 64-bit programmes. While /lib normally contains 32-bit libraries, the separation helps in managing libraries for different system architectures.


- -

/media

-

The /media directory is used for mounting removable media like USBs, CDs, and if you are old floppy disks. When a removable device is plugged into the computer, it should be mounted to the /media directory. On some Linux systems, like Arch Linux, there is no /media directory but there is a /run/media directory. Removable media is not automatically mounted, so you might need to do this manually, be that through your file manager or the terminal.


- -

/mnt

-

The /mnt directory is used for mounting other hard drives on your computer. On my computer I have two drives my NVME drive that has Arch Linux installed on it and my secondary drive that I use for backups, the drive is in /mnt sadly there is not much to say about /mnt but this is all I know about it.


- -

/opt

-

The /opt directory is used for installing third-party software are not part of the default system. Software installed here does not normally need core system components. In my /opt I only have the nuclear music player and to my knowlage only programs written in higher level programming langauges like python and java are installed here.


- -

/proc

-

the /proc directory is a virtual filesystem that gives us a view into the kernel's internal data structures. This directory contains infomation about system processes and a bunch of kernel parameters. Files in /proc are not readable files but are created over time by the kernel. For example /proc/cpuinfo holds a bunch of useful infomaiton about your CPU, whilst /proc/meminfo shows memory usage. This directroy is needed ofr monitoring and managing system performance


- -

/root

-

If you did not know root is technically a user and its home directory is not in /home instead it is in the /root. It is used to store anything a normal user would use their home directory for.


- -

/sbin

-

The /sbin directory contains essential binaries and commands that are used by the root user. Unlike the /bin directory which includes binarys for basic programs for all users to use /sbin holds commands that can only be used by the root user. It contains lots of useful programs like 'fsck' and more.


- -

/srv

-

/srv stands for "service" and is used to hold files that are served by various system services such as web servers. By default I beleve on all Linux systems /srv has two files in it, being http and ftp both being types of web servers. There is not much to say about /srv but you are only really going to use it if you are messing around with websites.


- -

/sys

-

The /sys directory is a virtual filesystem that allows us to examine the kernel's hardware and device model in greater detail. /sys is specifically made to interact with and set up kernel subsystems and hardware devices. Similar to /proc, the contents of this directory are generated in real time by the kernel and are important to understanding the hardware of your Linux system.


-

/tmp

-

The /tmp directory is used for storing temporary files created by programs and system processes. It serves as a place for programs to dump their data that is only needed temporarily. Files in /tmp are normally deleted on reboot or after a certain period of time. This directory is needed for many programs to work. There is not much else to say apart from do not store normal files here just in case they disappear!


-

/usr

-

The /usr directory is a very important part of the Linux filesystem, it stores user related programs and data. It contains a lot of the system's executable programs, libraries, and more. Within /usr you will find a few important directories /usr/bin that holds binaries /usr/lib that holds libraries, /usr/share which contains documentation and configuration files. /usr is made for files to be used by all users. It is essential for programs to function.


-

/var

-

The /var directory is used to store variable data that changes all the time while yout system is powered on. Important things such as logs, mail spools, and temporary files. If you are running a server I do suggest giving /var its own partition because it allows for easy backup and recovery.


-

Overview

-

This has took me a while to write because I have had to double check everything and put it in my own words so I understand it! If there are any issues please with this artical please report it.

-

As normal thank you for reading!


-
-
  Back πŸšͺ
-
-    
- - - diff --git a/public/articals/linux/info/01Terminal.html b/public/articals/linux/info/01Terminal.html deleted file mode 100644 index 73d367e..0000000 --- a/public/articals/linux/info/01Terminal.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - Terminal > GUI - - - - -
- -
-
-

Why the terminal will always beat the GUI πŸ‘¨β€πŸ’»

-

Date: 27-08-2024


-

I want to say this now, I do not care if people use a GUI option for things, Linux is all about choice and if you choose to use a GUI instead of using the terminal that is your choice!


- -

1) The Terminal Simplifies Tasks With Fewer Steps:

-

Using the terminal can be way faster and more straightforward than navigating a GUI. For example, updating your Linux system requires one simple command in the terminal. In contrast, using a GUI software centre involves way more steps: opening the software center, navigating to the update section, and then updating all the programs. The terminal streamlines all of this which makes it way more efficient.


- -

2) Enhanced Efficiency

-

A GUI is essentially the command line dressed up with buttons and such, allowing users to execute commands through the elements of the GUI. While this is useful for those who are less familiar with computers, for technical users like you and me, we seek greater efficiency. By learning how to use the command line, we can perform tasks more quickly with only a few words. This not only saves us time but also enhances our productivity.


- -

3) Understanding The System

-

By learning all of these command-line tools over time, you will start learning how a Linux system works and operates, and this will help you fix any issues that pop up in the future. For example, if you wanted to format a USB stick, while yes, you could use Gnome-disk, it is faster just to use fdisk and mkfs for formatting a USB stick.


-

For now that is all I have on why terminal is better!

-
-
  Back πŸšͺ
-    
- - - diff --git a/public/articals/linux/info/FileHierarchy.html b/public/articals/linux/info/FileHierarchy.html new file mode 100644 index 0000000..fcc6682 --- /dev/null +++ b/public/articals/linux/info/FileHierarchy.html @@ -0,0 +1,90 @@ + + + + + + + Linuxx file hierarchy + + + + +
+ +
+
+

The Linux File Hierarchy

+

Date: 05:8:2024

+
+

Like any other operating system Linux has a File Hierarchy, due to the fact that the Linux operating system is a Unix-like operating system the infomation in this article can be applied to BSD and any modern versions of Unix like Solaris or IBM's AIX.

+
+

/ (root)

+

Every single varient of Linux has a root directory reposented by the forward slash symbol '/' it is the highest level directory in Linux and it stores all the system files that make it possable to run Linux.

+
+

/bin

+

The bin directory is where all of the executable binaries are stored, this allows you to use commands like ''cd', 'mkdir' and all the commands you can type into your command line.

+
+

/boot

+

The /boot directory holds all the files needed for you to be able to boot up your Linux system. It includes configuration files for whatever bootloader you are using and other components, such as the installed kernel and the initial RAM disk. The kernel is the main part of every operating system, from Windows to Linux to BSD. Its goal is to allocate resources to programs and allow them to run, while the initial RAM disk is just there to mount the root filesystem at boot. If you have more than one kernel installed, it will be stored in the /boot directory, so if you plan to install more than one kernel, I would strongly suggest allocating some more space to this directory.

+
+

/dev

+

The /dev directory contains files that represent the hardware devices of your computer, such as hard drives, terminals, and such. These device files allow the operating system and software to interact with the hardware. For example, if you have ever installed Arch Linux or Gentoo /dev/sda would be the first SATA drive on your computer, while something like /dev/tty20 would represent the twentieth terminal on the system. Also the /dev directory includes virtual device files, such as /dev/null, which discards all data written to it, and /dev/random, which generates random numbers. These virtual devices provide various system functions that do not interact with the physical hardware.

+
+

/etc

+

The etc directory contains configuration files for all of the system-wide settings. It includes configurations for system services, users, and various applications. A few essential files in /etc would be the fstab file which defines how all the disk partitions are mounted on boot and if this is not present well your computer will not mount propally meaning you will not be able to boot, /etc/passwd which contains user info, and /etc/hostname which has the system’s hostname whithin it. This directory is needed for managing your Linux system because it holds many aspects of system behavior and configuration.


+ +

/home

+

The /home directory is where users' files are stored. Each user on the system has a subdirectory within /home, normally named after their username, where they can store personal files, configurations, and other personal files. For example, my user is "shipwreckt" and I have my home directory in /home/shipwreckt. This directory is essential for normal computer use.


+ +

/lib

+

The /lib directory holds all of the shared library files that are needed by programs. In these libraries is the code for various programs to run; an example would be the C library, which is essential for programs written in C (who would have guessed). This directory is critical for the running of programs and your system as a whole.


+ +

/lib64

+

The /lib64 directory is basically the same as /lib but it holds 64-bit libraries. If your Linux system runs on a 64-bit architecture, /lib64 contains the needed libraries required for 64-bit programmes. While /lib normally contains 32-bit libraries, the separation helps in managing libraries for different system architectures.


+ +

/media

+

The /media directory is used for mounting removable media like USBs, CDs, and if you are old floppy disks. When a removable device is plugged into the computer, it should be mounted to the /media directory. On some Linux systems, like Arch Linux, there is no /media directory but there is a /run/media directory. Removable media is not automatically mounted, so you might need to do this manually, be that through your file manager or the terminal.


+ +

/mnt

+

The /mnt directory is used for mounting other hard drives on your computer. On my computer I have two drives my NVME drive that has Arch Linux installed on it and my secondary drive that I use for backups, the drive is in /mnt sadly there is not much to say about /mnt but this is all I know about it.


+ +

/opt

+

The /opt directory is used for installing third-party software are not part of the default system. Software installed here does not normally need core system components. In my /opt I only have the nuclear music player and to my knowlage only programs written in higher level programming langauges like python and java are installed here.


+ +

/proc

+

the /proc directory is a virtual filesystem that gives us a view into the kernel's internal data structures. This directory contains infomation about system processes and a bunch of kernel parameters. Files in /proc are not readable files but are created over time by the kernel. For example /proc/cpuinfo holds a bunch of useful infomaiton about your CPU, whilst /proc/meminfo shows memory usage. This directroy is needed ofr monitoring and managing system performance


+ +

/root

+

If you did not know root is technically a user and its home directory is not in /home instead it is in the /root. It is used to store anything a normal user would use their home directory for.


+ +

/sbin

+

The /sbin directory contains essential binaries and commands that are used by the root user. Unlike the /bin directory which includes binarys for basic programs for all users to use /sbin holds commands that can only be used by the root user. It contains lots of useful programs like 'fsck' and more.


+ +

/srv

+

/srv stands for "service" and is used to hold files that are served by various system services such as web servers. By default I beleve on all Linux systems /srv has two files in it, being http and ftp both being types of web servers. There is not much to say about /srv but you are only really going to use it if you are messing around with websites.


+ +

/sys

+

The /sys directory is a virtual filesystem that allows us to examine the kernel's hardware and device model in greater detail. /sys is specifically made to interact with and set up kernel subsystems and hardware devices. Similar to /proc, the contents of this directory are generated in real time by the kernel and are important to understanding the hardware of your Linux system.


+

/tmp

+

The /tmp directory is used for storing temporary files created by programs and system processes. It serves as a place for programs to dump their data that is only needed temporarily. Files in /tmp are normally deleted on reboot or after a certain period of time. This directory is needed for many programs to work. There is not much else to say apart from do not store normal files here just in case they disappear!


+

/usr

+

The /usr directory is a very important part of the Linux filesystem, it stores user related programs and data. It contains a lot of the system's executable programs, libraries, and more. Within /usr you will find a few important directories /usr/bin that holds binaries /usr/lib that holds libraries, /usr/share which contains documentation and configuration files. /usr is made for files to be used by all users. It is essential for programs to function.


+

/var

+

The /var directory is used to store variable data that changes all the time while yout system is powered on. Important things such as logs, mail spools, and temporary files. If you are running a server I do suggest giving /var its own partition because it allows for easy backup and recovery.


+

Overview

+

This has took me a while to write because I have had to double check everything and put it in my own words so I understand it! If there are any issues please with this artical please report it.

+

As normal thank you for reading!


+
+
  Back πŸšͺ
+
+    
+ + + diff --git a/public/articals/linux/info/Terminal.html b/public/articals/linux/info/Terminal.html new file mode 100644 index 0000000..73d367e --- /dev/null +++ b/public/articals/linux/info/Terminal.html @@ -0,0 +1,41 @@ + + + + + + + Terminal > GUI + + + + +
+ +
+
+

Why the terminal will always beat the GUI πŸ‘¨β€πŸ’»

+

Date: 27-08-2024


+

I want to say this now, I do not care if people use a GUI option for things, Linux is all about choice and if you choose to use a GUI instead of using the terminal that is your choice!


+ +

1) The Terminal Simplifies Tasks With Fewer Steps:

+

Using the terminal can be way faster and more straightforward than navigating a GUI. For example, updating your Linux system requires one simple command in the terminal. In contrast, using a GUI software centre involves way more steps: opening the software center, navigating to the update section, and then updating all the programs. The terminal streamlines all of this which makes it way more efficient.


+ +

2) Enhanced Efficiency

+

A GUI is essentially the command line dressed up with buttons and such, allowing users to execute commands through the elements of the GUI. While this is useful for those who are less familiar with computers, for technical users like you and me, we seek greater efficiency. By learning how to use the command line, we can perform tasks more quickly with only a few words. This not only saves us time but also enhances our productivity.


+ +

3) Understanding The System

+

By learning all of these command-line tools over time, you will start learning how a Linux system works and operates, and this will help you fix any issues that pop up in the future. For example, if you wanted to format a USB stick, while yes, you could use Gnome-disk, it is faster just to use fdisk and mkfs for formatting a USB stick.


+

For now that is all I have on why terminal is better!

+
+
  Back πŸšͺ
+    
+ + + diff --git a/public/articals/linux/media/00cd.html b/public/articals/linux/media/00cd.html deleted file mode 100644 index 91f4ee2..0000000 --- a/public/articals/linux/media/00cd.html +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - Burning optical media in Linux - - - - -
- -
-
-

How To Format A USB with Linux πŸ’Ώ

-

Date: 23-08-2024

-
-

This is a quick tutorial to show you how to burn any file to a piece of optical disk media!

-
-

Warning ⚠️

-

Once you burn an optical disk you cannot reburn it. -

Optical media does not have the best storage, normally under 1GiB so make sure your files align with the size of the optical media. -


-

What you will need πŸ“‹

- -
- -

Steps to burn πŸ”₯

-

You will only need one program to burn media to a CD; the name of that program is wodim, and it is part of a collection of programs called cdrkit, as in thename ofe this collection of programs that allow you to do a whole variaty of things withopticall media!Β  -


- -
  • 1) Install cdrkit, on some Linux distrobutions cdrkit is already installed, but on my main Linux distrobution Arch Linux, it is not so check you have it installed, the package on your distro will most likely be called cdrkit.
  • -
    -
    -

    sudo pacman -S cdrkit

    -
    -
    - -
    - -
  • 2) You want to get whatever data you want into an ISO file, so if you had a file called movies that held movies you would use the command.

  • -
    -

    mkisofs -o movies.iso movies

    -
    -

    movies.iso being the output ISO and movies being the directory with the movies in there.

    - -
    - -
  • 3) Now the last command is the actual event of burning the optical media! So insert it into your optical drive and type this command.

  • -
    -

    wodim -v dev=/dev/sr0 movies.iso

    -
    -

    movies.iso being the output ISO from the last command.

    - -
    - -
  • 4) Now it is time to sit back and wait for it to burn; do not get impatient; give it time, and it will burn. When it is done, you may enject the optical media from the CD drive, and it should have all the files you desire.

  • -
    -

    That is all the required steps to burn optical media on Linux, I hope this has helped you!

    -
      Back πŸšͺ
    -    
    - - - diff --git a/public/articals/linux/media/01BurningIsos.html b/public/articals/linux/media/01BurningIsos.html deleted file mode 100644 index 6bcab23..0000000 --- a/public/articals/linux/media/01BurningIsos.html +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - Burning an ISO πŸ”₯πŸ’Ύ - - - - -
    - -
    -
    -

    How to burn an ISO to a USB stick πŸ’Ύ

    -

    Date: 24-08-2024

    -
    -

    Burning an ISO onto a USB stick on Linux is very easy, and you only need to use a few commands!

    -
    -

    What you will need πŸ“‹

    -
    -

    Warning ⚠️

    -

    Make sure there is no valuable information on the USB stick.


    - -

    How to burn an ISO to a USB πŸ”₯πŸ’Ύ

    -

    1) You need to have an ISO file. I am guessing you already have one, but if you do have one, I would suggest checking out Distrowatch.


    - -

    2) Now that you have the ISO file, you need to plug in the USB stick. After doing that, you need to identify the name of the USB with the following command:

    -
    -

    lsblk

    -
    -

    The USB name will be something like sdb or sdc; if you are unsure, check the size of the USB and the size of the device listed.


    - -

    3) We need to make sure the USB is unmounted, and we do this with this command. Remember to use your USB name:

    -
    -

    sudo umount /dev/sdX

    -

    - -

    4) Now it is time to burn the ISO to the USB stick, use your USB name and your ISO name with this command!

    -
    -

    sudo dd if=debian.iso of=/dev/sdX bs=4M status=progress oflag=sync

    -

    - -

    5) After waiting a bit for it to burn, you now need to eject it so you are able to use it with this command:

    -
    -

    sudo eject /dev/sdX

    -

    - -

    Finished βœ…

    -

    After following all of these steps, your USB should have the ISO image burned into it. I hope this has helped you burn a Linux or BSD distro to a USB!

    -
    -
    -
      Back πŸšͺ
    -    
    - - - diff --git a/public/articals/linux/media/02FormattingUSB.html b/public/articals/linux/media/02FormattingUSB.html deleted file mode 100644 index 5e3728b..0000000 --- a/public/articals/linux/media/02FormattingUSB.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - Formatting USBs with Linux πŸ”ŒπŸ”₯ - - - - -
    - -
    -
    -

    Formatting USBs With Linux πŸ”ŒπŸ”₯

    -

    Date: 23-08-2024

    -
    -

    Formatting a USB in Linux is easier then burning an ISO and only needs a few quick commands!


    -

    What you will need πŸ“‹

    -
    - -

    Formatting the USB

    -

    1) The first thing you want to do is plug in your USB stick and identify the USB stick's name.

    -
    -

    lsblk

    -
    -

    Normally the USB will be something like sdX; a tip on identifying it is by looking at the size of the USB in the table that lsblk gives you!


    - -

    2) Now you need to use a program called fdisk that will allow you to create a new partition table for the USB, this will format the USB.

    -
    -

    sudo fdisk /dev/sdX

    -
    -

    You will need to press the following keys to make a new partition table for the USB.

    - -

    Give fdisk a minute to write the new partition to the USB.


    - -

    3) Now is the time to give that partition a file system. You should look into this beforehand to see what file system you want, but I will use fat32 because it works with all operating systems.

    -
    -

    sudo mkfs.fat -F 32 -n "Backup-USB" /dev/sdXx

    -
    -

    The small x represents the number of the partition; the -L flag is used to give the USB stick a name.


    - -

    Finished βœ…

    -

    All done! Now you have an empty USB stick you can use for all your files!


    - -
    -
      Back πŸšͺ
    -    
    - - - diff --git a/public/articals/linux/media/03EncryptingUSB.html b/public/articals/linux/media/03EncryptingUSB.html deleted file mode 100644 index bb2287f..0000000 --- a/public/articals/linux/media/03EncryptingUSB.html +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - - Encrypting USB with luks - - - - -
    - -
    -
    -

    Encrypting USB with luks

    -

    Date: 17-02-2025

    -
    -

    What you will need πŸ“‹

    -
    - -

    1) Install cryptsetup -

    -

    sudo pacman -S cryptsetup

    -
    - -
    - -

    2) Backup any information on the USB stick because this process involves formatting the USB drive.

    - -
    - -

    3) Formatting USB.

    -
    - sudo fdisk /dev/sdX -
    -

    The X being your USB drive.

    -

    Press the following keys:
    o
    n
    Press enter for the rest
    w

    - -
    - -

    4) Encryption time! -

    - sudo cryptsetup luksFormat /dev/sdX1 -
    -

    Make your password secure please! - -


    - -

    5) Decrypt USB

    -
    - sudo cryptsetup luksOpen /dev/sdX1 USB -
    -

    Note: The first password is your root user password, not the encryption password. I have sadly made this mistake in the past.

    - -
    - -

    6) Format the Encrypted Partition

    -
    - sudo mkfs.ext4 /dev/mapper/USB -
    -

    Depending on the size of the USB, this may take some time. For me, it took 3 minutes.

    - -
    - -

    Step 7: Mount the Encrypted Partition

    -
    - sudo mkdir -p /mnt/USB -
    - sudo mount /dev/mapper/USB /mnt/USB -
    - -
    -

    Finished βœ…

    -

    Your password better be good dude. Make sure to memorize it!

    -
    - -
    -
      Back πŸšͺ
    -    
    - - - diff --git a/public/articals/linux/media/BurningIsos.html b/public/articals/linux/media/BurningIsos.html new file mode 100644 index 0000000..6bcab23 --- /dev/null +++ b/public/articals/linux/media/BurningIsos.html @@ -0,0 +1,69 @@ + + + + + + + Burning an ISO πŸ”₯πŸ’Ύ + + + + +
    + +
    +
    +

    How to burn an ISO to a USB stick πŸ’Ύ

    +

    Date: 24-08-2024

    +
    +

    Burning an ISO onto a USB stick on Linux is very easy, and you only need to use a few commands!

    +
    +

    What you will need πŸ“‹

    +
    +

    Warning ⚠️

    +

    Make sure there is no valuable information on the USB stick.


    + +

    How to burn an ISO to a USB πŸ”₯πŸ’Ύ

    +

    1) You need to have an ISO file. I am guessing you already have one, but if you do have one, I would suggest checking out Distrowatch.


    + +

    2) Now that you have the ISO file, you need to plug in the USB stick. After doing that, you need to identify the name of the USB with the following command:

    +
    +

    lsblk

    +
    +

    The USB name will be something like sdb or sdc; if you are unsure, check the size of the USB and the size of the device listed.


    + +

    3) We need to make sure the USB is unmounted, and we do this with this command. Remember to use your USB name:

    +
    +

    sudo umount /dev/sdX

    +

    + +

    4) Now it is time to burn the ISO to the USB stick, use your USB name and your ISO name with this command!

    +
    +

    sudo dd if=debian.iso of=/dev/sdX bs=4M status=progress oflag=sync

    +

    + +

    5) After waiting a bit for it to burn, you now need to eject it so you are able to use it with this command:

    +
    +

    sudo eject /dev/sdX

    +

    + +

    Finished βœ…

    +

    After following all of these steps, your USB should have the ISO image burned into it. I hope this has helped you burn a Linux or BSD distro to a USB!

    +
    +
    +
      Back πŸšͺ
    +    
    + + + diff --git a/public/articals/linux/media/EncryptingUSB.html b/public/articals/linux/media/EncryptingUSB.html new file mode 100644 index 0000000..bb2287f --- /dev/null +++ b/public/articals/linux/media/EncryptingUSB.html @@ -0,0 +1,94 @@ + + + + + + + Encrypting USB with luks + + + + +
    + +
    +
    +

    Encrypting USB with luks

    +

    Date: 17-02-2025

    +
    +

    What you will need πŸ“‹

    +
    + +

    1) Install cryptsetup +

    +

    sudo pacman -S cryptsetup

    +
    + +
    + +

    2) Backup any information on the USB stick because this process involves formatting the USB drive.

    + +
    + +

    3) Formatting USB.

    +
    + sudo fdisk /dev/sdX +
    +

    The X being your USB drive.

    +

    Press the following keys:
    o
    n
    Press enter for the rest
    w

    + +
    + +

    4) Encryption time! +

    + sudo cryptsetup luksFormat /dev/sdX1 +
    +

    Make your password secure please! + +


    + +

    5) Decrypt USB

    +
    + sudo cryptsetup luksOpen /dev/sdX1 USB +
    +

    Note: The first password is your root user password, not the encryption password. I have sadly made this mistake in the past.

    + +
    + +

    6) Format the Encrypted Partition

    +
    + sudo mkfs.ext4 /dev/mapper/USB +
    +

    Depending on the size of the USB, this may take some time. For me, it took 3 minutes.

    + +
    + +

    Step 7: Mount the Encrypted Partition

    +
    + sudo mkdir -p /mnt/USB +
    + sudo mount /dev/mapper/USB /mnt/USB +
    + +
    +

    Finished βœ…

    +

    Your password better be good dude. Make sure to memorize it!

    +
    + +
    +
      Back πŸšͺ
    +    
    + + + diff --git a/public/articals/linux/media/FormattingUSB.html b/public/articals/linux/media/FormattingUSB.html new file mode 100644 index 0000000..5e3728b --- /dev/null +++ b/public/articals/linux/media/FormattingUSB.html @@ -0,0 +1,67 @@ + + + + + + + Formatting USBs with Linux πŸ”ŒπŸ”₯ + + + + +
    + +
    +
    +

    Formatting USBs With Linux πŸ”ŒπŸ”₯

    +

    Date: 23-08-2024

    +
    +

    Formatting a USB in Linux is easier then burning an ISO and only needs a few quick commands!


    +

    What you will need πŸ“‹

    +
    + +

    Formatting the USB

    +

    1) The first thing you want to do is plug in your USB stick and identify the USB stick's name.

    +
    +

    lsblk

    +
    +

    Normally the USB will be something like sdX; a tip on identifying it is by looking at the size of the USB in the table that lsblk gives you!


    + +

    2) Now you need to use a program called fdisk that will allow you to create a new partition table for the USB, this will format the USB.

    +
    +

    sudo fdisk /dev/sdX

    +
    +

    You will need to press the following keys to make a new partition table for the USB.

    + +

    Give fdisk a minute to write the new partition to the USB.


    + +

    3) Now is the time to give that partition a file system. You should look into this beforehand to see what file system you want, but I will use fat32 because it works with all operating systems.

    +
    +

    sudo mkfs.fat -F 32 -n "Backup-USB" /dev/sdXx

    +
    +

    The small x represents the number of the partition; the -L flag is used to give the USB stick a name.


    + +

    Finished βœ…

    +

    All done! Now you have an empty USB stick you can use for all your files!


    + +
    +
      Back πŸšͺ
    +    
    + + + diff --git a/public/articals/linux/media/cd.html b/public/articals/linux/media/cd.html new file mode 100644 index 0000000..91f4ee2 --- /dev/null +++ b/public/articals/linux/media/cd.html @@ -0,0 +1,76 @@ + + + + + + + Burning optical media in Linux + + + + +
    + +
    +
    +

    How To Format A USB with Linux πŸ’Ώ

    +

    Date: 23-08-2024

    +
    +

    This is a quick tutorial to show you how to burn any file to a piece of optical disk media!

    +
    +

    Warning ⚠️

    +

    Once you burn an optical disk you cannot reburn it. +

    Optical media does not have the best storage, normally under 1GiB so make sure your files align with the size of the optical media. +


    +

    What you will need πŸ“‹

    + +
    + +

    Steps to burn πŸ”₯

    +

    You will only need one program to burn media to a CD; the name of that program is wodim, and it is part of a collection of programs called cdrkit, as in thename ofe this collection of programs that allow you to do a whole variaty of things withopticall media!Β  +


    + +
  • 1) Install cdrkit, on some Linux distrobutions cdrkit is already installed, but on my main Linux distrobution Arch Linux, it is not so check you have it installed, the package on your distro will most likely be called cdrkit.
  • +
    +
    +

    sudo pacman -S cdrkit

    +
    +
    + +
    + +
  • 2) You want to get whatever data you want into an ISO file, so if you had a file called movies that held movies you would use the command.

  • +
    +

    mkisofs -o movies.iso movies

    +
    +

    movies.iso being the output ISO and movies being the directory with the movies in there.

    + +
    + +
  • 3) Now the last command is the actual event of burning the optical media! So insert it into your optical drive and type this command.

  • +
    +

    wodim -v dev=/dev/sr0 movies.iso

    +
    +

    movies.iso being the output ISO from the last command.

    + +
    + +
  • 4) Now it is time to sit back and wait for it to burn; do not get impatient; give it time, and it will burn. When it is done, you may enject the optical media from the CD drive, and it should have all the files you desire.

  • +
    +

    That is all the required steps to burn optical media on Linux, I hope this has helped you!

    +
      Back πŸšͺ
    +    
    + + + diff --git a/public/articals/linux/server/git.html b/public/articals/linux/server/git.html new file mode 100644 index 0000000..58d049c --- /dev/null +++ b/public/articals/linux/server/git.html @@ -0,0 +1,197 @@ + + + + + + + Git server setup! + + + + +
    + +
    +
    +

    How to start your own epic Git server!

    +

    Date: 23-02-2025

    +
    +

    Quick guide on how to set up a git server with stagic html website.

    +
    + +

    What you will need πŸ“‹

    + +
    + +

    Setting up Git server

    +
    + +
  • 1) Install Git
  • +
    +
    +

    # sudo apt install git

    +
    +
    + +
    + +
  • 2) Create git user.

  • +
    +

    # sudo adduser git

    +
    + +
    + +
  • 3) Now you need to add your SSh keys.

  • +
    +

    On server

    +

    # su git

    +

    $ cd

    +

    $ mkdir .ssh && chmod 700 .ssh

    +

    $ touch .ssh/authorized_keys && chmod 600 .ssh/authorized_keys

    +
    + +
    + +
    +

    On computer

    +

    $ cat .ssh/id_rsa.pub

    +
    ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCyXwuFdbWHloGPOfFq6p5Dt..... me@shipwreckt.co.uk
    +

    Copy and paste your ssh key to .ssh/authorized_keys on your server. +

    + +

    If you want to allow other people to use your Git server, add their SSH keys alongside yours.

    + +
    + +
  • 4) Nearly done, now all you need to do is make a git repo.

  • +
    +

    # chown git:git /srv/git

    +

    # su git

    +

    $ cd /srv/git

    +

    $ mkdir yourrepo.git

    +

    $ cd yourrepo.git

    +

    $ git init --bare

    +
    + +
    + +
  • 5) Time to add your server to your local repo
  • +
    +

    On computer

    +

    $ cd yourrepo

    +

    $ git init

    +

    $ git add .

    +

    $ git commit -m 'Initial commit'

    +

    $ git remote add origin git@gitserver:/srv/git/project.git

    +

    $ git push origin master

    +
    + +

    If you already have a Git repository from another server, you can do the following to add your new Git server alongside your old one.

    + +
    +

    On computer

    +

    $ cd yourrepo

    +

    $ git remote add server git@gitserver:/srv/git/project.git

    +

    $ git push server master && git push origin master

    +
    + +

    You can now do this for all of your repos!

    + +
    + +
  • 6) If you want to enable anybody to clone from your website do the following!
  • + +
    +

    # sudo git daemon --reuseaddr --base-path=/srv/git/ /srv/git/ &

    +

    # sudo systemctl enable git-daemon

    +

    # sudo systemctl start git-daemon

    +

    # su git

    +

    touch /srv/git/project.git/git-daemon-export-ok

    +
    + +

    Cloning your git repo

    +
    +

    On computer

    +

    git clone git://your-server-ip-address/repository.git

    +
    +

    Now you should be able to be able to clone without a ssh key!

    + +
    +

    Setting up Stagit for personal git website

    +

    Now that you have a Git server, you probably want a way to show off all of your repositories. I personally use Stagit for this because it is lightweight and stylish. I will assume you know how to make a website using Apache or Nginx.

    + +
    +
  • 1) First you need to install stagit, I have my own custom fork to make it easier to setup.
  • +
    +

    # cd /var/www

    +

    # git clone git://shipwreckt.co.uk/stagit-fork.git

    +

    # mkdir git

    +

    # chown git:git git

    +

    # mv stagit-fork/* git

    +

    # cd git

    +

    # sudo make clean install

    +
    + +
    +
  • 2) Setup website.
  • +
    + # cd htmldir + # sh example_create.sh +
    +

    Your static stagit website should be generated for you! Check by going to git.yourdomain.com. + +


    + +
  • 3) Next you want to set up ownership, links, and descriptions for stagiit to display
  • +
    +

    Descriptions

    +

    # This is my git repo > /srv/git/yourrepo.git/description

    +
    + +
    +

    URL

    +

    # git://yourdomain.com/yourrepo.git > /srv/git/yourrepo.git/url +

    + +
    +

    Owner

    +

    # owner > /srv/git/yourrepo.git/owner

    +
    + +
    +

    Update stagit

    +

    # sh /var/www/git/htmldir/example_create.sh

    +
    + +

    Now repete for all of your repos till all is correct!

    + +
    +
  • 3) Now you want it so stagit updates whenever there is an update, thankfully for you I have modified the script to work whenever a git commit is made!
  • +
    + # cp /var/www/git/example_post-receive.sh /srv/git /srv/git/yourgitrepo.git/hooks/post-receive +
    +

    Now whenever you push a commit everything should update!


    + +

    Overview

    +

    I hope this guide has helped you setup a kool git server! If there are any problems please contact me!

    + +
    +
    +
      Back πŸšͺ
    +    
    + + + diff --git a/public/articals/linux/tools/00Ventoy.html b/public/articals/linux/tools/00Ventoy.html deleted file mode 100644 index dcbe206..0000000 --- a/public/articals/linux/tools/00Ventoy.html +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - - Installing Ventoy - - - - -
    - -
    -
    -

    How to Install Ventoy with Linux πŸ§πŸ”Œ

    -

    Date: 25-08-2024

    -
    -

    Installing Ventoy is pretty easy, just a few quick steps and you will be there!

    -
    -

    What you will need πŸ“‹

    - -
    -

    Warning ⚠️

    -

    If the USB has any useful data, please back it up before following this guide.


    - -

    Installing Ventoy with Linux πŸ§πŸ”Œ

    -

    1) The first thing you want to do is get a few .ISO and .IMG files. Tails is a must-have on Ventoy, and you can also have a little look on distrowatch for other distros that peak your curiosity!


    - -

    2) Install ventoy.tar.gz from https://ventoy.net/en/index.html, the website tells you to install it from source forge, make sure it is the linux.tar.gz file.


    - -

    3) After installing the tar.gz, you need to run the following command; this will open the compressed file, which will allow you to use Ventoy.

    -
    -

    gunzip ventoy-<version>-linux.tar.gz && tar -xvf ventoy-<version>-linux.tar

    -

    - -

    4) Next you want to enter the Ventoy directory and identify what your USB name is

    -
    -

    cd ventoy-<version>/ && lsblk

    -
    -

    Normally the USB with the lowest amount of storage will be your USB; to make sure, check the size of your USB compared to the devices listed under lsblk.


    - -

    5) This command will install Ventoy to the USB. Make sure your USB name is correct; it will be something like sdb. A good way to identify the USB is by running lsblk when the USB is out and then running lsblk while the USB is plugged in.

    -
    -

    sudo sh Ventoy2Disk.sh -i /dev/sdX

    -
    -

    Replace the X with your device letter.


    - -

    6) The last command is just ejecting your USB

    -
    -

    sudo eject sdX

    -

    - -

    All done βœ…

    -

    After following all of these steps Ventoy should be installed on your USB stick, now the only thing to do is plug the USB in and put the ISO and IMG files into the USB, I hope this has helped you!

    - -
    -
    -
      Back πŸšͺ
    -    
    - - - diff --git a/public/articals/linux/tools/Ventoy.html b/public/articals/linux/tools/Ventoy.html new file mode 100644 index 0000000..dcbe206 --- /dev/null +++ b/public/articals/linux/tools/Ventoy.html @@ -0,0 +1,74 @@ + + + + + + + Installing Ventoy + + + + +
    + +
    +
    +

    How to Install Ventoy with Linux πŸ§πŸ”Œ

    +

    Date: 25-08-2024

    +
    +

    Installing Ventoy is pretty easy, just a few quick steps and you will be there!

    +
    +

    What you will need πŸ“‹

    + +
    +

    Warning ⚠️

    +

    If the USB has any useful data, please back it up before following this guide.


    + +

    Installing Ventoy with Linux πŸ§πŸ”Œ

    +

    1) The first thing you want to do is get a few .ISO and .IMG files. Tails is a must-have on Ventoy, and you can also have a little look on distrowatch for other distros that peak your curiosity!


    + +

    2) Install ventoy.tar.gz from https://ventoy.net/en/index.html, the website tells you to install it from source forge, make sure it is the linux.tar.gz file.


    + +

    3) After installing the tar.gz, you need to run the following command; this will open the compressed file, which will allow you to use Ventoy.

    +
    +

    gunzip ventoy-<version>-linux.tar.gz && tar -xvf ventoy-<version>-linux.tar

    +

    + +

    4) Next you want to enter the Ventoy directory and identify what your USB name is

    +
    +

    cd ventoy-<version>/ && lsblk

    +
    +

    Normally the USB with the lowest amount of storage will be your USB; to make sure, check the size of your USB compared to the devices listed under lsblk.


    + +

    5) This command will install Ventoy to the USB. Make sure your USB name is correct; it will be something like sdb. A good way to identify the USB is by running lsblk when the USB is out and then running lsblk while the USB is plugged in.

    +
    +

    sudo sh Ventoy2Disk.sh -i /dev/sdX

    +
    +

    Replace the X with your device letter.


    + +

    6) The last command is just ejecting your USB

    +
    +

    sudo eject sdX

    +

    + +

    All done βœ…

    +

    After following all of these steps Ventoy should be installed on your USB stick, now the only thing to do is plug the USB in and put the ISO and IMG files into the USB, I hope this has helped you!

    + +
    +
    +
      Back πŸšͺ
    +    
    + + + diff --git a/public/articals/linuxlist.html b/public/articals/linuxlist.html index 72d499b..30ff635 100644 --- a/public/articals/linuxlist.html +++ b/public/articals/linuxlist.html @@ -25,27 +25,32 @@

    Infomation about Linux

    + +

    Linux server junk

    +

    Media tutorials

    Arch Linux tutorials

    Tools

    diff --git a/public/styles.css.bk b/public/styles.css.bk new file mode 100644 index 0000000..2ac1e90 --- /dev/null +++ b/public/styles.css.bk @@ -0,0 +1,167 @@ +/* styles.css */ + + +body { + background-color: #272727; + color: #e6e6e6; + font-family: 'FreeSerif', serif; + max-width: 900px; + margin: 0 auto; + padding: 0 20px; +} + +header { + text-align: center; + padding: 20px; +} + +nav ul { + list-style: none; + padding: 0; + text-align: center; +} + +nav ul li { + display: inline-block; + margin-right: 20px; +} + +nav ul li.logo img { + max-height: 70px; +} + +nav ul li a { + color: #716181; + text-decoration: none; +} + +a { + color: #5e4d96; + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} + +main{ + margin: 20px auto; + font-size: 18px; + max-width: 90%; + padding: 0 10px; +} + +.tags { + margin: 20px auto; + font-size: 18px; + max-width: 40%; + padding: 0 10px; +} + +.tags2 { + margin: 20px auto; + font-size: 18px; + max-width: 68%; + padding: 0 10px; +} + +.posts { + border-top: 1px solid #C0C0C0; + padding-top: 10px; +} + +.posts h2 { + font-size: 24px; + padding-bottom: 5px; +} + +.posts ul { + list-style: none; + padding: 0; +} + +.posts ul li { + margin-bottom: 10px; +} + +.right-image { + float: right; + margin: 0 0 10px 10px; + height: auto; +} + +.left-image { + float: left; + height: auto; +} +.center { + display: block; + margin-left: auto; + margin-right: auto; + width: 70%; +} + +.code-box { + padding-top: 100px; + background-color: #c8c8c8; + font-family: 'FreeSans', sans-serif; + font-size: 15px; + color: #000000; + border: 2px solid; + padding: 7px; +} + +/* Media Queries for responsiveness */ +@media (max-width: 768px) { + body { + max-width: 100%; + padding: 0 10px; + } + + .title { + font-size: 28px; + } + + nav ul { + display: flex; + flex-direction: column; + align-items: center; + } + + nav ul li { + display: block; + margin: 10px 0; + text-align: center; + } + + nav ul li.logo img { + max-height: 50px; + } + + .description { + font-size: 16px; + } + + .posts h2 { + font-size: 22px; + } +} + +@media (max-width: 480px) { + .title { + font-size: 24px; + } + + .description { + font-size: 14px; + } + + .posts h2 { + font-size: 20px; + } + + nav ul li { + margin: 5px 0; + } +} + -- cgit v1.2.3