Không có ảnh

Khắc phục lỗi “mod_fcgid: read data timeout in 40 seconds”

27/09/2017 Nosomovo 0

Để khắc phục lỗi mod_fcgid: read data timeout ta thực hiện tăng thời gian đọc như sau: – Trong ubuntu mở file  “/ect/apache2/mods-available/fcgid.conf” thực hiện thêm (nếu chưa có) hoặc chỉnh lại giá trị “FcgidIOTimeout” theo nhu cầu sử dụng. Ví dụ: <IfModule mod_fcgid.c> FcgidConnectTimeout 20 FcgidIOTimeout 600 <IfModule mod_mime.c> AddHandler fcgid-script .fcgi

Phân quyền user trên database mysql

26/09/2017 Nosomovo 0

1. Cấp quyền Để cấp quyền cho user đối với database ta sử dụng lệnh GRANT với cú pháp sau: GRANT [privilege] ON [database_name].[table_name] TO ‘[user_name]’@’localhost’; 2. Thu hồi quyền đã cấp Thu hồi quyền đã cấp cho user ta sử dụng lệnh REVOKE  với cú pháp: REVOKE [privilege] ON [database_name].[table_name]

Khắc phục lỗi “No input file specified”

19/09/2017 Nosomovo 0

1. Mô tả lỗi Lỗi này xuất hiện khi thực hiện chuyển máy chủ. Sau đó truy cập website sẽ xuất hiện câu “No input file specified.” 2. Cách khắc phục Ta chỉ cần thêm dấu chấm hỏi (?) vào sau index.php trong lệnh RewriteRule trong file .htaccess là vấn

Cách đặt lại giá trị sql_mode cho dịch vụ mysql trên Ubuntu

19/09/2017 Nosomovo 0

Để đặt lại giá trị “sql_mode” trong dịch vụ mysql ta chỉnh sửa trong file mysqld.cnf: sudo vi /etc/mysql/mysql.conf.d/mysqld.cnf Sau đó thêm dòng bên dưới vào dưới vị trí dòng có nội dung “[mysqld]“: sql_mode = “NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION” Tiếp tục bấm phím “Esc“, bấm tiếp “:wq“, bấm tiếp phím “Enter” để

The “touch” Command on Linux

07/09/2017 Nosomovo 0

The touch command is the easiest way to create new, empty files. It is also used to change the timestamps (i.e., dates and times of the most recent access and modification) on existing files and directories. touch’s syntax is touch [option] file_name(s) When used without any options, touch creates new files for any file names that are provided

Cấu hình mạng trên CentOs

07/09/2017 Nosomovo 0

1. Tổng quan: – Môi trường thực hiện CentOs 6.6 2. Cài đặt: – Chỉnh sửa cấu hình mạng trong file:  “/etc/sysconfig/network-scripts/ifcfg-eth0“, thực hiện lệnh: vi /etc/sysconfig/network-scripts/ifcfg-eth0 – Ví dụ cấu hình với nội dung như sau: ONBOOT=yes NM_CONTROLLED=yes BOOTPROTO=static –Đặt Ip tĩnh IPADDR=10.0.1.100 –Địa chỉ Ip muốn đặt NETMASK=255.255.255.0

Cài đặt Mysql trên CentOs

07/09/2017 Nosomovo 0

1. Tổng quan: – Môi trường thực hiện: CentOs 6.6 – Cài đặt Mysql – Đặt mật khẩu cho tài khoản root – Khởi động Mysql cùng hệ thống 2. Cài đặt – Chạy lệnh cài đặt: yum install mysql mysql-server – Sau khi cài xong, chạy lệnh bên dưới

How to use htaccess to secure, manage and optimise your website

06/09/2017 Nosomovo 0

Introduction Craig Parker our resident SEO Expert has put together a detailed document on using htaccess to how to manipulate htaccess to help secure and manage your site. Craig discusses the three major uses for htaccess, security, redirects and optimisation and gives you the code examples to implement them on

Khắc phục lỗi HRESULT 0xc8000222 khi cài Net Framework 4.0 trên Windows 7

06/09/2017 Nosomovo 0

Khi cài đặt Net Framework 4.0 trên windows 7 tôi bị dính lỗi “HRESULT 0xc8000222“. Nguyên nhân xuất hiện lỗi “HRESULT 0xc8000222” khi cài Net Framewok 4.0 là do dịch vụ Update của Windows 7 bị lỗi. Cách khắc phục: Mở hội thoại run gõ: cmd rồi bấm phím Enter. Trong cửa sổ cmd gõ: Net stop WuAuServ (để tắt dịch vụ update của