Wednesday, November 22, 2023

Introducing #RockyLinux A Stable, Secure, and Community Driven #OperatingSystem #Technology #Tech https://youtu.be/C3mrSK0Ejrs

 


#RockyLinux, a powerful #opensource operating system, has emerged as a robust alternative for businesses and individuals seeking reliability, security, and long-term support. Initially conceived as a replacement for #CentOS Linux, #RockyLinux fills the void left by the shift in #CentOS's direction, focusing on stability and consistency.

**What Makes #RockyLinux Stand Out?**

1. **Stability & Reliability:** Built on a solid foundation, #RockyLinux ensures stability by providing a consistent and secure environment for users, making it ideal for mission-critical workloads.

2. **Community-Driven Development:** Embracing a community-centric approach, #RockyLinux fosters collaboration among developers, system administrators, and users, enabling contributions and ensuring its continuous improvement.

3. **Long-Term Support:** With long-term support commitments, #RockyLinux assures users of security updates, bug fixes, and consistent maintenance, giving businesses peace of mind in their operations.

4. **Compatibility:** Maintaining compatibility with Red Hat Enterprise Linux (RHEL), #RockyLinux inherits RHEL's binary compatibility, allowing users to seamlessly transition from RHEL or #CentOS to #RockyLinux.

**Why Choose #RockyLinux?**

#RockyLinux offers a compelling ecosystem for various use cases, including server deployments, development environments, and enterprise-grade applications. Its user-friendly interface and robust security features make it an excellent choice for both newcomers and seasoned professionals.

**Key Features and Highlights:** - Robust security features, including SELinux, Firewalld, and strong security policies.
- Vast software repository and compatibility with existing RHEL/#CentOS applications.
- Reliable support for containerization technologies like Docker and Kubernetes.
- Easy-to-use administration tools and utilities for system management.

#RockyLinux stands as a testament to the power of the open-source community, providing a dependable, enterprise-ready operating system that prioritizes stability, security, and the collaborative spirit of its users. Whether for personal use or enterprise-level deployments, #RockyLinux offers a dependable platform for diverse computing needs.

Easy Jam by Kevin MacLeod is licensed under a Creative Commons Attribution 4.0 licence. https://creativecommons.org/licenses/by/4.0/ Source: http://incompetech.com/music/royalty-free/index.html?isrc=USUAN1100245
Artist: http://incompetech.com/

Friday, November 17, 2023

🐍 Guide to Installing Python 3.12! | Easy Setup Tutorial #Python312 #ProgrammingTips #technology


🐍 Guide to Installing Python 3.12! | Easy Setup Tutorial #Python312 #ProgrammingTips #technology

## Installing Python 3.12: Streamlined Process and Enhanced Features Experience the latest in Python with #Python312, packed with a plethora of improvements and refinements that make it a compelling upgrade for developers. Follow these steps to effortlessly install Python 3.12 and harness its enhanced capabilities. ### Step 1: Access the Python Website Visit the official Python website at [python.org/downloads](https://www.python.org/downloads/) to access the latest release or use package managers like #apt or #Homebrew for Unix-based systems. ### Step 2: Download the Installer Select the appropriate installer for your operating system—Windows, macOS, or Linux. Ensure compatibility and download the installer package: - [Download Python 3.12 for Windows](https://www.python.org/downloads/windows/) - [Download Python 3.12 for macOS](https://www.python.org/downloads/mac-osx/) - [Download Python 3.12 for Linux](https://www.python.org/downloads/source/) ### Step 3: Installation Process Execute the installer, following the prompts for installation settings. On Unix-based systems, consider utilizing version managers like #pyenv for better management of multiple Python versions. ### Notable Features in Python 3.12 Explore the new and enhanced features in Python 3.12: - #PatternMatching: Simplifies and streamlines code with concise syntax. - #TypeChecking improvements: Enhances code reliability with standard library enhancements. - #ZoneinfoModule: Refined timezone handling for global timezone support. - #PerformanceOptimizations: Ensures more efficient code execution for improved performance. ### Utilizing Python 3.12 With Python 3.12 installed, leverage its upgraded functionalities in your projects: - Utilize #AsyncIO for responsive and scalable applications. - Explore #Matplotlib for visually compelling data representations. Stay updated with the latest #PythonDevelopments and join the vibrant #PythonCommunity for support, collaboration, and insights. Python 3.12—Empowering Developers with Enhanced Capabilities!

Wednesday, November 15, 2023

Various videos from my Youtube channel










 

Obtain the #absolute #path of the #directory containing the currently executing script

MYPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"

Then you can use $MYPATH variable as you need to access files in the current directory where the currently running script is residing.

$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )

1. `$(...)`: This syntax is used for command substitution. Whatever is inside `$(...)` will be executed, and the output of that command will replace `$(...)`.

2. `cd -- "$(dirname "$0")"`: This command changes the current directory (`cd`) to the directory containing the script. Here, `"$0"` represents the name of the script, and `dirname "$0"` extracts the directory name from the script's path. The double quotes and `$(...)` ensure that spaces or special characters in the directory path are handled correctly.

3. `>/dev/null 2>&1`: This part is a redirection. `>/dev/null` redirects standard output (stdout) to `/dev/null`, which essentially discards any output from the `cd` command. `2>&1` redirects standard error (stderr) to the same place as stdout, which is `/dev/null` in this case, effectively suppressing any error messages.

4. `;`: This semicolon allows the chaining of commands in a single line. It separates the `cd` command from the subsequent `pwd` command.

5. `pwd -P`: This command (`pwd`) prints the working directory. The `-P` option stands for `--physical` and is used to get the physical current working directory without any symbolic links.

To summarize, this line of code changes the current directory to the directory containing the script, suppresses any output or errors from the `cd` command, and then prints the absolute path of that directory.


#CommandSubstitution, #AbsolutePaths, #DirectoryNavigation, #BashScripting, #CurrentDirectory, #PathManipulation, #RedirectOutput, #SuppressErrors, #PhysicalDirectories, #ScriptExecution

Friday, November 3, 2023

Installing #Debian and Exploring #Desktop #Environments


#Debian: A Robust and Community-Driven #Linux Distribution

When it comes to #Linux distributions, Debian stands out as one of the most venerable and influential in the open-source ecosystem. With its rich history and unwavering commitment to principles such as free software, stability, and community-driven development, Debian has earned a prominent place in the hearts of #Linux enthusiasts worldwide.

#Debian, which takes its name from a combination of the names of its founder, #IanMurdock, and his then-girlfriend, Debra, has a legacy dating back to its initial release in 1993. The Debian project was created with a simple yet powerful objective: to produce a free, open-source operating system while adhering to a strict commitment to quality and ideals.

One of the most notable features of Debian is its robust package management system. Debian packages, often referred to as #DEB packages, enable users to install and manage software with ease. The Advanced Package Tool, or #APT, simplifies the process of installing, updating, and removing software packages, making it one of the most efficient package management systems in the #Linux world.

Debian's strength also lies in its diverse range of software repositories. Users can choose from the stable, testing, and unstable branches, depending on their requirements for system stability and software currency. This flexibility caters to a wide spectrum of users, from casual desktop users to server administrators and developers.

One of the key features that sets Debian apart is its commitment to the principles of free and open-source software. The Debian Free Software Guidelines (DFSG) lay the foundation for including software in the Debian repository. The strict adherence to these guidelines ensures that Debian remains a distribution dedicated to the ideals of software freedom.

Debian's comprehensive approach extends to its package quality and system stability. The release process is known for its meticulous testing, leading to dependable and long-term support for stable releases. This focus on stability makes Debian an excellent choice for servers and critical production environments.

Being a community-driven project, Debian's development is a collaborative effort. Volunteers from around the world contribute to the distribution's growth, ensuring that it remains relevant and competitive in the ever-evolving #Linux landscape.

In conclusion, Debian is not just a #Linux distribution; it's a testament to the strength of the open-source community and the enduring commitment to free software principles. With its exceptional package management, software repositories, and dedication to stability and quality, Debian continues to be a cornerstone of the #Linux world, serving the needs of users and promoting the values of open-source software.

Wednesday, November 1, 2023

Access #windows shared drive in #windows from #samsung #mobile?


Windows shared drive from a Samsung mobile device, you can use various methods, including built-in features and third-party apps. Here's a step-by-step guide on how to do it using the built-in features:

Requirements:

  • Ensure that your Samsung mobile device and the Windows computer with the shared drive are on the same network.

Steps:

  1. Enable Sharing on Windows: On your Windows computer, make sure that the folder or drive you want to access is shared. To do this, right-click on the folder or drive, select "Properties," go to the "Sharing" tab, and click "Advanced Sharing." Enable sharing and give it an appropriate name.

  2. Note the Computer Name: You'll need to know the computer's name that is sharing the drive. To find this, right-click on "This PC" or "My Computer," select "Properties," and note the "Computer Name."

  3. Access Shared Drive on Samsung Mobile: Now, on your Samsung mobile device:

    a. Open the "My Files" or "File Manager" app (the name may vary based on your device).

    b. Tap on the three horizontal lines or the menu icon in the upper left or right corner, then select "Network."

    c. Tap on "Windows SMB."

    d. Enter the computer name or IP address of the Windows computer you noted earlier.

    e. If prompted, enter the username and password for your Windows computer.

    f. Browse the shared folders and drives and access the one you need.

    g. You can also create shortcuts to access shared folders more quickly.

This method allows you to access Windows shared drives from your Samsung mobile device using the built-in file manager. Keep in mind that your Windows computer must be powered on and connected to the same network for this to work.

Additionally, there are third-party apps available on the Google Play Store, such as "Solid Explorer" or "ES File Explorer," which offer more advanced features for accessing shared Windows drives from your mobile device. You can consider using such apps if you need more functionality or if the built-in method doesn't meet your needs.


or try this


To install Samba server in Windows, follow these steps:

  1. Open the Control Panel.
  2. Click Programs and Features.
  3. Click Turn Windows features on or off.
  4. Scroll down to SMB 1.0/CIFS File Sharing Support and expand it.
  5. Select the SMB 1.0/CIFS Client and SMB 1.0/CIFS Server checkboxes.
  6. Click OK.
  7. Click Restart now to restart your computer.

After your computer has restarted, Samba server will be installed and running. You can now create and share folders on your Windows computer with other devices on your network.

To create a shared folder:

  1. Open File Explorer.
  2. Navigate to the folder that you want to share.
  3. Right-click the folder and select Properties.
  4. Click the Sharing tab.
  5. Click the Share button.
  6. In the Network access section, select the Everyone checkbox.
  7. Click Share.
  8. Click Done.

To access a shared folder on another device:

  1. Open File Explorer.
  2. In the left pane, click Network.
  3. Double-click the computer that contains the shared folder.
  4. Double-click the shared folder.

You can now access the files and folders in the shared folder just like you would on your local computer.

#SambaServer #Windows #FileSharing #NetworkStorage

Featured Posts

Podman: The Complete Guide to Rootless, Daemonless Containers

Podman: The Complete Guide to Rootless, Daemonless Containers Podman is an open-source container engine designed to build, run, manage, and...