വികസന ഉപകരണങ്ങൾ
എവിടെയും വിദൂര വികസനത്തിനായി ബ്രൗസറിൽ പ്രവർത്തിക്കുന്ന VS കോഡ്
IntelliSense, ഡീബഗ്ഗിംഗ്, എക്സ്റ്റൻഷനുകൾ, തീമുകൾ, സംയോജിത ടെർമിനൽ എന്നിവയുൾപ്പെടെ എല്ലാ സവിശേഷതകളോടും കൂടിയ പൂർണ്ണ VS Code അനുഭവം
ടാബ്ലെറ്റുകൾ, Chromebook-കൾ, അല്ലെങ്കിൽ ഏതൊരു കമ്പ്യൂട്ടർ എന്നിങ്ങനെ ബ്രൗസറുള്ള ഏത് ഉപകരണത്തിൽ നിന്നും നിങ്ങളുടെ ഡെവലപ്മെന്റ് പരിസ്ഥിതി ആക്സസ് ചെയ്യുക
ബ്രൗസറിൽ കോഡ് പ്രതികരണശേഷിയോടെ എഡിറ്റ് ചെയ്യുമ്പോൾ കംപൈലേഷൻ, ടെസ്റ്റിംഗ്, ബിൽഡുകൾ എന്നിവയ്ക്കായി സെർവർ ഹാർഡ്വെയർ പ്രയോജനപ്പെടുത്തുക
ലാംഗ്വേജ് സെർവറുകൾ, ലിന്ററുകൾ, ഫോർമാറ്ററുകൾ, ഉൽപ്പാദനക്ഷമത ടൂളുകൾ എന്നിവയുൾപ്പെടെ ആയിരക്കണക്കിന് VS Code എക്സ്റ്റൻഷനുകൾ ആക്സസ് ചെയ്യുക
TLS എൻക്രിപ്ഷൻ, പാസ്വേഡ് പ്രാമാണീകരണം, റിവേഴ്സ് പ്രോക്സി വഴിയുള്ള ഓപ്ഷണൽ OAuth2, അനുസരണത്തിനായി കോഡ് സെർവറിൽ തന്നെ നിലനിൽക്കുന്നു
code-server വഴി സ്വയമേവയുള്ള HTTPS-ഉം പ്രാമാണീകരണ ടണലിംഗും സഹിതം വെബ് ആപ്ലിക്കേഷനുകൾ പ്രിവ്യൂ ചെയ്യുക
curl -fsSL https://code-server.dev/install.sh | sh2. അല്ലെങ്കിൽ സ്വമേധയാ ഇൻസ്റ്റാൾ ചെയ്യുക:# Download latest release
VERSION=$(curl -s https://api.github.com/repos/coder/code-server/releases/latest | grep -oP '"tag_name": "v\K[^"]+')
wget https://github.com/coder/code-server/releases/download/v${VERSION}/code-server_${VERSION}_amd64.deb
# Install package
sudo dpkg -i code-server_${VERSION}_amd64.deb3. code-server കോൺഫിഗർ ചെയ്യുക:# Edit config file
nano ~/.config/code-server/config.yamlകോൺഫിഗറേഷൻ സജ്ജമാക്കുക:bind-addr: 0.0.0.0:8080
auth: password
password: your_secure_password_here
cert: false # We'll use reverse proxy for SSL4. Systemd സർവീസ് സൃഷ്ടിക്കുക:sudo systemctl enable --now code-server@$USER
sudo systemctl status code-server@$USER5. Nginx റിവേഴ്സ് പ്രോക്സി കോൺഫിഗർ ചെയ്യുക:sudo apt install nginx -y
sudo nano /etc/nginx/sites-available/code-serverകോൺഫിഗറേഷൻ ചേർക്കുക:server {
listen 80;
server_name code.yourdomain.com;
location / {
proxy_pass http://127.0.0.1:8080;
proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection upgrade;
proxy_set_header Accept-Encoding gzip;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}സൈറ്റ് പ്രവർത്തനക്ഷമമാക്കുക:sudo ln -s /etc/nginx/sites-available/code-server /etc/nginx/sites-enabled/
sudo nginx -t
sudo systemctl restart nginx6. SSL സർട്ടിഫിക്കറ്റ് നേടുക:sudo apt install certbot python3-certbot-nginx -y
sudo certbot --nginx -d code.yourdomain.com7. code-server ആക്സസ് ചെയ്യുക:https://code.yourdomain.com എന്നതിലേക്ക് പോകുക# Via command line
code-server --install-extension ms-python.python
code-server --install-extension esbenp.prettier-vscode
# Or use Extensions panel in UI9. ഫയർവാൾ കോൺഫിഗർ ചെയ്യുക:sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
sudo ufw allow 22/tcp # SSH10. ഓപ്ഷണൽ - Docker ഇൻസ്റ്റാളേഷൻ:# Run code-server in Docker
docker run -it --name code-server -p 127.0.0.1:8080:8080 \
-v "$HOME/.config:/home/coder/.config" \
-v "$HOME/projects:/home/coder/projects" \
-u "$(id -u):$(id -g)" \
-e "DOCKER_USER=$USER" \
codercom/code-server:latest
bind-addr: 0.0.0.0:8080
auth: password
password: secure_password_here
cert: false
proxy-domain: code.yourdomain.com2. പ്രാമാണീകരണ രീതികൾ:# Password authentication (default)
auth: password
password: your_password
# Disable authentication (dangerous, use with reverse proxy auth)
auth: none
# Use hashed password
hashed-password: "$argon2i$v=19$m=4096,t=3,p=1$..."3. എൻവയോൺമെന്റ് വേരിയബിളുകൾ:# Set password via env
export PASSWORD="your_password"
# Disable telemetry
export TELEMETRY_LEVEL="off"
# Custom extensions directory
export EXTENSIONS_GALLERY='{"serviceUrl": "https://open-vsx.org/vscode/gallery"}'4. പോർട്ട് ഫോർവേഡിംഗ് കോൺഫിഗറേഷൻ:# Forward local dev server to public URL
# In code-server terminal:
npm run dev # Starts on localhost:3000
# code-server automatically detects and offers to forward
# Access at: https://code.yourdomain.com/proxy/3000/5. എക്സ്റ്റൻഷൻ കോൺഫിഗറേഷൻ:# Install from marketplace
code-server --install-extension publisher.extension-name
# Install from VSIX
code-server --install-extension /path/to/extension.vsix
# List installed extensions
code-server --list-extensions
# Uninstall extension
code-server --uninstall-extension publisher.extension-name6. ക്രമീകരണ സമന്വയം:// settings.json location: ~/.local/share/code-server/User/settings.json
{
"workbench.colorTheme": "Default Dark+",
"editor.fontSize": 14,
"editor.formatOnSave": true,
"files.autoSave": "afterDelay",
"terminal.integrated.shell.linux": "/bin/bash"
}7. ബഹു-ഉപയോക്തൃ സജ്ജീകരണം:# Create service for user1
sudo systemctl enable --now code-server@user1
# Create service for user2
sudo systemctl enable --now code-server@user2
# Each user gets own config in their home directory
# ~/.config/code-server/config.yaml8. സുരക്ഷാ ബലപ്പെടുത്തൽ:# Limit network access
bind-addr: 127.0.0.1:8080 # Only localhost
# Use strong password (20+ chars)
password: $(openssl rand -base64 32)
# Enable HTTPS on reverse proxy
# Use fail2ban for brute force protection
sudo apt install fail2ban
# Configure fail2ban for code-server
sudo nano /etc/fail2ban/jail.localചേർക്കുക:[nginx-code-server]
enabled = true
port = 80,443
filter = nginx-code-server
logpath = /var/log/nginx/access.log
maxretry = 3
bantime = 36009. പ്രകടന ട്യൂണിംഗ്:# Increase file watcher limit
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf
sudo sysctl -p
# Disable telemetry
export TELEMETRY_LEVEL=off
# Use faster protocol
# In settings.json:
{
"terminal.integrated.rendererType": "dom"
}10. ബാക്കപ്പും മൈഗ്രേഷനും:# Backup user data
tar -czf code-server-backup.tar.gz \
~/.local/share/code-server \
~/.config/code-server
# Restore on new server
tar -xzf code-server-backup.tar.gz -C ~മികച്ച രീതികൾ:curl -fsSL https://code-server.dev/install.sh | shjournalctl -u code-server@$USER -fലളിതമായ VPS സമ്മര്ദ്ദം പ്രക്രിയയുമായി നിമിഷങ്ങള്ക്കുള്ളില് തുടങ്ങുക
Deploy in about 2 minutes • Full root access • Support by ticket and email