You should be a bit more precise describing you pb.
You can ping from outside but neither access apache nor ssh.
Probably this services are not installed/running.
Log in from console and check out :
- Code: Select all
sabayon ~ # rc-config list | egrep 'apa|ssh'
apache2
sshd default
* It will show you if apache/ssh are started
You can check if they are installed :
- Code: Select all
sabayon ~ equo search net-misc/openssh www-servers/apache-2
>> @@ Searching...
>> @@ Package: net-misc/openssh-6.1_p1 branch: 5, [sabayonlinux.org]
>> Available: version: 6.1_p1 ~ tag: NoTag ~ revision: 0
>> Installed: version: 6.1_p1 ~ tag: NoTag ~ revision: 0
>> Slot: 0
>> Homepage: http://www.openssh.org/
>> Description: Port of OpenBSD's free SSH release
>> License: BSD
>> @@ Package: www-servers/apache-2.2.23 branch: 5, [sabayonlinux.org]
>> Available: version: 2.2.23 ~ tag: NoTag ~ revision: 1
>> Installed: version: 2.2.23 ~ tag: NoTag ~ revision: 1
>> Slot: 2
>> Homepage: http://httpd.apache.org/
>> Description: The Apache Web Server.
>> License: Apache-1.1 Apache-2.0
>> @@ Package: www-servers/apache-2.2.23#worker branch: 5, [sabayonlinux.org]
>> Available: version: 2.2.23 ~ tag: worker ~ revision: 0
>> Installed: version: 2.2.23 ~ tag: NoTag ~ revision: 1
>> Slot: 2
>> Homepage: http://httpd.apache.org/
>> Description: The Apache Web Server.
>> License: Apache-1.1 Apache-2.0
If they are not install them and run then (change boot startup as well see rc-config).
System commands are same than gentoo (apart package manager entropy) you can check gentoo doc for sysadm.
If you dont have access to phys server it is too bad you can use telnet or nmap to check open ports.