Articles in the Linux tips Category

IP blocked by APF firewall(Advanced Policy Firewall)
Posted in Linux tips on 3 June 2008

To remove IP blocked by firewall when you use APF, just follow this steps.
1. Open console
2. Type pico /etc/apf/deny_hosts.rules
3. Remove IP block by press “CTRL+K”
4. Type apf -r to restart firewall
Thats all.
Popularity: 2% [?]
Tags: apf, firewall

Popularity: 2% [?]

Address already in use: make_sock:
Posted in Linux tips on 26 April 2008

Currently 1 of the server under my monitoring is down. I check it and found that the httpd service cannot be started.
When i try to restart the service, it give me the following error:
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
I ran this command [...]

Popularity: 75% [?]

Setting root password for ubuntu
Posted in Linux tips on 23 April 2008

When the first time you installed Ubuntu, there is no password for root account. You have to set it first for a security reason.
You must type “sudo passwd”
hostmaster@hostmaster-desktop:~$ sudo passwd
[sudo] password for hostmaster:
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
To login as root, type “su”
hostmaster@hostmaster-desktop:~$ su
Password:
root@hostmaster-desktop:/home/hostmaster#
The “#” indicate that you are login as [...]

Popularity: 17% [?]

ssh to remote server using custom port
Posted in Linux tips on 5 March 2008

It is so easy for you to connect to remote server via console and use ssh.
This command use custom port:
ssh -p 6298 root@128.128.158.128
Popularity: 8% [?]
Tags: command, remote, root, Server

Popularity: 8% [?]

Linux Commands Line
Posted in Linux tips on 13 January 2008

The most complete and updated list of commands on linux - over 350 commands divided into arguments!
read more | digg story
Popularity: 3% [?]
Tags: command, digg, GUI, Linux, nix, UNIX, X

Popularity: 3% [?]