If you regularly work with scripts on any Unix or Linux platform and it gets killed when you logout from ssh, the session dies or the scripts stops working after x time then you need to deown it and fork it to the background.
So instead of running
/your/script/filename
run
nohup /your/script/filename &
What this does is start the script, the nohup deowns the scripts (meaning that it has no owner so you can logout without ... More
January 13th, 2012
More Posts in:
Support of the day
|
|
|
So, you've installed Ubuntu 11.10 and found out that it's all gone and replaced by what seems to be too good of a qualificative of a sidebar and what appears to be a poignant attempt to kill all interest on an open source Operating System. Fear not as we can still make the best of it.
Ubuntu had a very easy, kind interface since the times of 7.04, about 4 years ago, menu on the top, bar on the ... More
January 10th, 2012
More Posts in:
Support of the day
|
|
|
This week’s tip: SSH Keys (or i do not like typing my long cryptic password everytime I need to access my server)
If you’ve been following my other tips you might remember that ssh uses different authentication options, credentials, domain login, password, you name it, one of these is via ssh keys.
Imagine your car. You’re used to use a key to open the door and start the engine once or twice per day. How about if you ... More
December 15th, 2011
More Posts in:
Support of the day
|
|
|
If a downgrade to PHP 5.2 is needed do the following:
1. The repositories for Centos 6 do not include old packages (another reason to stick with 5.6) so we need to pull all packages needed.
Therefore we access the server, create a folder there (mkdir php) and then enter that folder (cd php)
2. Once inside we need to download all packages needed; One trusted source is this: http://www6.atomicorp.com/channels/atomic/centos/6/x86_64/RPMS/
Once you have opened that on your browser, search for all php- .rpm ... More
December 12th, 2011
More Posts in:
Support of the day
|
|
|
1. Make sure your port 8000 is open
Nano /etc/sysconfig/iptables
Copy any of the rules (ctrl +K is cut, ctrl+U is paste) and swap the port for 8000, save and close
Service iptables restart
2. Go to the folder you want to share
cd /to/any/folder/you/want
3. Fire up the server
python –m SimpleHTTPServer
or
python -m http.server
4. Go to http://yourip:8000
Further information:
This will act as a regular apache server, if on that folder is a index.html file, it will be displayed, otherwise a list ... More
December 5th, 2011
More Posts in:
Support of the day
|
|
|
In this short tutorial we will install WordPress on a Ubuntu 11.04 server. Before you begin you will need to configure and verify network connectivity. You will also need to install the following software:
Apache2
php5
vsftp (or your favorite ftp program)
openssh-server (or your favorite ssh program)
mysql
To begin installing WordPress, first we will download and install the WordPress software: wget http://wordpress.org/latest.tar.gz
Then extract the file: sudo tar -zxvf latest.tar.gz The extracted file is named wordpress.
Now move the wordpress folder into ... More
November 30th, 2011
More Posts in:
Support of the day
|
|
|
If SSH login is very slow in CentOS 6 it’s because they have added another security feature, the SSH server will do a reverse DNS again for any incoming connection, this will delay connection up to 13 seconds, to avoid this:
1. Access the server
2. Edit the ssh config
Nano /etc/ssh/sshd_config
3. Look for use dns and change it to no
Ctrl +w, usedns, enter
Change it from
#useDNS yes
to... More
November 29th, 2011
More Posts in:
Support of the day
|
|
|
Cpanel has a daemon that checks for unsuccessful logins (like lastb on a shell), it is called hulk.
When a user’s user (a customer's client who bought access to the server) has an error regarding bruteforcing and denying access it's because someone was bruteforcing his way in using that user’s username.
To make sure of this, log into the server via ssh then:
1.Run mysql
mysql
2.Connect to hulk’s DB
connect cphulkd
3.Check the times and tries that are logged
select IP, ... More
November 25th, 2011
More Posts in:
Support of the day
|
|
|
Previous Posts
Most Recent Posts
|