nyuuzyou/wikis huggingface dataset:
Dropbox

Dropbox is a cloud-based file store
service.
= Syncing with rclone =
The official Dropbox client is fairly difficult to setup on Alpine. If
all you need is file syncing and you're fine with using a CLI to do it,
you can use rclone.
Run
# apk add rclone
to install rclone.
Then run
$ rclone config
and you will be greeted with a series of interactive prompts.
First you start making a new remote.
n) New remote
d) Delete remote
q) Quit config
e/n/d/q> n
Then you need to give this new remote a name; it hardly matters what it
is, but for this guide we'll just call it "dropbox". 
name> dropbox
Then you will be asked what kind of storage you want to use. Look for
the option that says "Dropbox" (as of the time of writing, it is 12),
and input that.
Option Storage.
Type of storage to configure.
Choose a number from below, or type in your own value.
...
Storage> 12
Then you will be asked about "OAuth Client Id" and "OAuth Client
Secret". Just leave those blank by pressing Enter as rclone instructs.
You'll be asked if you wanted to edit the advanced config and use auto
config too. Just press Enter to use the defaults, unless you have a
reason not to.
Finally, you will be prompted to allow rclone OAuth access to Dropbox.
Do this. If all went well, you should get a success message afterwards.
To mount the remote filesystem, run
$ rclone mount dropbox: ~/dropbox
(If ~/dropbox does not already exist, you need to make the directory.)
As long as this command is running, your local and remote Dropbox
directories will be synced. If you want, you may set up a daemon to keep
this persistently running.
More detailed usage instructions are also available at
rclone's Dropbox page, and of course, the
man page for rclone.
Category:Storage
Drupal

Drupal is a free and open source content management system (CMS) written in PHP and distributed under the GNU General Public License. It is used as a back-end system for at least 1% of all websites worldwide ranging from personal blogs to larger corporate and political sites including whitehouse.gov and data.gov.uk. It is also used for knowledge management and business collaboration.
== Install lighttpd, PHP and MySql ==
Install extra packages:
== Installing and configuring drupal ==
Create a folder named 
Download the source code archive
Unpack the archive and delete the tarball afterwards
 
Change the folder name
Change the folder permissions
Creating settings file
Create a symlink to the folder
== Starting ==
 
Starting http service and adding to boot
== Config MySql ==
Create the drupal database
== Config your drupal ==
Browse to: http://WEBSERVER_IP_ADDRESS/drupal and Install Drupal completing the information as appropriate from the web browser.
Drupal Installation steps:
Note:	After select each option, pres "Save and continue" button.
1 - Select an installation profile
 
* Standard ( Install with commonly used features pre-configured.)
* Minimal ( Start with only a few modules enabled.)
2 - Choose language
* English (built-in)
3 - Verify requirements 
* (Nothing to do here if all is ok)
4 - Set up database
Database type MySQL
* Database name drupal
* Database username root
* Database password your-mysql-password
- 5 Configure site
* SITE INFORMATION
:* Site name 
:* Site e-mail address
* SITE MAINTENANCE ACCOUNT
:* Username
:* E-mail address
:* Password
:* Confirm password
* SERVER SETTINGS
:* Default country
:* Default time zone
* UPDATE NOTIFICATIONS
:* Check for updates automatically
:* Receive e-mail notifications
After click on "Save and continue" you will see Drupal installation complete
Congratulations, you installed Drupal!
Review the messages above before visiting your new site.
Review the messages above before visiting your new site.
You have drupal cloud computing system working, to access go to http://WEBSERVER_IP_ADDRESS/drupal and enjoy!
Dualbooting

It's assumed you have a box where you already run another operating system, and would like to be able to dual boot either the installed system or Alpine Linux. 
== Install Alpine Linux ==
To Dual boot Alpine Linux, you must follow the setup-disk based Installation, except for the following points:
# To Dualboot, Alpine Linux needs a separate partition. If you don't have a partition refer manual partitioning to create and format it. If you are using btrfs filesystem, there is no need to create a partition and refer btrfs tutorial for more information.
# Mount the / (root) partition i.e partition(here sdXY), where you'd like to install Alpine Linux on a mount point i.e say /mnt. 
#:
# If you're using EFI, pay special attention to ESP partition. ESP partition is also used by other operating systems. Make sure you create a mount point /mnt/boot/efi. 
# Identify the correct partition name for ESP partition and mount it on the above mount point. 
# Install Alpine Linux on the chosen partition. 
# Your dual boot installation can be considered complete. You be should be able to dual boot once you reboot. 
Refer configure bootloader section, if you would like to change your default bootloader(Optional).
== Configure bootloader ==
There are different bootloaders to get a boot menu that allows selecting the operating system to boot. It is easiest to simply install and use rEFInd boot manager for dual boot between Alpine Linux and Windows. 
Otherwise, one may adjust the bootloader that has already been installed by the other operating system. 
=== Dual or Multiboot with Linux ===
The following example is given to give you some ideas for adjusting grub to boot Alpine.
Reboot your system (start Ubuntu).
Start a 'terminal' (ALT-F2 + "terminal" + [Run])
Take notes of the UUID of the partition you are planning to use:
Start editing the grub2 configuration 
I edited the file to look something like this:
Finally the configuration changes need to be applied to the grub2 bootloader:
Now it's time to test. Reboot your box.
=== Dualboot with Windows ===
For Windows partitions to be detected with grub, you need `os-prober` and `grub-mount` installed at the time grub-mkconfig runs.
To upgrade the grub installation, the efi directory must be mounted in /boot/efi/. 
To know in which partition the efi is, we must examine the partition table, so if your main disk is /dev/sda then.
Device Start End Sectors Size Type
/dev/sda1 2048 309247 307200 150M EFI System
 (If your system supports UEFI. Most PC's from 2010, support UEFI)
Install grub
# grub-install –root-directory=/mnt
After grub re-installation, unmount efi partition:
== Troubleshooting == 
Check Mounting on /dev/sdXY sysroot failed if encountered.
== References ==
* Dual Boot Windows 11 and Alpine Linux
* Mount EFI
* Dual boot on a btrfs filesystem
Category:Installation
Dwm

dwm is a dynamic window manager for X. It manages windows in tiled, monocle and floating layouts.
This guide covers:
* Installing dependencies for the suckless tools and installing firefox 
* Installing from source or from repository dwm (dynamic window manager), dmenu (dynamic menu), st (simple terminal)
* Configuring the new profile to run dwm at login.
== Installation ==
Install X11 and set it up using the setup-xorg-base script.
To install dwm binary packagaes , and :
== Installing from source ==
=== Installing dependencies ===
The command to install the dependencies:
=== Installing suckless tools ===
Change to the .
then execute:
Once downloaded, go to the dwm directory
To install, run:
Next, go up one directory level
to install dmenu:
Finally, go up one more directory level
to install st:
== Setting up your profile ==
Change to your home directory:
Create or edit with at least the following:
Save the file and exit vi.
Next, create or edit with at least the following:
Log out or reboot. dwm will run the next time you log in. 
Press + to launch dmenu. Type firefox then press . Firefox will load and run in tile 9.
== See also ==
* gentoo wiki page on dwm
* Dwm - Archwiki page on dwm
* Raspberry Pi 3 - Browser Client - A guide which omits dwm, but uses similar steps to install firefox in a diskless install on ARM. dwm is not used on the RPI3, due to tmpfs limitations.
Category:Desktop
Category:Window Managers
Edge

"edge" is the name given to the current development tree of Alpine Linux. It consists of a APK repository called "edge" and contains the latest build of all available Alpine Linux packages. Those packages are updated on a regular basis.
End users should not use "edge" as their main day-to-day workstation or as productive system. Because "edge" is a development branch, many changes are not heavily tested (or tested at all) and packages in "edge" can and sometimes do break without warning.
However, testing "edge" is a very valuable activity which helps the Alpine Linux development to ensure that the quality of the stable releases is high. Testing "edge" is a great way to contribute to the Alpine Linux development.
== See also ==
* Installing Alpine Linux in a chroot
* Report Bugs
Category:Package Manager
Category:Installation
Category:Development
Elogind

elogind is a login manager and provides support for 
* setting up necessary permissions for the desktop environment or window manager
* handling poweroff, reboot, suspend and hibernate via loginctl command
== Installation ==
Polkit is used for authentication. Without it some things may not function. You need to install and configure D-Bus to use polkit.
Set up a PAM login.
== Hibernating ==
For to work, you must have a swap partition. Check for a partition with the mountpoint [SWAP].
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
nvme0n1 259:0 0 953.9G 0 disk 
├─nvme0n1p1 259:1 0 200M 0 part /boot
├─nvme0n1p2 259:2 0 100G 0 part /
├─nvme0n1p3 259:3 0 805G 0 part /home
└─nvme0n1p4 259:4 0 48.7G 0 part [SWAP]
Remember also to add a kernel parameter to resume, ie in :
Note the "resume=" flag with the same partition that was marked as [SWAP].
The resume process can be speed up reducing the size of the hibernation images. See the documentation for image_size in the kernel docs for the details, but writing 0 to should make the images as small as possible.
== Configuration ==
=== logind.conf ===
Edit to configure handling of power events, such as suspending the computer when power button is pressed:
=== Working with Desktop Environments ===
If using a Window Manager or Desktop Environment, such as Sway, the user must ensure that login session is correctly configured. When correctly configured, the loginctl command should output the following:
Using Sway and SDDM
~$ loginctl
SESSION UID USER SEAT TTY 
 c1 105 sddm seat0 
 c2 1000 User seat0 tty8
2 sessions listed.
If the output is No session available., such as in the case of launching Sway from tty, suspend and many other functionality will not work. The user then must configure a display manager such as , SDDM or .
== Doas ==
Doas is used to grant permissions for suspend-to-RAM and brightness control with brightnessctl:
 apk add doas brightnessctl
 # optionally, allow $USER root access with password
 adduser $USER wheel
In /etc/doas.conf, set
 permit :wheel
 permit nopass $USER as root cmd /bin/loginctl
 permit nopass $USER as root cmd /usr/bin/brightnessctl
After setting the above, suspend-to-RAM can be triggered by running 
 /bin/loginctl suspend
(use full path to executable) and brightness can be adjusted by running
 /usr/bin/brightnessctl set 100
== See also ==
* elogind - Gentoo Wiki
* polkit - Gentoo Wiki
* polkit - ArchWiki
Category:Desktop
Category:Seat_manager
Emacs

= Empty Info directory node =
Emacs uses the texinfo documenting system, but the docs are shipped in a separate package in Alpine Linux. You need to install
 apk add texinfo emacs-docs
Then generate the dir index file for Info documenting system.
 # run as root
 find /usr/share/info/ -name '*.info*' -print0 | xargs -0I{} install-info {} /usr/share/info/dir
Emojis

Emojis are characters with pictures used to express ideas, things, places in one character. Emojis are known to be used for creating and entering passwords and for registering domain names.
== Support ==
Alpine Linux supports both Noto Color Emoji and Twemoji, though both fonts are only available on edge. The latest version of Noto Color Emoji supports Unicode specification 15.0 released around 2023. The latest version of Twemoji supports Unicode specification 14.2. 
== Installation ==
 doas apk add font-noto-emoji
Or
 doas apk add font-twemoji
== Configuration ==
You need either a user ~/.config/fontconfig/conf.d/01-noto-emoji.conf or systemwide /etc/fonts/local.conf with the following:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
 <alias>
 <family>sans-serif</family>
 <prefer>
 <family>Main sans-serif font name goes here</family>
 <family>Noto Color Emoji</family>
 <family>Noto Emoji</family>
 </prefer> 
 </alias>
 <alias>
 <family>serif</family>
 <prefer>
 <family>Main serif font name goes here</family>
 <family>Noto Color Emoji</family>
 <family>Noto Emoji</family>
 </prefer>
 </alias>
 <alias>
 <family>monospace</family>
 <prefer>
 <family>Main monospace font name goes here</family>
 <family>Noto Color Emoji</family>
 <family>Noto Emoji</family>
 </prefer>
 </alias>
</fontconfig>
== Testing and bugs ==
You can go to https://getemoji.com/ and every emoji should be properly rendered.
DWM also has a bug if you have a program title with a emoji it will crash. There is a patch available. See pull request.
Category:Infographics
Error message on boot: Address space collision: host bridge window conflicts with Adaptor ROM

== Adaptor ROM Conflicts ==
This information relates to error messages such as the one outlined in the page title and other similar ones - for example:
pci_root PNP0A08:00: address space collision: host bridge window [mem
0x000cc000-0x000cffff] conflicts with Video ROM [mem 0x000c0000-0x000ce9ff]
This error message occurs due to the way 2.6.34 and later kernels enumerate PCI host bridges and is not specific to Alpine Linux - see this kernel bug report. The message itself does not indicate a functional problem, so it can be ignored.
If you see additional problems, such as computers with multiple NICs not starting all adaptors reliably and issues with multi display/adaptor configurations, please report them in the kernel bugzilla and attach a complete dmesg log. The "pci=nocrs" parameter may be a workaround while debugging the problem.
To use "pci=nocrs", edit the syslinux.cfg boot file and add pci=nocrs to the parameters. On systems that boot from a USB memory stick, this file is /media/usb/syslinux.cfg
Example:
timeout 20
prompt 1
default grsec
label grsec
	kernel /boot/grsec
	append pci=nocrs initrd=/boot/grsec.gz alpine_dev=usbdisk:vfat modules=loop,cramfs,sd-mod,usb-storage quiet
Category:Booting
Ethernet

When installing Alpine linux, the setup-alpine script should have given you the option to setup ethernet/networking. If you need to setup your networking after installation you can use setup-interfaces script. The script configures wireless and ethernet interfaces in addition to other types and will satisfy most trivial configurations. 
== setup-interfaces ==
Start the script by running this command: 
 Available interfaces are: eth0 wlan0.
 Enter '?' for help on bridges, bonding and vlans.
 Which one do you want to initialize? (or '?' or 'done') [eth0]
choose eth0 for Ethernet or wlan0 for wireless device, as appropriate.
if asked:
 Ip address for eth0? (or 'dhcp', 'none', '?') [dhcp]
choose dhcp
Now it will ask Do you to do any manual network configuration? (y/n) [n]
In most cases, you can accept the default option n . Choose y to open the file for editing in vi editor to proceed with manual network configuration.
The above script configures Networking service adds to boot run level and starts the service. Refer Networking service section, if this needs to be done manually.
Category:Networking
Eudev

eudev is a device manager that provides a drop-in replacement for systemd udev. It is therefore recommended for full blown desktop environments.
== Installation ==
The easy way to setup eudev is through the setup script. For custom installation see the manually section. Note that a manual installation is only recommended for advanced users.
=== Setup Script ===
=== Manually ===
You need to install eudev itself and the udev services.
If you already have a device manager installed you need to stop it before you start eudev.
Then enable the services.
If you are not running in a chroot you will also want to start eudev.
== Remove ==
If you are not running in a chroot you need to stop the service first.
Then disable the services.
You might also want to uninstall the packages since they are not used anymore.
== See Also ==
* Device Managers
* Gentoo wiki eudev
* Archwiki udev
* Gamepad
Category:Device_Manager
Exchange receipients.sh

#!/bin/sh
 ### The minimal lines virtual.txt must have to generate the db
 MINLINES="50"
 ### The url to the receipients file
 URL=""
 wget "$URL" -qO /tmp/virtual.txt
 if [ -f /tmp/virtual.txt ]; then
 LINES=`cat /tmp/virtual.txt | wc -l`
 if [ "$LINES" -gt "$MINLINES" ]; then
 dos2unix /tmp/virtual.txt
 sed '/^\#/d; /^$/d' /tmp/virtual.txt > /etc/postfix/exchange_receipients
 postmap /etc/postfix/exchange_receipients
 fi
 fi
Category:Mail
EyeOS

eyeOS is an open source web desktop following the cloud computing concept that leverages collaboration and communication among users. It is mainly written in PHP, XML, and JavaScript. It acts as a platform for web applications written using the eyeOS Toolkit. It includes a Desktop environment with 67 applications and system utilities
= Set up eyeOS on Alpine Linux =
This document will be a quick c/p guide to setup eyeOS on Alpine linux. What we will setup is the following:
* Lighttpd with PHP 
* eyeOS
= Install lighttpd, and PHP =
= Installing and configuring eyeOS =
Make webapps folder
Download previous version:
Unpack and delete zip file
Also you can download latest version:
Unpack and delete tar.gz file
Project and source files https://sourceforge.net/projects/eyeos/
Change Folder Persmissions [Dubious - Someone please check this]
Make symlinks to eyeOS
Unpack main package
== Starting ==
 
Starting http service and adding to boot
== Config your eyeos ==
Browse to: http://WEBSERVER_IP_ADDRESS/eyeos
 Please fill out the following form to install eyeOS:
 Root Password
 Retype Password
 System Name
 Allow users to create accounts
When you finish, press "Install eyeOS!" button, and thats all. :)
You have eyeOS cloud computing system working. To access it, go to http://WEBSERVER_IP_ADDRESS/eyeOS and enjoy!
Category:Desktop
Category:PHP
F2FS

F2FS (Flash-Friendly File System) is a flash file system initially developed by Samsung Electronics for the Linux kernel.
The motive for F2FS was to build a file system that, from the start, takes into account the characteristics of NAND flash memory-based storage devices (such as solid-state disks, eMMC, and SD cards), which are widely used in computer systems ranging from mobile devices to servers.
== Installation ==
Out of the box Alpine Linux doesnt support making F2FS partitions, that can be added with:
== Formatting a partiton using F2FS ==
You can format a partition using F2FS with the following command:
== f2fs module ==
f2fs may need to be manually added to /etc/mkinitfs/mkinitfs.conf
or?
== See also ==
* Wikipedia Entry on F2FS
Category:Storage
Category:Filesystems
FaxServer using Asterisk

This document aims to create a as simple as possible to setup fax server to send and receive faxes using and .
__NOTOC__
= Installation =
This wiki-doc is based on Alpine Linux 2.6 (but might also work on version 2.1.3 or higher)
Start by setting up a Alpine Linux base system (you will most likely want to run setup-alpine to setup the most basic settings)
=== Firewall ===
You might want to setup a firewall to protect your system. We will not address this task in this document. Some firewall alternatives in Alpine Linux are
* AWall
* Shorewall
* iptables
= Configure email =
=== Install required packages ===
We will use the package to send the faxes by email to various recipients. Lets start by installing the package
==== General configuration ====
* Edit the appropriate file
==== Address book ====
* Edit the appropriate file (In this example we assume you did not change the value of ADDRESS_BOOK variable).
* Define some email addresses that suits your needs.<BR>The upcoming config assumes that you have some predefined records in this address book. Example:
==== Test functionality ====
When you done your configuration you can test this by running commands like this:
= Configure Asterisk =
There are multiple ways to configure Asterisk. This document only describes a very basic setup which you might want to modify based on your needs. But by following this document, you should have a fully functional fax-server using only and .
=== Install required packages ===
At this stage your Alpine Linux only holds some basic packages for base functionallity. We will need to install some extra packages in order to get the fax functionallity.
==== General setup ====
Set some general settings
* Edit the appropriate file
* Copy this content to the file
==== Load appropreate modules ====
Asterisk needs some modules to be able to handle fax.
* Edit the appropriate file
* Copy this content to the file
==== Enable SIP ====
* Edit the appropriate file
* Copy this content to the file
==== Enable udptl ====
* Edit the appropriate file
* Copy this content to the file
==== Configure fax ====
* Edit the appropriate file
* Copy this content to the file
==== Configure dialplan ====
* Edit the appropriate file
* Copy this content to the file
==== Permissions ====
For to be able to read the new config files, we need to set the correct permissions to the files
==== Start things up ====
Now its time to start up the services
Configure to autostart at next reboot
= Testing =
== Sending fax ==
=== Prepare ===
Save a '.tiff' file into '/tmp/' (in our example we name the file '/tmp/testfax.tiff').
Create a file that looks something like this (modify it for your local needs).
Change permissions on the newly created files
=== Send the fax ===
Now copy the '/tmp/testfax.txt' to '/var/spool/asterisk/outgoing/'. The second you do that, will try to send the fax based on what you wrote in the file.
Category:Telephony
File Sharing System

== What is PHP FSS?==
PHP File system administrator now called "PHP File Sharing System" is a Web Application made for easy server file administration, that provides end-user and easy interfase for browsing and uploading files.
== Set up FSS on Alpine Linux ==
This document will be a quick c/p guide to setup this file sharing system on Alpine linux. What we will setup is the following:
* Lighttpd with PHP 
* FSS
== Install lighttpd, PHP ==
== Configuring Lighttpd==
Edit lighttpd.conf
Uncomment line:
 include "mod_fastcgi.conf"
== Installing FSS ==
Install FSS
* Make webapps folder
* Go to web folder 
* Download FSS
* Unpack FSS
* Set permissions
* Make Symlink 
== Starting ==
 
Starting http and server and adding to boot
* Browse 
http://WEBSERVER_IP_ADDRESS/fss
You have PHP File Sharing working, to access go to http://WEBSERVER_IP_ADDRESS/fss and enjoy!
== See also ==
* Setting Up Lighttpd with PHP
Category:Server
Category:PHP