Đ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ê ]
Jul 5

In August 2010 I was contracted to performance tune a LAMP server  to handle approximately 70 full page loads per second which equated to  4,250 concurrent virtual users.  We ended up doubling this expectation  to 140 full page loads per second without striking issue.  If this speed  was maintained for 24 hours it would equate to over 12 million hits per  day.  This article will let you know how we achieved it.

Mar 30

i foobar’d a fedora 4 machine a couple of days ago and when i went to  mount the disk into another machine i get this beautiful error:

mount: unknown filesystem type 'LVM2_member'

here was the syntax used:

termcb:~ # mount /dev/hda2 /mnt/old/
mount: unknown filesystem type 'LVM2_member'

and here was the drive :

Oct 1

Q. How can I import a  MySQL dumpfile into my database? My old hosting provider gave me  data.sql file. I do have access via ssh to server. I'm using CentOS  Linux 5 server.

A. You can easily restore  or import MySQL data with mysql command itself. First you need to login  to your system using ssh  or putty (from Windows based system). For example:

Jul 31
Đâ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: , ,
Jul 29
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:
Jul 1

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.

Jun 24
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):
Jun 24

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.

Jun 23
          

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

Jun 23
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: ,
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ê ]