how to install directadmin on lan

Adrenaline

Verified User
Joined
Sep 23, 2015
Messages
38
hi

I've installed the following DirectAdmin:

wget --bind-address=172.31.1.xxx http://www.directadmin.com/index.html
echo 1 > /root/.lan
/sbin/ifconfig

cd /etc/sysconfig/network-scripts
nano ifcfg-eth0:0

DEVICE=eth0:0
BOOTPROTO=none
ONPARENT=yes
IPADDR=78.47.168.xxx
NETMASK=255.255.255.255
ONBOOT=yes

/etc/init.d/network restart

and Install DirectAdmin normally, using the setup.sh


/sbin/ifconfig

but my directadmin is down :

Stopping DirectAdmin: [FAILED]
Starting DirectAdmin: [ OK ]

please help ...
 
hi

I'm having the same problem
1 - i install centos 6.8 with manual network set ip 192.168.1.1
2 - run the commend echo 1 > /root/.lan
3 - from this guide https://help.directadmin.com/item.php?id=418 ===>>> run commend cd /etc/sysconfig/network-scripts
4 - run commend nano eth0:0
5 - insert this coeds

DEVICE=eth0:0
BOOTPROTO=none
ONPARENT=yes
IPADDR=1.2.3.4 for examle external my ip
NETMASK=255.255.255.255
ONBOOT=yes



6 - ctrl + o and enter and ctrl + x
7 - run commend server network restart
8 - run commend ifconfig and output :

eth0 Link encap:Ethernet HWaddr 08:00:27:21:8B:BB
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe21:8bbb/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3222 errors:0 dropped:0 overruns:0 frame:0
TX packets:3061 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:244517 (238.7 KiB) TX bytes:242787 (237.0 KiB)

eth0:0 Link encap:Ethernet HWaddr 08:00:27:21:8B:BB
inet addr:xxx.xxx.xxx.xxx Bcast:xxx.xxx.xxx.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)



Attention eth0:0 external public ip and eth0 local ip private

9 - set 192.168.1.3 to modem router from DMZ Port Forwarding

10 does not use external ip ! just use 192.168.1.3 !


if delete eth0:0 and run commend service network restart external and internal ip use ! but with make eth0:0 and set external ip public to this file and run commend service network restart ! does not use external ip ! just use 192.168.1.3 ( local private ip ) !

 
Back
Top