Learn Setup Windows Server Aliconnect copy - aliconnect/aliconnect.sdk GitHub Wiki
- Windows User Aim, Create windows user
- IIS FTP Server, Setup FTP server
- Windows+R Open:
appwiz.cpl
- Control Panel Home > Turn Windows features on or off
- Windows+E
- Create directory structure
> Deze PC
> Data (D:)
📁 aliconnect
📁 bu
📁 zip
🗋 7za.exe
📁 config
📁 aliconnect.nl
📁 forms
📁 config
🗋 aliconnect.nl.yaml
📁 cert
🗋 aliconnect.ca
🗋 aliconnect.cer
🗋 aliconnect.key
🗋 openssl...
📁 docs
📁 logs
📁 logfiles
📁 node_modules
📁 @aliconnect
📁 public
📁 assets
📁 css
📁 font
📁 img
📁 js
📁 media
🗋 404.html
🗋 manifest.json
🗋 nav-left.md
🗋 nav-top.md
🗋 footer.md
🗋 Home.md
🗋 web.config
📁 src
📁 aliconnect
📁 auth
🗋 server.php
📁 data
🗋 server.php
📁 mailer
🗋 mailer.html
🗋 mailer.php
🗋 aliconnect.php
📁 translations
🗋 nl.yaml
📁 vendor
📁 aliconnect
🗋 composer.json
🗋 package.json
- This PC > Data (D:) > 📁 aliconnect
- Actions > Properties > Security
Edit...
Add...
- Enter the object names to select (examples):
aim
OK
- Permissions for Aim > Modify > [x] Allow
OK
OK
- This PC > Data (D:) > aliconnect > 📁 public
- Actions > Properties > Security
Edit...
Add...
- Enter the object names to select (examples):
IUSR
OK
- Permissions for Aim > Modify > [x] Allow
OK
OK
- This PC > Data (D:) > aliconnect > 📁 webroot
- Actions > Properties > Security
Edit...
Add...
- Enter the object names to select (examples):
IUSR
OK
- Permissions for Aim > Modify > [x] Allow
OK
OK
Certificate
Onderstaande werkt niet. Het was noodzakelijk om [IIS Import Server SSL Certificate](#IIS Import Server SSL Certificate) uit te voeren.
- Windows+R Run:
inetmgr.exe
> Internet Information Services (IIS) Manager -
Connections >
SERVER (SERVER\Administrator)
- IIS > Server Certificates > Open Feature
- Select certificate
- Actions > Renew...
- Complete certificate renewal request
- File name ...:
\aliconnect\config\cert\__aliconnect_nl.cer
- Select a certificate store...:
Personal
-
Connections >
SERVER (SERVER\Administrator)
> Sites > Default Web Site - Rename
webroot
-
Actions > Edit Site > Basic Settings...
- Edit Site
- Physical path:
D:\aliconnect\webroot
- Physical path:
- Edit Site
-
Connect as...
- Connect as
- Specific user:
Set
- Set Credentials
- User name:
Aim
- Password:
********
- Confirm password:
********
- User name:
- Specific user:
- Connect as
OK
OK
-
Actions > Edit Site > Bindings...
- Site Bindings
-
Add
- Add/Edit Site Bindings
- Type:
https
- IP address:
All Unassigned
- Port:
443
- Host name: ``
- SSL certificate:
*.aliconnect.nl
- Type:
- Add/Edit Site Bindings
OK
Close
-
Connections >
SERVER (SERVER\Administrator)
- IIS > Handler Mappings
- PHP_via_FastCGI1 > Actions > Edit...
- Edit Module Mapping
- [ Request Restrictions... ]
- Verbs
- All verbs
- [ OK ]
- Executable (optional):
"C:\Program Files\PHP\v...\php-cgi.exe"
(let op quotes) - [ OK ]
- Edit Module Mapping
- Do you want to ....
- [ Yes ]
-
Connections >
SERVER (SERVER\Administrator)
> Sites -
Actions > Add FTP Site
-
Site Informatie
- FTP site name:
ftp.aliconnect.nl
- Physical path:
D:\aliconnect
- FTP site name:
-
Next
-
Binding and SSL Settings
- Binding:
- IP Address:
All Unassigned
- Port:
21
- IP Address:
- Start FTP site automatically
- SSL
- SSL Toestaan
- SSL Certificate:
*.aliconnect.nl
- Binding:
-
Next
-
Authentication and Authorization Information
- Authentication
- Anonymous
- Basic
- Authorization
- Allow access to > Specific Users:
aim
- Permisions:
- Read
- Write
- Allow access to > Specific Users:
- Authentication
-
Complete
-
Actions > Edit Site > Basic Settings...
- Edit Site
- Physical path:
D:\aliconnect\webroot
- Physical path:
-
Connect as...
- Connect As
- Specific user:
aim
-
Set...
- Set Credentials
- User name:
aim
- Password:
********
- Confirm password:
********
- User name:
- Set Credentials
- Specific user:
- Connect As
OK
- Aim Home > FTP > FTP Logging
- Directory:
D:\aliconnect\logs\logfiles
- Directory:
- Aim Home > FTP > FTP Authorization Rules
- Mode:
Allow
, Users:Aim
, Permissions:Read, Write
- Mode:
- Edit Site
-
Install 5.1
- https://www.microsoft.com/web/downloads/platform.aspx
Install this extension
Next
Finish
-
Install URl Rewrite Werkt via WebPlatform Installer niet dus:
-
[ Install this extension ]
-
Run downloaded file, accept and install
- Windows+R Run:
taskschd.msc
- TaskScheduler (Local) > Task Scheduler Library
- Actions > Create Basic Task ...
- Create a Basic Task
- Name:
Aliconnect backup
Next >
- Name:
- Task Trigger
- Daily
Next >
- Daily
- Start:
xx/xx/xxxx
01:00:00
- Recur every:
1
Next >
- Start:
- Action
- Start a program
Next >
- Start a program
- Program/script:
D:\aliconnect\bu\backup.bat
Next >
- Program/script:
- Summary
Finish
- Create a Basic Task
- Start: Sql Server Configuration Manager (Local)
- Sql Server Configuration Manager (Local) > SQL Server Network Configuration > Protocols for MSSQLSERVER
- Named Pipes > Enable
OK
- TCP/IP > Enable
OK
- TCP/IP > Properties
- IP Addresses
- IPAll
- TCP Dynamic Ports: 1433
OK
- Named Pipes > Enable
- Sql Server Configuration Manager (Local) > SQL Server Services
- SQL Server Browser > Properties
- Service
- Start Mode:
Automatic
- Start Mode:
- Advanced
- Dump Directory:
D:\mssql\data\log
- Dump Directory:
OK
- Service
- SQL Server Browser > Start
- SQL Server (MSSQLSERVER) > Restart
- SQL Server Browser > Properties
- https://aka.ms/ssmsfullsetup
SSMS-Setup-ENU.exe
Install
- Windows+R Open:
cmd
D: cd \aliconnect composer update npm install rd \aliconnect\vendor\aliconnect\sdk mklink /J \aliconnect\vendor\aliconnect\sdk \aliconnect\public\[email protected] composer update cd \aliconnect\public\[email protected] npm link cd \aliconnect npm link @aliconnnect/sdk
- Start: Microsoft SQL Server Management Studio
- Connect to database windows cridentials
- MSQLSERVER > Security > Logins > New Login...
- Login name:
aim
- SQL Server Authentication
- Password:
***
- Confirm password:
***
- Password:
- Enforce password policy
- Default database: aim1
- Login name:
📁 aliconnect
📁 aliconnect
📁 aliconnect
📁 aliconnect
🗋 jkhlkjhlkjh
- Roles > Web Server (IIS) > Web Server > Security > [x] IP and Domain Restrictions
- download PHP manager latest
- https://github.com/phpmanager/phpmanager/releases
- start IIS Manager IIS If you are using PHP as FastCGI with IIS you should use the Non-Thread Safe (NTS) versions of PHP. VS16 x64 Non Thread Safe (2022-Aug-30 18:46:44)
<?xml version="1.0"?>
<configuration>
<system.webServer>
<security>
<ipSecurity allowUnlisted="false">
<clear/>
<add ipAddress="999.999.999.999" allowed="true"/>
</ipSecurity>
</security>
</system.webServer>
</configuration>
- In IIS, click on the root server
- Double click Feature Delegation (under management)
- Scroll down to IPv4 Address and Domain Restrictions
- Change the delegation to
Read/Write
(in my case it wasRead Only
, which was the issue)