Batch download files keeping directory structure

You can bulk download all listed directories and files with PowerShell on Windows. Jump to online tool

How to batch download files and folders keeping directory structure?

You must do a two-step process to preserve the directory structure and filenames.
1

Create specific directory and file with PowerShell's "New-Item" command. Then save the file on the internet to your local disk with the "curl" command.

1
Download files keeping directory structure

How to download files keeping directory structure Windows 10?

Open PowerShell

Hit the "Start" icon.
Then choose "All Apps" Scroll down, press "Windows PowerShell" folder to open it. Click "Windows PowerShell" to run it.
Open PowerShell

Use PowerShell's commands

Create the directory on your disk
Create the necessary directory and subdirectories on your local disk with PowerShell's "New-Item" command:
New-Item -ItemType File -Force -Path C:\dir\sub_dir\file.zip

For example, you will download these two files:
https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.2.3/js/bootstrap.min.js
https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.2.3/css/bootstrap.min.css


Let's create these directories and files:
C:\local\htdocs\asset\bootstrap\5.2.3\js\bootstrap.min.js
C:\local\htdocs\asset\bootstrap\5.2.3\css\bootstrap.min.css


Run these commands:
New-Item -ItemType File -Force -Path C:\local\htdocs\asset\bootstrap\5.2.3\js\bootstrap.min.js
New-Item -ItemType File -Force -Path C:\local\htdocs\asset\bootstrap\5.2.3\css\bootstrap.min.css
Create the necessary directory and subdirectories on your local disk with PowerShell New-Item command

Download the file contents with the "curl" command:
Download the files with the "curl" command and overwrite their contents:
curl https://domain.tld/path/sub_path/file.zip -O C:\dir\sub_dir\file.zip
To save the two files in the example above to your disk, keeping the same directory structure, run these commands:
curl https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.2.3/js/bootstrap.min.js -O C:\local\htdocs\asset\bootstrap\5.2.3\js\bootstrap.min.js
curl https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.2.3/css/bootstrap.min.css -O C:\local\htdocs\asset\bootstrap\5.2.3\css\bootstrap.min.css


Alternatively, the "Invoke-WebRequest" command can be used in the following formats:
Invoke-WebRequest -Uri "Source-Uri" -OutFile "Save-File"
Download the files with curl command

Download the files with curl command


Automatically create the PowerShell script


Paste your url list. Set parameters. Generate your PowerShell. Copy the script. Paste it into the PowerShell command line. That is all.

Download url list:


Options

Combine all files in one zip file and download. It only works in modern and up to date browser. The total file size should not exceed ~5 MB.






PowerShell script:


Automatically create the PowerShell script onlie tool
Share:

Automatic Gallery And Featured Image Sync - WP Plugin

Automatically sync posts WooCommerce Product and media images as featured image and gallery
Automatically sync posts (or WooCommerce Product) and media images as featured image and gallery.

Automatically sync posts and media images as featured image and gallery.

Images with names are given as `ID`:

*   Automatic syncing as featured image to posts 
*   Automatic syncing as featured image to pages 
*   Automatic syncing as featured image to WooCommerce products 
*   Automatic syncing as gallery images to WooCommerce products 

Images named as product `SKU` (Pro):

*   Automatic syncing as featured image to WooCommerce products 
*   Automatic syncing as gallery images to WooCommerce products 

Please comment ­čĺČ, rate ⭐ and share ­čĹŹ
Automatic Gallery And Featured Image Sync - WordPress Plugin

Creating an online store with WordPress has never been easier, thanks to the powerful WooCommerce plugin. Once you've set up your store, the next step is to add products for sale. Each product requires essential information like name, price, and description to entice potential customers. Additionally, incorporating images is crucial for showcasing your products effectively. WordPress allows you to upload images to the media library and seamlessly integrate them into your product listings, including setting featured images and creating galleries.

However, managing a large inventory of products can be time-consuming, especially when individually assigning images to each one. To streamline this process, a convenient plugin comes to the rescue. This plugin simplifies the task of collectively assigning featured and gallery images to multiple products, saving you valuable time and effort. By utilizing this tool, you can effortlessly associate products with images, ensuring your online store looks visually appealing and professional without the hassle of manual image assignments.

The “Automatic Gallery And Featured Image Sync” plugin allows for the automatic synchronization of posts and media images to be set as featured images and galleries. Images with specific names are assigned as IDs, enabling seamless syncing of featured images to posts, pages, and WooCommerce products. Additionally, images named after product SKUs can be automatically synced as featured images and gallery images for WooCommerce products.

Name Your Images

  • Use the following file naming format: [ID]-[Sort].[file extension]
  • Make sure the file names match the post or product IDs.
  • Make sure images do not contain embedded EXIF metadata.
  • Set the “Sort” value of the file you want to be the featured image to “1”. For example, if you have a post with ID 123 and want to set an image as the featured image, name the file 123-1.jpg.
  • Upload your images to the WordPress media library.


Example:

  • Post ID: 123
  • The image named 123-1.jpg will be automatically set as the featured image for the product with ID 123.
  • The image named 123-2.jpg will be included in the gallery for the product with ID 123.
  • The image named 123-3.jpg will be included in the gallery for the product with ID 123.


Assign Images to Posts, Pages, or Products

Warning: This plugin adds new rows to the database for matching. Backup your database before matching.

  • Go to the "Tools" > "Image Sync" section in your WordPress dashboard.
  • Optionally, filter the list for posts, pages and products.
  • Check the checkboxes of the items to be synchronized.
  • Select and apply the "Sync with Id" action.
  • For posts, pages and WooCommerce products,the plugin will automatically detect and set it as the featured image if its name matches the post or page ID.
  • For WooCommerce products, the plugin will automatically sync them as featured images and gallery images.

You can select and deselect all items with the checkbox in the header of the table. The “Match with ID” and “Match with SKU” columns contain information about the images in the media library that are matched with the item. The first icon indicates that the featured image matches. The second icon represents the image gallery. Next to it is the number of media matched for the image gallery. Next to this is the number of matching media for the image gallery. Hover the mouse over the icons and you will see the meta names of the matching medias.

Automatic Gallery And Featured Image Sync Tool Screenshot

Automatic Gallery And Featured Image Sync PRO version

The free version of the "Automatic Gallery And Featured Image Sync" plugin uses the ID of the post or product as the matching criterion. This means that the plugin will match images to posts or products based on their ID number.

The PRO version of the plugin adds the ability to match images to posts or products based on their SKU value. This is a more flexible matching criterion, as it allows you to match images to posts or products even if their ID numbers are different.

In addition, the PRO version of the plugin provides a number of additional settings that allow you to customize the way that the plugin works.

Benefits of using the PRO version:

  • More flexible matching criterion (SKU)
  • Additional settings to customize the plugin's behavior

If you need to match images to posts or products based on their SKU value, or if you want to customize the way that the plugin works, then the PRO version of the plugin is a good option.

PRO version settings:

Go to the "Settings" > "Sync images" section in your WordPress dashboard.

Automatic Gallery And Featured Image Sync Pro Settings

Sequence Separator

The "Sequence separator" setting plugin allows you to specify a character or string to separate the sequence number from the rest of the file name.By default, the plugin uses a hyphen (-) as the sequence separator. This means that file names must follow the pattern:

[Criterion]-[Sequence].[File extension]

Example:

If you have a post with ID 123 and want to set an image as the featured image, you would name the file 123-1.jpg.

If you want to use an underscore (_) as the sequence separator instead, you would set the "Sequence separator" setting to _. This would allow you to use file names like the following:

123_1.jpg
123_2.jpg
123_3.jpg

Note: The sequence separator must be a character or string that is not used in the criterion part of the file name.

Items per page

The "Items per page" setting allows you to specify the number of items that will be displayed on each page of Sync page.

Note: It is important to note that increasing the number of items per page will also increase the number of database queries. This can slow down the page loading if you have a large number of items. Therefore, it is important to choose a number of items per page that is appropriate for your website and server. You may want to use a lower number of items per page to avoid slowing down the sync page.

Existing image gallery

The "Existing image gallery" setting allows you to specify how the plugin should handle existing image galleries. You have two options for this setting:

  • Keep and do not change product gallery images: This option will keep your existing image galleries unchanged. The plugin will not add or remove any images from your existing galleries.
  • Remove if exist and set gallery items with new matches: This option will remove your existing image galleries and replace them with new galleries that are generated by the plugin. If there are no new matches for an existing gallery, the gallery will be lost.

Example:

Let's say you have a product with the stock code "abc". You have manually added two images to the product gallery: "img-x.png" and "img-y.png".

You then upload two new images to the media library: "abc-1.png" and "abc-2.png". These new images match the product's stock code.

When you use the "Automatic Gallery And Featured Image Sync" plugin to create a new gallery for this product, if you choose the second option, the plugin will remove the existing gallery and create a new gallery with the following images:

  • abc-1.png
  • abc-2.png

The existing images ("img-x.png" and "img-y.png") will not be used in the new gallery.

Warning:

It is important to note that if you choose the second option and there are no new matches for an existing gallery, the gallery will be lost. This is because the plugin will remove the existing gallery and will not create a new gallery. Therefore, it is important to choose the "Existing image gallery" setting carefully. If you are not sure which option to choose, it is best to select the "Keep and do not change product gallery images" option.

Forcing image match: SKU

The "Forcing image match" setting allows you to force the plugin to match images to products .

When you enable "SKU" setting, the plugin will ignore the "Sequence" settings and will simply match images to products based on their SKU. The first image that matches the product's SKU will be set as the featured image.

Example:

Let's say you have a product with the SKU "abc". You have two images in your media library: "abc-front.png" "abc-side.png" and "abc-back.png".

If you enable the "Forcing image match: SKU" setting, the plugin will match both images to the product. The image "abc-back.png" will be set as the featured image because it is the first alphabetically matching image.

Match on upload to media library

By SKU

This setting only works for WooCommerce products. Allows you to automatically match images to products when they are uploaded to your media library. When you enable this setting, the plugin will automatically match images to products based on their file name. The plugin will look for the product's SKU in the file name of the image. If the SKU is found, the plugin will match the image to the product.

== Changelog ==

= 1.0.0 =
* Initial version released
Auto Gallery And Image Sync
Automatically sync posts and media images as featured image and gallery.
Share:

How to send original size picture on WhatsApp

How to send pictures via Whatsapp without losing quality?

About 1 minutes
WhatsApp send photo as document
Send pictures on whatsapp without losing quality. Keep images full size.

Choose who to send the file to.
Select the paper clip icon.
Select the document icon.
Select photos / images. Press and hold to select multiple.
Click the "Send" button in the top right.
Click the "Send" button again.
Voila! Pictures were sent without losing quality.
Share:

Download Official Full Standalone Offline Installer of Browsers

Download Official Full Standalone Offline Installer Chrome Canary Beta Dev Firefox Developer Edition Nightly Opera Crypto GX Developer  Browser
When we try to download the setup file of any web browser, the link on the website usually makes us download their online installer. At first, the online installers download quickly to your computer as they are very small in size, about 1 MB. However, this installation file does not contain all the files required to install the web browser. It downloads the required large files separately. When we run this file, an internet connection is required to download all the necessary files from the server. There may be a situation when you need to install the scanner on more than one computer. You will need an internet connection on each machine to be able to install it. Downloading installation files more than once would be a waste of time. Too many internet connections will waste your bandwidth.

Google Chrome Offline Installer

Chrome's development process is split into four different “release channels”: Stable, Beta, Dev, and Canary.
Windows 64 bit versions:
Chrome 64 bit official full standalone offline installer download Chrome Canary 64 bit official full standalone offline installer download Chrome Beta 64 bit official full standalone offline installer download Chrome Dev 64 bit official full standalone offline installer download
Windows 32 bit (i386 - x86) versions:
Chrome 32 bit official full standalone offline installer download Chrome Canary 32 bit official full standalone offline installer download Chrome Beta 32 bit official full standalone offline installer download Chrome Dev 32 bit official full standalone offline installer download

Opera Offline Installer

Windows 64 bit versions:
Opera 64 bit official full standalone offline installer download Opera Developer 64 bit official full standalone offline installer download Opera Crypto 64 bit official full standalone offline installer download Opera GX 64 bit official full standalone offline installer download
Windows 32 bit (i386 - x86) versions:
Opera 32 bit official full standalone offline installer download Opera Developer 32 bit official full standalone offline installer download Opera Crypto 32 bit official full standalone offline installer download Opera GX 32 bit official full standalone offline installer download

Mozilla Firefox Offline Installer

Windows 64 bit versions:
Firefox 64 bit official full standalone offline installer download Firefox Developer Edition 64 bit official full standalone offline installer download Firefox Nightly 64 bit official full standalone offline installer download
Windows 32 bit (i386 - x86) versions:
Firefox 32 bit official full standalone offline installer download Firefox Developer Edition 32 bit official full standalone offline installer download Firefox Nightly 32 bit official full standalone offline installer download

For example, if you wish to download the US English installer for Windows (32bit) the url is
https://download.mozilla.org/?product=firefox-latest&os=win&lang=en-US

This could be pasted into the location bar of a browser, or used with curl or wget, e.g.
wget -O FirefoxSetup.exe "https://download.mozilla.org/?product=firefox-latest&os=win&lang=en-US"

For other operating systems replace 'os=win' with:
   Windows 64bit              os=win64

OS X os=osx
Linux x86_64 os=linux64
Linux i686 os=linux
For other languages replace 'lang=en-US' with:
Official Firefox source.
Language NameLanguage Code
Acholiach
Afrikaansaf
Albaniansq
Arabicar
Aragonesean
Armenianhy-AM
Assameseas
Asturianast
Azerbaijaniaz
Basqueeu
Belarusianbe
Bengali (Bangladesh)bn-BD
Bengali (India)bn-IN
Bosnianbs
Bretonbr
Bulgarianbg
Catalanca
Chinese (Simplified)zh-CN
Chinese (Traditional)zh-TW
Croatianhr
Czechcs
Danishda
Dutchnl
English (British)en-GB
English (South African)en-ZA
Esperantoeo
Estonianet
Finnishfi
Frenchfr
Frisianfy-NL
Fulahff
Gaelic (Scotland)gd
Galiciangl
Germande
Greekel
Gujarati (India)gu-IN
Hebrewhe
Hindi (India)hi-IN
Hungarianhu
Icelandicis
Indonesianid
Irishga-IE
Italianit
Kannadakn
Kazakhkk
Khmerkm
Koreanko
Latvianlv
Ligurianlij
Lithuanianlt
Lower Sorbiandsb
Macedonianmk
Maithilimai
Malayms
Malayalamml
Marathimr
Norwegian (Bokm├â¥l)nb-NO
Norwegian (Nynorsk)nn-NO
Oriyaor
Persianfa
Polishpl
Portuguese (Brazilian)pt-BR
Portuguese (Portugal)pt-PT
Punjabi (India)pa-IN
Romanianro
Romanshrm
Russianru
Serbiansr
Sinhalasi
Slovaksk
Sloveniansl
Songhaison
Spanish (Argentina)es-AR
Spanish (Chile)es-CL
Spanish (Mexico)es-MX
Spanish (Spain)es-ES
Swedishsv-SE
Tamilta
Telugute
Thaith
Turkishtr
Ukrainianuk
Upper Sorbianhsb
Uzbekuz
Vietnamesevi
Welshcy
Xhosaxh
mikro yaz─▒l─▒m destek
Share:

XAMPP Local Server Installation

Apache, PHP and MySQL software must be installed in order to set up and open a programming-based website, such as WordPress or OpenCart, on your personal computer. In this article, you will learn how to install these software on a computer with a Windows operating system. You can manually install each of these software separately. But there are different combined installation packages that we can use to make it faster and easier. With these package installations, a single installation is made. When you install it, these softwares we need are set to work in compatible with each other and they are ready to use.

How to Install XAMPP Local Server Pictorial Lecture

How to Install XAMPP Local Server?

To install a local web server on your computer, you can choose from two package installations:

A-) EasyPHP
B-) XAMPP

A-) How to Install XAMPP?


XAMPP is one of the leading local server installation packages. The scope of the software it includes is wide and its versions are kept up to date. It may be a good choice to choose XAMPP for this.

Now let's explain the steps of installing the XAMPP local server on our computer in detail.

» Estimated time: 5 minutes
» Prerequisites:
PC with Windows operating system (7, 8, 10 or newer)
Internet connection
700 MB of free disk space

1-) Download XAMPP

1-1-) Download the XAMPP setup file from the address below.
https://www.apachefriends.org/download.html
Download XAMPP Setup Setup File
The executable file named 'xampp-windows-x64-7.4.10-0-VC15-installer.exe' will be saved on your computer.

The current package of XAMPP includes the following software and versions:
• Apache 2.4.51
• MariaDB 10.4.21
• PHP 8.0.12
• OpenSSL 1.1.1

The latest PHP version usually only has the 'Secure' feature. You would have made a better choice instead by using the PHP version that is both 'Stable' and 'Secure'. For example, while the most recent version released is 8.0, this version only qualifies as 'Secure'. However, in the same time period, 7.4 is both 'Stable' and 'Secure' as its vulnerabilities were found and closed as a result of its more widespread use, and it is recommended to use this version.

2-) XAMPP Installation

2-1-) Run the downloaded file and start the installation.
Running XAMPP Setup Setup
Proceed with the "Next" button on each new installation screen.
2-2-) Select which components to install while the components in the package. Apache, PHP, MySQL and options must be ticked. It is recommended to select all.
XAMPP Installation Screen
2-3-) Select the directory where the installation will be made.
Selecting XAMPP Installation Folder
2-4-) Choose which language XAMPP's control panel will be in. This selection does not affect the site you will set up. You can select the language "English".
XAMPP Installation Choosing Language
2-5-) Uncheck the checkbox to not open the information page.
XAMPP Installation Information Page
2-6-) The installation files will start to be copied. Wait until it completes.
XAMPP Installation File Copy
2-7-) Click the "Finish" button to finish the installation.
XAMPP Installation Completion

3-) Running XAMPP local server

3-1-) Run XAMPP. You will see the orange 'x' icon in the lower right system area. Open the XAMPP main window.
XAMPP Main Window
You can click the 'Quit' button in the main window to close the program at any time.
3-2-) Run the local web server and database server by clicking the 'Start' buttons shown in yellow frame to the right of 'Apache' and 'MySQL'.
XAMPP Setup Apache Php Autostart
When the servers start working, the background color of their names will be green. When you click the 'stop' buttons the server stops.
You can have the servers running automatically every time XAMPP starts. To do this, click the 'Config' button at the top right of the main window. Select the 'Apache' and 'MySQL' boxes under 'Auto start of modules' in the window that will open. Save the settings with the 'Save' button.
3-3-) Open 'http://127.0.0.1/' ( or 'http://localhost/' ) in your browser. You will see a welcome page prepared by XAMPP.
XAMPP Local Server Welcome Page
XAMPP Local Server Home Folder
Let's assume that the directory you selected while installing is 'C:\xampp'. The local web server interprets the files in the 'C:\xampp\htdocs' directory and displays them in the browser. You will save the files of the new sites you will create in this directory. When you open the local server in the browser, the file 'index.php' in the root directory will automatically run and point the browser to 'http://127.0.0.1/dashboard/' ( or 'http://localhost/dashboard/' ). The welcome message you see in the browser comes from the file 'index.html' in the 'C:\xampp\htdocs\dashboard' directory. You can then rename the 'index.php' file in the root directory with 'hello.php'. Thus, when you open the 'http://127.0.0.1/' (or 'http://localhost/' ) address, you can see the directories and files under the 'C:\xampp\htdocs' directory listed in your browser.
3-4-) Open the 'phpMyAdmin' link marked with a yellow arrow at the top right of the welcome page picture. The phpMyAdmin page will open. With phpMyAdmin, you can manage database through your browser. You can create, edit and delete database, table, tablespace, data record, run database query. If you want, add this address to your browser's shortcuts.
XAMPP phpMyAdmin MySQL

When you complete the step-by-step explanation of the above XAMPP installation, you can run the pages programmed with PHP language on your own computer and perform query operations by establishing a database connection.
Share:

EasyPHP Local Server Installation

For a software-based website such as WordPress or Joomla to run on your own computer, Apache, PHP and MySQL software must be installed first. This page will explain how to install these software on a computer with a Windows operating system. You can install each of these software one by one. But there are several combined installation packages that you can use to get things done easily with less time consuming. These package installations make all the necessary software work in harmony with each other at the end of a single installation process, they make their settings and present them to you ready to use.

How to Setup EasyPHP Local Server Pictorial Lecture

How to Setup a Local Server?

To install a local web server on your computer, you can choose from two package installations:

A-) EasyPHP
B-) XAMPP

A-) How to Install EasyPHP?


EasyPHP is a package local server installation with less installation size ( ~60 MB ) compared to its counterparts. The software it contains may be several versions earlier. It allows you to keep multiple PHP versions ready and choose one of them. If you are a power user, you can manually add the current PHP version if you want. After installation, missing Windows dll file may give errors. To solve this problem, you need to find and install Windows patches that complete the missing dll files.

EasyPHP Devserver 17 includes the following software and versions:
• Apache 2.4.25
• MySQL 5.7.17
• PHP 5.6.30
• PHP 7.1.3

» Estimated time: 5 minutes
» Prerequisites:
PC with Windows operating system (7, 8, 10 or newer)
Internet connection
600 MB of free disk space

1-) EasyPHP Download

1-1-) Download the setup file from the page below.
https://www.easyphp.org/download.php
Download EasyPHP Setup Setup File
EasyPHP Installation Exe File
The executable file named 'EasyPHP-Devserver-17.0-setup.exe' will be saved on your computer.

2-) EasyPHP Installation

2-1-) Run the setup file. Choose which directory on your disk the installation will be made and proceed to the next step with the 'Next' button.
Choosing EasyPHP Installation Folder Location
2-2-) If you wish, click the option to create a shortcut on the desktop and proceed.
EasyPHP Setup Screen
2-3-) Click the 'Install' button on the screen showing summary parameters.
Running EasyPHP Setup Setup
The copying of the installation files will begin.
EasyPHP Installation DLL copy
2-4-) After the process is completed, you will have completed the installation by clicking the 'Finish' button.
EasyPHP Installation

3-) Running EasyPHP local server

3-1-) Run EasyPHP. You will see the black 'e' icon in the lower right system area.
EasyPHP Installation start
When you right-click the icon, the EasyPHP menu appears. You can select the 'Exit' item in this menu to close the program at any time.
3-2-) You can start and stop the Web server and database server with the options under 'Servers' in the EasyPHP menu. Run 'Start / Restart All Servers' to run both.
3-3-) Select 'Open Dashboard'. After clicking, your browser will start and the EasyPHP web interface will open.
EasyPHP Installation usage
You can also start, stop and restart servers with the buttons marked with red arrows in the picture.
PHP 5.6.30 version is running as you can see in the picture below with a yellow line. We mentioned that you can optionally switch between different PHP versions with EasyPHP. If there is more than one version option, you can set the server to work with as follows:
3-4-) lick the gear wheel button shown in the yellow frame. In the 'PHP version' line in the window that opens, you will see the installed versions in the options that drop down. Choose the version you want. It is recommended to set the port number to 80. If the port number is 1111, the root address of the local web server will be 'http://127.0.0.1:1111/' ( or http://localhost:1111/ ). If you set the port number to 80, simply type 'http://127.0.0.1/' ( or http://localhost/ ) in the address bar of your browser to access your web server. After making the settings changes, restart the server with 'restart'.
EasyPHP Installation add php version
3-5-) In the list under the 'Working Directories' heading, there are directories determined on your disk. The web server interprets and executes the files in this directory. As can be seen in the 'Portable Directory' line marked with a blue frame in the picture, the 'C:\Program Files (x86)\EasyPHP-Devserver-17\eds-www' directory is selected. When you visit the 'http://127.0.0.1/' address in your browser, the local web server lists this directory and/or reads files such as html, php under this directory and displays it to you as a page.
EasyPHP Installation workspace
3-6-) When you click the 'open' button marked with a red arrow to the right of the 'MySQL Administration PhpMyAdmin 4.7.0' line under the 'Modules' heading, the PhpMyAdmin window opens.
EasyPHP Installation MySQL
EasyPHP Installation PhpMyAdmin
With phpMyAdmin, you can manage database through your browser. You can create and delete database, table, tablespace, data record, run database query.

When you complete the step-by-step explanation of the EasyPHP installation above, you can run pages programmed in PHP on your own computer and perform query operations by establishing a database connection.
Share:

XAMPP Yerel Sunucu Kurulumu

WordPress veya OpenCart gibi veritaban─▒ kullanan ve programlama temelli olan bir web sitesinin ki┼čissel bilgisayar─▒n─▒zda kurulup a├ž─▒labilmesi i├žin ├Âncelikle Apache, PHP ve MySQL yaz─▒l─▒mlar─▒n─▒ kurulmas─▒ gerekir. Bu yaz─▒da i┼čletim sistemi Windows olan bilgisayara bu yaz─▒l─▒mlar─▒n nas─▒l kurulaca─č─▒n─▒ ├Â─čreneceksiniz. Bu yaz─▒l─▒mlar─▒n herbirini ayr─▒ ayr─▒ elle kurabilirsiniz. Ama daha h─▒zl─▒ ve kolayca yapmak i├žin yararlanabilece─čimiz farkl─▒ birle┼čtirilmi┼č kurulum paketleri vard─▒r. Bu paket kurulumlar ile tek bir kurulum yap─▒l─▒r. Kurulumu yap─▒nca, ihtiyac─▒m─▒z olan bu yaz─▒l─▒mlar, birbirleriyle uyumlu olarak ├žal─▒┼čacak ┼čekilde ayarlar─▒ yap─▒lm─▒┼č ve kullan─▒ma haz─▒r halde olurlar.

XAMPP Yerel Sunucu Kurulumu Nas─▒l Yap─▒l─▒r Resimli Anlat─▒m

Yerel Sunucu Nas─▒l Kurulur?

Bilgisayar─▒n─▒za yerel web sunucusu kurmak i├žin ┼ču iki paket kurulumundan birini se├žebilirsiniz:

A-) EasyPHP
B-) XAMPP

A-) XAMPP Nas─▒l Kurulur?


XAMPP ├Ânde gelen yerel sunucu kurulum paketlerinden biridir. ─░├žerdi─či yaz─▒l─▒mlar─▒n kapsam─▒ geni┼čtir ve s├╝r├╝mleri g├╝ncel tutulmaktad─▒r. Bunun i├žin XAMPP'─▒ se├žmek iyi bir tercih olabilir.

┼×imdi bilgisayar─▒m─▒za XAMPP yerel sunucusunu kurma basamaklar─▒n─▒ detaylar─▒yla anlatal─▒m.

» Tahmini s├╝re: 5 dakika
» ├ľn gereksinimler:
Windows i┼čletim sistemli ki┼čisel bilgisayar (7, 8, 10 veya daha yeni)
─░nternet ba─člant─▒s─▒
700 MB bo┼č disk alan─▒

1-) XAMPP ─░ndirme

1-1-) XAMPP kurulum dosyas─▒n─▒ a┼ča─č─▒daki adresten indirin.
https://www.apachefriends.org/download.html
XAMPP Kurulum Setup Dosyas─▒ indir
Ad─▒ 'xampp-windows-x64-7.4.10-0-VC15-installer.exe' gibi olan ├žal─▒┼čt─▒r─▒labilir dosya bilgisayar─▒n─▒za kaydedilecek.

XAMPP'in g├╝ncel paketinin i├žerisinde ┼ču yaz─▒l─▒mlar ve s├╝r├╝mleri bulunur:
• Apache 2.4.51
• MariaDB 10.4.21
• PHP 8.0.12
• OpenSSL 1.1.1

En son s├╝r├╝m PHP genelde sadece 'G├╝venli' ├Âzelli─čine sahiptir. Bunun yerine hem 'Kararl─▒' hem de 'G├╝venli' olan PHP s├╝r├╝m├╝n├╝ kullanarak daha iyi bir se├žim yapm─▒┼č olursunuz. ├ľrne─čin, yay─▒mlanan en g├╝ncel s├╝r├╝m 8.0 iken, bu s├╝r├╝m sadece 'G├╝venli' olarak nitelendirilir. Ancak ayn─▒ zaman diliminde 7.4 daha yayg─▒n kullan─▒m─▒ sonucunda a├ž─▒klar─▒ bulunup kapat─▒ld─▒─č─▒ i├žin hem 'Kararl─▒' hem de 'G├╝venli' olur ve bu s├╝r├╝m├╝n kullan─▒lmas─▒ tavsiye edilir.

2-) XAMPP Kurulumu

2-1-) ─░ndirdi─činiz dosyay─▒ ├žal─▒┼čt─▒r─▒p kuruluma ba┼člay─▒n.
XAMPP Kurulum Setup ├çal─▒┼čt─▒rma
Her yeni kurulum ekran─▒nda "Next" d├╝─čmesi ile ilerleyin.
2-2-) Paket i├žindeki bile┼čenlerken hangilerinin kurulaca─č─▒n─▒ se├žin. Apache, PHP, MySQL ve se├ženeklerinin mutlaka tikli olmas─▒ gerekir. T├╝m├╝n├╝n se├žilmesi tavsiye edilir.
XAMPP Kurulum Ekran─▒
2-3-) Kurulumun yap─▒laca─č─▒ dizini se├žin.
XAMPP Kurulum Klas├Âr Se├žme
2-4-) XAMPP'in kontrol panelinin hangi dilde olaca─č─▒n─▒ se├žin. Bu se├žim kuraca─č─▒n─▒z siteyi etkilemez. "English" dilini se├žebilirsiniz.
XAMPP Kurulum Dil Se├žme
2-5-) Bilgilendirme sayfas─▒n─▒ a├žmamak i├žin se├žili tiki kald─▒r─▒n.
XAMPP Kurulum Bilgi Sayfas─▒
2-6-) Kurulum dosyalar─▒ kopyalanmaya ba┼člayacak. Tamamlanana kadar bekleyin.
XAMPP Kurulum Dosya Kopyalama
2-7-) "Finish" d├╝─čmesini t─▒klay─▒p kurulum bitirin.
XAMPP Kurulum Tamamlama

3-) XAMPP yerel sunucusunu ├žal─▒┼čt─▒rma

3-1-) XAMPP'i ├žal─▒┼čt─▒r─▒n. Sa─č alttaki sistem alal─▒nda turuncu renkli 'x' simgesini g├Âreceksiniz. XAMPP ana penceresini a├ž─▒n.
XAMPP Ana Pencere
Diledi─činiz zaman program─▒ kapatmak i├žin ana penceredeki 'Quit' d├╝─čmesini t─▒klayabilirsiniz.
3-2-) 'Apache' ve 'MySQL' yaz─▒lar─▒n─▒n sa─č─▒nda sar─▒ ├žer├ževe i├žinde g├Âsterilmi┼č 'Start' d├╝─čmelerini t─▒klayarak yerel web sunucusunu ve veritaban─▒ sunucusunu ├žal─▒┼čt─▒r─▒n.
XAMPP Kurulum Apache Php Otomatik Ba┼člatma
Sunucular ├žal─▒┼čmaya ba┼člad─▒klar─▒nda isimlerinin arka plan renkleri ye┼čil olur. 'Stop' d├╝─čmelerini t─▒klad─▒─č─▒n─▒zda sunucu durur.
XAMPP her ba┼člad─▒─č─▒nda sunucular─▒n otomatik olarak ├žal─▒┼čmas─▒n─▒ sa─člayabilirsiniz. Bunun i├žin ana pencerede en sa─č ├╝stte bulunan 'Config' d├╝─čmesine t─▒klay─▒n. A├ž─▒lacak olan penceredeki 'Auto start of modules' alt─▒ndaki 'Apache' ve 'MySQL' kutular─▒n─▒ se├žin. 'Save' d├╝─čmesi ile ayarlar─▒ kaydedin.
3-3-) Taray─▒c─▒n─▒zda 'http://127.0.0.1/' ( veya 'http://localhost/' ) adresini a├ž─▒n. XAMPP'─▒n haz─▒rlam─▒┼č oldu─ču bir ho┼čgeldiniz sayfas─▒n─▒ g├Âreceksiniz.
XAMPP Yerel Sunucu Kar┼č─▒lama Sayfas─▒
XAMPP Yerel Sunucu Ana Klas├Âr├╝
Kurulum yaparken se├žti─činiz dizinin 'C:\xampp' oldu─čunu varsayal─▒m. Yerel web sunucusu 'C:\xampp\htdocs' dizinindeki dosyalar─▒ yorumlar ve taray─▒c─▒da g├Âsterir. Yeni yapaca─č─▒n─▒z sitelerin dosyalar─▒n─▒ bu dizine kay─▒t edeceksiniz. Yerel sunucuyu taray─▒c─▒da a├žt─▒─č─▒n─▒zda k├Âk dizindeki 'index.php' dasyas─▒ otomatik olarak ├žal─▒┼č─▒r ve taray─▒c─▒y─▒ 'http://127.0.0.1/dashboard/' ( veya 'http://localhost/dashboard/' ) adresine y├Ânlendirir. Taray─▒c─▒da g├Ârd├╝─č├╝n├╝z ho┼čgeldin mesaj─▒ 'C:\xampp\htdocs\dashboard' dizinindeki 'index.html' dasyas─▒ndan gelmektedir. K├Âk dizindeki 'index.php' dosyas─▒n─▒n ad─▒n─▒ daha sonra 'merhaba.php' ile de─či┼čtirebilirsiniz. B├Âylece 'http://127.0.0.1/' ( veya 'http://localhost/' ) adresini a├žt─▒─č─▒n─▒zda 'C:\xampp\htdocs' dizini alt─▒nda olan dizin ve dosyalar─▒ taray─▒c─▒n─▒zda listelenmi┼č ┼čekilde g├Ârebilirsiniz.
3-4-) Ho┼čgeldiniz sayfas─▒n─▒n resminde sa─č ├╝ste sar─▒ ok ile i┼čaretli 'phpMyAdmin' ba─člant─▒s─▒n─▒ a├ž─▒n. PhpMyAdmin sayfas─▒ a├ž─▒lacakt─▒r. PhpMyAdmin ile veritaban─▒ y├Ânetimini taray─▒c─▒n─▒z─▒n ├╝zerinden yapabilirsiniz. Veritaban─▒, tablo, tablo alan─▒, veri kayd─▒ yaratabilir, d├╝zenleyebilir ve silebilir, veritaban─▒ sorgusu ├žal─▒┼čt─▒rabilirsiniz. ─░sterseniz bu adresi taray─▒c─▒n─▒z─▒n k─▒sayollar─▒na ekleyin.
XAMPP phpMyAdmin MySQL

Yukar─▒daki XAMPP kurulumunun resmili anlat─▒m─▒n─▒ ad─▒m ad─▒m tamamlad─▒─č─▒n─▒zda kendi bilgisayar─▒n─▒zda PHP dili ile programlanm─▒┼č sayfalar─▒ ├žal─▒┼čt─▒rabilir ve veritaban─▒ ba─člant─▒s─▒ kurarak sorgu i┼člemlerini yapabilirsiniz.
Share:

Subscribe to: Posts (Atom)