package.json dosyasında build satırını aşağıdaki şekilde değiştiriyoruz. 8.3 yazan yere site PHP sürümü ne ise o yazılacak.
{
"scripts": {
"build": "PATH=/opt/plesk/php/8.3/bin:$PATH vite build"
}
}
package.json dosyasında build satırını aşağıdaki şekilde değiştiriyoruz. 8.3 yazan yere site PHP sürümü ne ise o yazılacak.
{
"scripts": {
"build": "PATH=/opt/plesk/php/8.3/bin:$PATH vite build"
}
}
| ## Communication Guidelines | |
| ### Language | |
| Always respond in English unless explicitly requested otherwise. | |
| ### Git Workflow | |
| #### Initial Check | |
| At the start of each conversation, always run: | |
| 1. `git fetch` to get the latest remote information | |
| 2. `git status` to check the current repository state |
| # Yeni RDP Port Numarası (gerekirse bu değeri değiştirin) | |
| $NewRdpPort = 42500 | |
| Write-Host "🔧 RDP ayarları yapılandırılıyor..." -ForegroundColor Cyan | |
| # 1. RDP Flood limitlerini kaldır | |
| Write-Host "⚙️ Flood limit ayarları kaldırılıyor..." -ForegroundColor Yellow | |
| New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server" -Name "MaxOutstandingConnections" -Value 0 -PropertyType DWord -Force | Out-Null | |
| New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server" -Name "MaxConnectionTimeOut" -Value 0 -PropertyType DWord -Force | Out-Null |
| # Parola politikalarını düzenle | |
| secedit /export /cfg "$env:TEMP\secpol.cfg" | |
| (gc "$env:TEMP\secpol.cfg") | | |
| ForEach-Object { | |
| $_ -replace 'PasswordComplexity\s*=\s*\d+', 'PasswordComplexity = 0' ` | |
| -replace 'MinimumPasswordLength\s*=\s*\d+', 'MinimumPasswordLength = 0' | |
| } | Set-Content "$env:TEMP\secpol.cfg" | |
| secedit /configure /db secedit.sdb /cfg "$env:TEMP\secpol.cfg" /areas SECURITYPOLICY |
| #!/bin/bash | |
| # Root kontrolü | |
| if [[ $EUID -ne 0 ]]; then | |
| echo "❌ Lütfen bu scripti root olarak çalıştırın." | |
| exit 1 | |
| fi | |
| # OS tespiti | |
| if [ -f /etc/os-release ]; then |