Đang nghiền ngẫm cái này
Phân trang: 1/7 Trang đầu 1 2 3 4 5 6 7 Trang sau Trang cuối [ Kiểu hiển thị: Trích dẫn | Liệt kê ]
Đây là một bài viết dành cho một sự khác thường mà tớ cũng không hiểu nổi. Chả là mới cài một em CentOS/cPanel lên. Rõ ràng lúc cài mình đã disable cái IPv6 nhưng không hiểu sao đến lúc CSF check thì thấy IPv6 vẫn đang chạy. Thế thì phải tắt thôi.

Bạn có thể dễ dàng làm điều này bằng cách thay đổi 2 file:
  1. /etc/modprobe.conf - File cấu hình driver Kernel.
  2. /etc/sysconfig/network - File cấu hình mạng trên RHEL / CentOS.
Tags: , , Bookmark and Share
Installing VMWare Tools for ESXi Server on a RHEL 5 / Centos 5 Guest - Cài đặt VMWare Tool trên máy chủ RHEL 5/CentOS chạy ESXi

VMWare has a yum repository for vmware tools related rpms. Before we do the vmware tools installation we need to define this repository on our server.

Let’s start with importing the public key for the vmware packages.

Tags: Bookmark and Share

Linux Shutdown Command and Logfile

[Không rõ 01 July 2010 16:59 | by hrockvn ]

In the  enterprise Linux network, it is necessary to keep track of  server shutdown and reboot time. Most of you may have used the shutdown /  reboot command.

 

Show listing of last reboot / shutdown date and time

 

last command  searches  back  through the file  /var/log/wtmp (or the file designated by the -f flag) and displays a  list of all users logged in (and out) since that file was  created.  The  pseudo user reboot logs in each time the system is rebooted.  Thus last  reboot will show a log of all reboots since the log file was created.

Performing tasks via SSH is a lot easier most of the time than having to  waste time logging in through that big fat clunky web interface and  messing around with all the noob friendly half arsed validation  procedures, etc…

Here is how to package up and restore a cPanel  account from the command line.

Step 1.  Login to the server via  SSH:

    
Trích dẫn
root@server [~]#


Step 2.  Type the following  command (replace USERNAME with the accounts username):

Change bandwidth exeeded page style

[Không rõ 24 June 2010 10:49 | by hrockvn ]

In this tutorial you will learn how to modify the Cpanel bandwidth  exceeded page. This page is shown for clients automatically when they  run out of bandwidth. Bandwidth counts are reset every month.

Step 1: Login to the server as root in SSH.

          

How to  install Zend Optimizer on a cPanel server?

cPanel offers ‘phpextensionmgr’  script through which you can install various extensions. To list  the available PHP extensions, execute the command as root

root@LHS  [~]# /scripts/phpextensionmgr list
Available Extensions:
EAccelerator
IonCubeLoader
Zendopt
SourceGuardian
PHPSuHosin

When Apache is compiled as CGI/SuPHP, it allows users to create their own php.ini file under their home directory and modify the php values as per their wish. This may increase security concerns on the server and hence to protect/secure php.ini in SuPHP enabled servers, force every user to use a common php.ini file.

This can be achieved by defining the path of php.ini using suPHP_ConfigPath. To force users to use existing server side php.ini file, create suphp_configpath.conf
Tags: , Bookmark and Share


Canonical hôm nay đã công bố link tải về phiên bản thử nghiệm đầu tiên 10.10 alpha của hệ điều hành Linux nổi tiếng – Ubuntu. Đây là phiên bản tiếp theo của Lucid Lynx, có tên mã Maverick Meerkat.

Tags: , Bookmark and Share

Check / List Running Services

[Không rõ 20 April 2010 14:02 | by hrockvn ]
Q. How do I list all currently running services in Fedora / RHEL / CentOS Linux server?

A. There are various ways and tools to find and list all running services under Fedora / RHEL / CentOS Linux systems.

service command - list running services

service --status-all
service --status-all | grep ntpd
service --status-all | less

50 câu lệnh Linux phải nhớ

[Không rõ 08 April 2010 00:43 | by hrockvn ]
  1. clear: làm sạch cửa sổ dòng lệnh
  2. ls tenthumuc:      Liệt kê nội dung bên trong một thư mục
  3. cat tentaptin:      Hiển thị nội dung của một tập tin lên cửa sổ dòng lệnh
  4. rm tentaptin:      Xóa một tập tin
  5. cp taptinnguon taptindich: Sao chép một tập tin
  6. passwd: Đổi mật khẩu
  7. motd:      Thông điệp của ngày
Phân trang: 1/7 Trang đầu 1 2 3 4 5 6 7 Trang sau Trang cuối [ Kiểu hiển thị: Trích dẫn | Liệt kê ]