Go Back   Linux CentOS, Control Panel, Hot girl, TOP 10 GOOGLE, Server - System - Manager, Operation System, Thiet ke website, Hack war3, hack map, dota hacking > CentOS Việt Nam - Viet Nam Linux CentOS Community > Hỏi đáp về CentOS

Hack map cua war3 version 1.24e - co the chuyen tien
Hack gunz.2it.in mới update ngày 2/3/2010 (test by Admin)
Hướng dẫn Hack gold member tại quán net để mang về nhà
hack map dota cho war3 ver 1.24a, hackmap 1.24b, hack map 1.24c, hack dota 1.24d, hack map war3 1.24e, co the chuyen tien
crack windows 7 all version (using activators)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-07-2008
Hackingart Member
 
Join Date: Jul 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Request: hướng dẫn cài server!

Hi,

Ḿnh mới tập tành cài server, phần cài HDH th́ ḿnh đă cài xong CentOS 5.2
Giờ ḿnh không biết phải làm ǵ bước tiếp theo để chạy domain hoặc làm những ứng dụng khác tưong tự.
Có người bảo cài cpanel, có người bảo install php,mysql,apache rồi cài cpanel sau...
Có ai có kinh nghiệm có thể giúp ḿnh được không?
Hiện tại ḿnh chỉ có quyền ssh root vào serrver.

Thân.
Reply With Quote
  #2 (permalink)  
Old 12-07-2008
Lovelinux's Avatar
Super Moderator
 
Join Date: Jun 2008
Posts: 275
Thanks: 1
Thanked 0 Times in 0 Posts
Thumbs down

Nếu mục đích của bạn là cài đặt - chạy domain th́ có 3 hướng:
1. Hướng thương mại - bạn là hosting - và cho thuê hosting th́ bạn có thể cài Cpanel hoặc DirectAdmin. Hiện server ḿnh đang cài DirectAdmin - giá license cũng rẻ.
Cách cài đặt th́ bạn có thể truy cập vào 2 site này, nó hướng dẫn rất chi tiêt. Yêu cầu khi cài directadmin là 1 hệ điều hành sạch - như bạn vừa cài xong đó
DirectAdmin Web Control Panel
cPanel - The Leading Control Panel

2. Hướng sử dụng: bạn có thể cài đặt webmin (free) để sử dụng.
3. Hướng nghiên cứu: Hăy sử dụng shell để cấu h́nh domain, cài đặt apache, php, mysql từ source.

Vậy bạn muốn đi theo hướng nào?

------------------------------------
Directadmin: ***Please do not install services such as Apache, PHP, MySQL, Ftp, Sendmail, etc., as we will do this for you. All we need is a CLEAN install of your operating system.***

Last edited by Lovelinux; 12-07-2008 at 04:07 AM.
Reply With Quote
  #3 (permalink)  
Old 12-07-2008
Hackingart Member
 
Join Date: Jul 2008
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hihi, gặp lại Lovelinux rùi, ḿnh cũng đang có 1 con server running Centos 5.1 và Directadmin, trước đây ḿnh nhờ đứa em ở Digipower cài giùm ḿnh cái Directadmin, sau đó nó bị lỗi và ḿnh cài đặt lại, nói chung cài đặt mọi thứ cũng tốt, tuy nhiên có 1 vấn đề ḿnh không biết fix như thế nào được, cụ thể như sau :

Ḿnh dùng IP tĩnh của VNN, modem ADSL, khi ḿnh cài DirectAdmin, DA sẽ hỏi ḿnh IP nào dùng, do ḿnh NAT IP ỡ modem ADSL nên ḿnh chỉ có thể chọn IP LAN (192.168.1.100) sau đó th́ ḿnh cài DA b́nh thường, nhưng sau khi xong rồi th́ ở bên ngoài ḿnh ko thể vào IP external được, chỉ vào dc Ip Internal 192.168.1.100:2222 mà thôi, ḿnh đă NAT ỗn các port về máy server rồi, sau đó đứa em của ḿnh vào server chỉnh lại như thế nào đó, và từ đó về sau th́ ở bên ngoài run dc Ip external để quản trị dc, ngại hỏi nó quá, ko biết Lovelinux đă gặp t́nh trạng này bao giờ chưa nhĩ ?
Reply With Quote
  #4 (permalink)  
Old 12-07-2008
Hackingart Member
 
Join Date: Jul 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Lovelinux View Post
Nếu mục đích của bạn là cài đặt - chạy domain th́ có 3 hướng:
1. Hướng thương mại - bạn là hosting - và cho thuê hosting th́ bạn có thể cài Cpanel hoặc DirectAdmin. Hiện server ḿnh đang cài DirectAdmin - giá license cũng rẻ.
Cách cài đặt th́ bạn có thể truy cập vào 2 site này, nó hướng dẫn rất chi tiêt. Yêu cầu khi cài directadmin là 1 hệ điều hành sạch - như bạn vừa cài xong đó
[Thành viên phải đăng kư mới xem được link này. ]
[Thành viên phải đăng kư mới xem được link này. ]

2. Hướng sử dụng: bạn có thể cài đặt webmin (free) để sử dụng.
3. Hướng nghiên cứu: Hăy sử dụng shell để cấu h́nh domain, cài đặt apache, php, mysql từ source.

Vậy bạn muốn đi theo hướng nào?

------------------------------------
Directadmin: ***Please do not install services such as Apache, PHP, MySQL, Ftp, Sendmail, etc., as we will do this for you. All we need is a CLEAN install of your operating system.***
Cảm ơn Lovelinux rất nhiều, HDH ḿnh đang rất sạch v́ mua server chỉ cài CentOS, ḿnh theo ư bạn cài Cpanel v́ ḿnh có ư định share host cho mọi người, mà mục đích chính là ḿnh muốn tiếp cận cách cài server từ a-->z, có ǵ th́ ḿnh sẽ nhờ bạn support tiếp, một lần nữa cảm ơn bạn.
Reply With Quote
  #5 (permalink)  
Old 12-07-2008
Lovelinux's Avatar
Super Moderator
 
Join Date: Jun 2008
Posts: 275
Thanks: 1
Thanked 0 Times in 0 Posts
Wink

Quote:
Originally Posted by thu_6_ngay_13 View Post
Cảm ơn Lovelinux rất nhiều, HDH ḿnh đang rất sạch v́ mua server chỉ cài CentOS, ḿnh theo ư bạn cài Cpanel v́ ḿnh có ư định share host cho mọi người, mà mục đích chính là ḿnh muốn tiếp cận cách cài server từ a-->z, có ǵ th́ ḿnh sẽ nhờ bạn support tiếp, một lần nữa cảm ơn bạn.
@thu_6_ngay_13: Ḿnh sẵn sàng giúp đỡ bạn nếu điều đó nằm trong khả năng!

Quote:
Originally Posted by hoahongtim View Post
Ḿnh dùng IP tĩnh của VNN, modem ADSL, khi ḿnh cài DirectAdmin, DA sẽ hỏi ḿnh IP nào dùng, do ḿnh NAT IP ỡ modem ADSL nên ḿnh chỉ có thể chọn IP LAN (192.168.1.100) sau đó th́ ḿnh cài DA b́nh thường, nhưng sau khi xong rồi th́ ở bên ngoài ḿnh ko thể vào IP external được, chỉ vào dc Ip Internal 192.168.1.100:2222 mà thôi, ḿnh đă NAT ỗn các port về máy server rồi, sau đó đứa em của ḿnh vào server chỉnh lại như thế nào đó, và từ đó về sau th́ ở bên ngoài run dc Ip external để quản trị dc, ngại hỏi nó quá, ko biết Lovelinux đă gặp t́nh trạng này bao giờ chưa nhĩ ?
@hoahongtim:
Tớ chưa gặp t́nh trạng này bao giờ, nhưng tớ đoán khi không vào được DirectAdmin CP th́ có lẽ vấn đề có thể do 3 hướng:
1. NAT port
2. Do IP của modem trên WAN(external IP) không trùng với IP trong license file.
3. Do DA có thể chạy nhiều IP, hoặc giả sử em bạn add thêm 1 IP external chăng?
Đây chỉ là dự đoán - có lẽ tớ cần phải gặp trường hợp đó - th́ sẽ rơ hơn.
Thân!


----------------------------------
DirectAdmin -- Installation
Your server IP must be an external IP address. Local IP addresses (192.168.x.x or 10.0.x.x) will not work. The IP in your network device must be the same IP in your license file, as well as the public IP that connects to our system to download the license and binaries. This means that LANs will not work.

Last edited by Lovelinux; 12-07-2008 at 03:44 PM.
Reply With Quote
  #6 (permalink)  
Old 12-07-2008
Hackingart Member
 
Join Date: Jul 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

+++++ Ḿnh đă buy xong cpanel, nhưng đọc cách install trên trang chủ Cpanel th́ gặp phải vấn đề này:

Quote:
*You also need to make sure that /etc/resolv.conf contains valid nameservers that allow you to resolve domains properly. To test this, try :
dig domain.com@serverip
(replace domain.com with the name of a well known domain and replace serverip with the ip address of a nameserver in /etc/resolv.conf)
* The hostname of this server should be a Fully Qualified Domain Name that will not be used elsewhere on the server. You should never set your hostname to an name that is already used (www, ftp, mail, etc) or to the name of an account on the server ([Thành viên phải đăng kư mới xem được link này. ]). This means that your hostname should never be a domain name and especially not the name of your domain!!
+++ Và ḿnh search google để t́m hiều rơ hơn về cái này th́ gặp phải bài viết này:
Quote:
[2] Checking the host name and network settings :
After your first boot, you must check your system’s host name and network configuration to ensure that they are correct.

To check your system’s host name and network configuration:
- Log on to the system as the root user.
- Type vi /etc/hosts to open the host file and modify the contents.
- Verify that the file is in the following format:

- Verify that the loopback entry (127.0.0.1) appears in the file. A correctly configured file should look like this:

Note : The IP addresses used here are for illustration purposes only; they are not valid values.

Quote:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
10.1.1.1 myhost.mydomain.com myhost



- Modify the file as needed.
- Type :wq to close the file.
- Type vi /etc/sysconfig/network to open the network sysconfig file and modify the contents.
- Verify the host name. A correctly configured file should look like this:

Note : The IP addresses used here are for illustration purposes only; they are not valid values.


Quote:
NETWORKING=yes
HOSTNAME=myserver.mydomain.com
GATEWAY=10.100.0.1



- Modify the file as needed.
- Type :wq to close the file.
- Type vi /etc/sysconfig/network-scripts/ifcfg-eth0 to open the network scripts file and modify the contents.
- Verify that network information. A correctly configured file should look like this:

Note : The IP addresses used here are for illustration purposes only; they are not valid values.


Quote:
DEVICE=eth0
BOOTPROTO=static
BROADCAST=10.1.1.1
IPADDR=10.1.1.1
NETMASK=255.255.0.0
NETWORK=10.1.0.0
ONBOOT=yes

- Modify the file as needed.
- To make these changes active, restart the system by typing:

Quote:
shutdown -r now
Giờ ḿnh không biết phải làm cái bước này trước khi install Cpanel thế nào.
Ví dụ domain ḿnh là abc.com và có 1 ip chính là 111.111.111.110 + 1rang 4ip 111.111.111.111-->111.111.111.114

Ḿnh phải làm ǵ bước config này trước khi install Cpanel?
Cảm ơn bạn rất nhiều!
Reply With Quote
  #7 (permalink)  
Old 12-07-2008
Lovelinux's Avatar
Super Moderator
 
Join Date: Jun 2008
Posts: 275
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Cái này chẳng liên quan ǵ đến IP range cả.
ví dụ: Tớ có cái domain mv2server3.com. Con server này cài CentOS và có 4 địa chỉ IP, nhưng trong file resolv.conf tớ chỉ khai báo 1 địa chỉ 69.50.214.169
Đây là file resolv.conf của tớ:
Code:
cat /etc/resolv.conf
kết quả:
Code:
domain mv2server3.com
search mv2server3.com
nameserver 69.50.214.169
nameserver 202.60.77.162
nameserver 69.50.214.169
những phần bôi đậm là quan trọng - c̣n những cái khác ko là vấn đề!

Chúc cài đặt thành công

Last edited by Lovelinux; 12-07-2008 at 09:14 PM.
Reply With Quote
  #8 (permalink)  
Old 13-07-2008
Hackingart Member
 
Join Date: Jul 2008
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Đúng là ở trang chủ DA có nói đến ko thể setup DA nếu dùng dăi Ip trong LAN, tuy nhiên ḿnh vẫn cài đặt được, lúc đầu ḿnh cũng nghĩ là ko thể cài, nên ḿnh kết nối ISP dạng cầu nối PPPOE, nhưng kết nối ko thành công, sau đó ḿnh chuyển về dạng kết nối ISP thông dụng, ḿnh NAT Port rất ổn, ḿnh open DMZ về máy server luôn, nên ḿnh nghĩ chuyện NAT Port có thể loại bơ qua, c̣n nếu IP ko trùng với DA th́ DA đă ko cho ḿnh setup từ buổi ban đầu rồi! V́ thế ḿnh nghĩ trường hợp add thêm IP Ext là khả thi nhất, tuy nhiên t́m hiểu nhiều bài viết về DA nhưng vẫn chưa t́m ra bài nào hướng dẫn cách add thêm, Lovelinux có thể chỉ ḿnh cách add thêm IP Ext cho DA nhé, ḿnh nghĩ trường hợp này khả thi nhất, cám ơn bạn nhiều !
Reply With Quote
  #9 (permalink)  
Old 13-07-2008
Hackingart Member
 
Join Date: Jul 2008
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ḿnh kiểm tra lại server, ḿnh phát hiện có thể 1 LAN ảo trong này nữa, có lẽ vấn đề của ḿnh nằm trong LAN ảo này, nhờ Lovelinux xem qua nhé.

Quote:
[root@server network-scripts]# ls -al
total 408
drwxr-xr-x 2 root root 4096 Apr 29 22:42 .
drwxr-xr-x 10 root root 4096 Apr 29 16:38 ..
-rw-r--r-- 3 root root 103 Apr 29 21:32 ifcfg-eth0
-rw-r--r-- 3 root root 199 Apr 29 21:32 ifcfg-eth1
-rw-r--r-- 1 root root 159 Apr 29 22:42 ifcfg-eth1:0
-rw-r--r-- 1 root root 254 Jun 21 2001 ifcfg-lo
lrwxrwxrwx 1 root root 20 Apr 29 21:37 ifdown -> ../../../sbin/ifdown
-rwxr-xr-x 1 root root 625 Sep 12 2006 ifdown-bnep
-rwxr-xr-x 1 root root 4421 Jan 5 2007 ifdown-eth
-rwxr-xr-x 1 root root 827 Apr 16 2005 ifdown-ippp
-rwxr-xr-x 1 root root 2159 Sep 12 2006 ifdown-ipsec
-rwxr-xr-x 1 root root 4473 Sep 12 2006 ifdown-ipv6
lrwxrwxrwx 1 root root 11 Apr 29 21:37 ifdown-isdn -> ifdown-ippp
-rwxr-xr-x 1 root root 1481 Sep 12 2006 ifdown-post
-rwxr-xr-x 1 root root 1084 Sep 12 2006 ifdown-ppp
-rwxr-xr-x 1 root root 637 Jul 11 2006 ifdown-routes
-rwxr-xr-x 1 root root 1593 Sep 12 2006 ifdown-sit
-rwxr-xr-x 1 root root 904 Sep 12 2006 ifdown-sl
-rwxr-xr-x 1 root root 1074 Sep 12 2006 ifdown-tunnel
lrwxrwxrwx 1 root root 18 Apr 29 21:37 ifup -> ../../../sbin/ifup
-rwxr-xr-x 1 root root 13427 Sep 12 2006 ifup-aliases
-rwxr-xr-x 1 root root 859 Sep 12 2006 ifup-bnep
-rwxr-xr-x 1 root root 10160 Jun 23 2007 ifup-eth
-rwxr-xr-x 1 root root 11970 Sep 12 2006 ifup-ippp
-rwxr-xr-x 1 root root 6820 Sep 12 2006 ifup-ipsec
-rwxr-xr-x 1 root root 10853 Sep 12 2006 ifup-ipv6
-rwxr-xr-x 1 root root 823 Sep 12 2006 ifup-ipx
lrwxrwxrwx 1 root root 9 Apr 29 21:37 ifup-isdn -> ifup-ippp
-rwxr-xr-x 1 root root 727 Sep 12 2006 ifup-plip
-rwxr-xr-x 1 root root 954 Sep 12 2006 ifup-plusb
-rwxr-xr-x 1 root root 2369 Sep 12 2006 ifup-post
-rwxr-xr-x 1 root root 4253 Sep 12 2006 ifup-ppp
-rwxr-xr-x 1 root root 1707 Jul 24 2006 ifup-routes
-rwxr-xr-x 1 root root 3662 Sep 12 2006 ifup-sit
-rwxr-xr-x 1 root root 1648 Sep 12 2006 ifup-sl
-rwxr-xr-x 1 root root 2078 Sep 12 2006 ifup-tunnel
-rwxr-xr-x 1 root root 3325 Oct 1 2005 ifup-wireless
-rwxr-xr-x 1 root root 5433 Sep 12 2006 init.ipv6-global
-rwxr-xr-x 1 root root 1154 Feb 7 2006 net.hotplug
-rw-r--r-- 1 root root 10392 Jun 23 2007 network-functions
-rw-r--r-- 1 root root 39806 Nov 22 2006 network-functions-ipv6
[root@server network-scripts]# cat ifcfg-eth1:0
# Intel Corporation 82557/8/9 Ethernet Pro 100
DEVICE=eth1:0
BOOTPROTO=static
HWADDR=00:03:47:31:7A:EC
IPADDR=222.253.144.227
NETMASK=255.255.255.0
ONBOOT=yes
[root@server network-scripts]#

Reply With Quote
  #10 (permalink)  
Old 13-07-2008
Hackingart Member
 
Join Date: Jul 2008
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hix, tai nạn nữa rồi, server đang chạy ngon lành, tự dưng ko chịu chạy, ḿnh ping tuử th́ trả về như sau :

Quote:
Reply from 222.253.144.227: Destination host unreachable.
Reply from 222.253.144.227: Destination host unreachable.
Cái này khắc phục làm sao đây bác Lovelinux, hix, nó mà die chắc chết quá ! (
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hướng dẫn cài đặt Linux CentOS trên máy ảo VMWave Lovelinux Cài đặt CentOS và ứng dụng 1 24-07-2008 04:57 AM
Bắt đầu với CD CentOS Single Server Lovelinux Cài đặt CentOS và ứng dụng 0 23-07-2008 04:00 AM
Hướng dẫn cài đặt một số extension cơ bản cho PHP Lovelinux PHP for CentOS 1 22-07-2008 01:27 AM
Tổng Hợp các hướng dẫn về làm forum vBB ninhbinhcraft Diễn đàn VBB 6 20-07-2008 02:13 AM


All times are GMT +8. The time now is 02:20 AM.


© Diễn đàn HackingArt (HA) được xây dựng và phát triển bởi các thành viên.
+ Diễn đàn HackingArt là nơi trao đổi của các webmaster chuyên nghiệp.

Search Engine Friendly URLs by vBSEO 3.2.0