Chuyện của sys

DevOps Blog

[OpenEdge] AdminServer is not starting

Description: Tried to start the AdminService more than once using Windows Services PROADSV -query shows that the AdminServer is not alive. java process are still running in memory   AdminServer port is in use netstat -a shows port 20931, the default AdminServer port, is in use. Root Cause: Previous session did not finished properly. Java […]

[Windows 7] Sửa lỗi Remote Desktop Client trên Win 7

Chi tiết lỗi: The remote session was disconnected because there are no Remote Desktop client access licenses available for this computer. Please contact the server administrator. ( Sửa xong mà quên chụp lại cái hình :D) 1. Mở Regedit lên, tìm tới subkey sau: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSLicensing. 2. Xóa nó đi + restart máy tính!!! Ok, tiếp tục công việc […]

Chạy file đuôi chấm bin trên *NIX

Khi bạn download ở trên Internet về 1 file cài đặt với phần mở rộng là file chấm bin ( ví dụ: bạn down java JDK từ trang chủ với dạng jdk-6u45-linux-x64.bin), khá mơ hồ nhỉ 😀 30s để google cách chạy file này!!! 1. Bạn cho phép quyền thực thi file với câu lệnh chmod: […]

[Linux] Triển khai mô hình VPN sử dụng OpenVPN Client to Site trên Linux (3)

 Bật chức năng IP Forwarding:Mở file /etc/sysctl.conf và đặt ‘net.ipv4.ip_forward’ to 1.net.ipv4.ip_forward = 1Để chắc chắn rằng đã thay đổi sysctl.conf sử dụng lệnh sau:sysctl –p– Tắt firewallService iptables stop– Tạo thư mục chứa IP tĩnh cho từng user Client.Tạo thư mục ccd (/etc/openvpn/ccd)mkdir /etc/openvpn/ccdTạo profile cho user nhan và quivi /etc/openvpn/ccd/nhan – Sửa file cấu […]

[Linux] Triển khai mô hình VPN sử dụng OpenVPN Client to Site trên Linux (2)

Copy thư mục easy-rsa sang /etc/openvpn/:cp -R /usr/share/doc/openvpn-2.2.2/easy-rsa/ /etc/openvpn/Tiếp theo: Chuẩn bị tạo Giấy chứng nhận CAcd /etc/openvpn/easy-rsa/2.0chmod 755 *source ./vars./vars./clean-all – Build CA:./build-caCountry Name: Điền tên quốc gia, có thể để trốngState or Province Name: điền bang hay tỉnh hoặc để trốngCity: điền Thành phố hoặc để trốngOrg Name: điền Tổ chức hoặc để trốngOrg Unit Name: điền Đơn vị […]