Make Swap File
To create a swap file on a Linux system, follow these steps:
Create an Empty Swap File: Use the dd command to create a file of the required size. For example, to create a 4GB swap file:
Set Correct File Permissions: Ensure that only root can read and write to the swap file:
Initialize the Swap File: Use the mkswap command to set up the file as a swap space:
Enable the Swap File: Activate the swap file with the swapon command:
Verify the Swap File: Check if the swap file is active and being used:
Make the Swap File Persistent: Add an entry to /etc/fstab to ensure the swap file is enabled after reboots:
These steps will create and enable a swap file on your Linux system.
To create a swap file on a Linux system, follow these steps:
Create an Empty Swap File: Use the dd command to create a file of the required size. For example, to create a 4GB swap file:
sudo dd if=/dev/zero of=/swapfile bs=1M count=4096
Set Correct File Permissions: Ensure that only root can read and write to the swap file:
sudo chmod 600 /swapfile
Initialize the Swap File: Use the mkswap command to set up the file as a swap space:
sudo mkswap /swapfile
Enable the Swap File: Activate the swap file with the swapon command:
sudo swapon /swapfile
Verify the Swap File: Check if the swap file is active and being used:
sudo swapon -s
Make the Swap File Persistent: Add an entry to /etc/fstab to ensure the swap file is enabled after reboots:
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
These steps will create and enable a swap file on your Linux system.
This media is not supported in the widget
VIEW IN TELEGRAM
Forwarded from Belal Youseef 🇵🇸
odin4
3.6 MB
Odin for Linux 🐾
Usage :
- from leaked Smasnug source 😄
Usage :
./odin4 -b BL_XXXX.tar.md5 -a AP_XXXX.tar.md5 -c CP_XXXX.tar.md5 -s CSC_XXXX.tar.md5
- from leaked Smasnug source 😄
Forwarded from Mahmoud 🍉🇵🇸🔻
echo "creating 4gb swap file"
sudo dd if=/dev/zero of=/swapfile bs=1M count=4096
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
sudo swapon -s
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
echo
echo "swap area are ready!"
👍2
Q
Forwarded from Sci. 🇵🇸🔻
How to start linux + gui on android?
1. get termux and termux x11
termux:x11 https://github.com/termux/termux-x11/releases/download/nightly/app-universal-debug.apk
termux https://github.com/termux/termux-app/releases/download/v0.118.1/termux-app_v0.118.1+github-debug_universal.apk
2. perform this commands:
then open termux:x11 app and boom
*note*
if you found an error that stop the gui and
use
or
1. get termux and termux x11
termux:x11 https://github.com/termux/termux-x11/releases/download/nightly/app-universal-debug.apk
termux https://github.com/termux/termux-app/releases/download/v0.118.1/termux-app_v0.118.1+github-debug_universal.apk
2. perform this commands:
apt install xfce4 xorg
pkg i x11-repo && pkg i termux-x11-nightly.
termux-x11 :1 -xstartup "dbus-launch --exit-with-session xfce4-session"
then open termux:x11 app and boom
*note*
if you found an error that stop the gui and
Phantom Processes Killed on android 12 and aboveuse
su or adb shell to perform:adb shell "/system/bin/device_config put activity_manager max_phantom_processes 2147483647"
or
su
/system/bin/device_config put activity_manager max_phantom_processes 2147483647
👍1
get msfonts in voidlinux
doas xbps-install git xtools
git clone https://github.com/void-linux/void-packages
cd void-packages
doas ./xbps-src binary-bootstrap
echo "XBPS_ALLOW_RESTRICTED=yes" >> etc/conf
doas ./xbps-src pkg -f msttcorefonts
doas xi msttcorefonts
دعاء الاستخارة
قال النبي ﷺ: إذا هم أحدكم بأمر فليصل ركعتين، ثم ليقل: اللهم إني أستخيرك بعلمك، وأستقدرك بقدرتك، وأسألك من فضلك العظيم، فإنك تعلم ولا أعلم، وتقدر ولا أقدر، وأنت علام الغيوب، اللهم إن كنت تعلم أن هذا الأمر ويسميه باسمه يقول: هذا الأمر، زواجي بفلانة، أو سفري إلى محل كذا، أو شراء كذا، أو ما أشبه ذلك، يعين حاجته اللهم إن كنت تعلم أن هذا الأمر خير لي في ديني ومعاشي وعاقبة أمري، فيسره لي، ثم بارك لي فيه، وإن كنت تعلم أن هذا الأمر شر لي في ديني ومعاشي وعاقبة أمري فاصرفه عني واصرفني عنه، وقدر لي الخير حيث كان، ثم رضني به. وهذا هو دعاء الاستخارة.Forwarded from Sci. 🇵🇸🔻
S23 UltraƒöÑjpeg by-BangGaptekID.xml
50.8 KB