add user and change location
cat /etc/passwd useradd -M username finger username usermod -m -d /home/domainname/public_html username passwd username...
Continue reading ...cat /etc/passwd useradd -M username finger username usermod -m -d /home/domainname/public_html username passwd username...
Continue reading ...ERROR: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) solution: You need to install the server package: [php]sudo yum install mysql-server[/php] After installation, you have to start the service: [php]sudo service mysqld start[/php] and don...
Continue reading ...[php]ssh-keygen ssh-copy-id hostname[/php] You run the first command once to set up your public/private key pair and then you run the second command once for each host you want to connect to. [php]note: if non standard port use this "ssh-copy-id "user@host -p 31337"[/php] now you h...
Continue reading ...list of free DNS that you can use, Google Public DNS Primary server: 8.8.8.8 Secondary server: 8.8.4.4 Google operates the world's largest public DNS service. Launched in December 2009, it supports many billions of DNS queries per day, much of the volume generated from clients outside the U.S. T...
Continue reading ...This guide describes how to upgrade the standard PHP 5.1.x packages in CentOS 5.x 32-bit to the current development versions 5.2.x. These instructions were created using CentOS 5.3 32-bit and with the following PHP packages installed: [php]# rpm -qa |grep php php-common-5.1.6-15.el5.i386 php-cl...
Continue reading ...[_remote_ip] This tag will be replaced by the sender’s client IP address. [_url] This tag will be replaced by the URL of the contact form. [_date] This tag will be replaced by the date of the submission. [_time] This tag will be replaced by the time of the submission. [_post_id] This tag will ...
Continue reading ...You might come across an application called Remote Desktop Viewer. This will happily connect between Ubuntu machines and computers running VNC servers. But it doesn't do RDP (Remote desktop protocol) which you need to connect to Windows. What you need is the rdesktop command line utility From what...
Continue reading ...Tor implements a form of onion routing to, basically, push encrypted data through multiple Tor nodes (servers), before it reaches the final destination (e.g. a website). The result is that neither the website owner, nor a local eavesdropper, nor any single Tor server knows who requested that specif...
Continue reading ...Introduction to SSL: Secure Sockets Layer (SSL) is the most widely known protocol that offers privacy and good reliability for client-server communication over the Internet. SSL itself is conceptually quite simple: it negotiates the cryptography algorithms and keys between two sides of a communicat...
Continue reading ...When malicious intruders compromise a web server, there’s an excellent chance a famous Russian PHP script, r57shell and c99shell variant, will follow. The r57shell PHP script gives the intruder a number of capabilities, including, but not limited to: downloading files, uploading files, creating ba...
Continue reading ...