Install the Distro-Stable Version of Node.js with YUM In order to download this version, we will use the yum package manager. Update your yum packages: sudo yum update Install Node.js: sudo yum install nodejs Verify the current version of Node.js: node –version Install npm (Node Package Manager): sudo yum install npm Install Node.js using NVM Instead of using yum, you can install..
Read moreCài đặt Certbot Cách dễ dàng để cài đặt chứng chỉ Let’s Encrypt trên VPS là sử dụng Certbot Client. Trên CentOS 7, Certbot có sẵn ở EPEL Repository. Bạn chỉ cần enable lên với câu lệnh sau: 1 rpm –ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm Ubuntu bạn cần cấu hình Certbot PPA với câu lệnh sau: 1 2 3..
Read moreBước 1: Tạo cơ sở dữ liệu Đăng nhập Maria DB với user root: 1 mysql –u root –p Tạo một cơ sở dữ liệu wordpress: 1 CREATE DATABASE wordpress; Tạo user: 1 CREATE USER ‘wpuser’@‘localhost’ IDENTIFIED BY ‘wppassword’; Cấp quyền cho user: 1 2 3 GRANT ALL PRIVILEGES ON wordpress.* TO ‘wpuser’@‘localhost’ IDENTIFIED BY..
Read moreTổng quan hệ thống Mọi lời nói không thể thay thế bằng hình ảnh rõ ràng được :) Tiki sử dụng Magento version 1.x Source code Magento sẽ được deploy lên 4 server web app, server Media và request sẽ được load balance qua 4 server này Database sử dụng là Percona MySQL được cấu..
Read moreTrước tiên, các bạn hãy khởi động lại máy tính. Đến màn hình khởi động này thì tắt máy tính đi (bằng cách bấm nút nguồn, rút dây nguồn điện…): Đây có thể hiểu nôm na là quá trình gây lỗi, khiến cho Windows không thể khởi động được như bình thường. Và kết quả..
Read moreBạn có thể sử dụng tool này trên server để theo dõi gần như toàn bộ tình trạng hệ thống: Total and Per Core CPU usage, interrupts, softirqs and frequency. Total Memory, RAM, Swap and Kernel usage. Disk I/O (per disk: bandwidth, operations, backlog, utilization, etc). Monitors Network interfaces including: bandwidth, packets, errors, drops, etc)…
Read moreRclone là một công cụ đồng bộ hóa dữ liệu tương tự Rsync nhưng lại được tập trung phát triển chức năng kết nối với các dịch vụ lưu trữ đám mây. Ưu điểm của việc sử dụng dịch vụ lưu trữ đám mây đó là tốc độ cao (do có server được đặt trên khắp thế..
Read moreMicrosoft theo dõi bạn như thế nào? Thông qua Network Connectivity Status Indicator: Mỗi khi bạn khởi động máy tính, một test kết nối bạn sẽ được chạy tự động để kiểm tra kết nối Internet có khả dụng hay không Máy tính thực hiện kết nối request tới một text file trên NCSI Server của Microsoft (..
Read moreWe have noticed extremely large folder on our server. It happens that Error logs are kept there. Folder is here: c:\users\%username%\appdata\local\Microsoft\Windows\WER\ReportQueue We have deleted its content completely and we also disabled Error logging. In order to do this you need to change group policy (as administrator): Start gpedit.msc to open the group policy editor Browse..
Read more
WinNMP – Config
How to send emails using PHP WinNMP has 2 options for processing emails sent by PHP’s mail() function: mSmtp and mailToDisk (default). To change the option, edit confphp.ini and modify sendmail_path: For Development use mailToDisk (the default): sendmail_path = ‘”C:/WinNMP/bin/php” -n -f “C:/WinNMP/include/tools/mailtodisk.php”‘ Emails will be saved to logmail-XX.txt For Production use mSmtp: sendmail_path = ‘”C:/WinNMP/bin/msmtp/msmtp.exe” -C “C:/WinNMP/conf/msmtp.ini” -t’ You also need to edit confmsmtp.ini in order to configure SMTP server options How..
Read more