Categories
How-To

How do you ssh into a Linux

I know there is one person out there that may not know this, so I will share. You you ask, how does one log into a remote Linux (UNIX) system using SSH.  Well the answer is simple. If you are on a Linux (UNIX) system, open your terminal and use the following command: ssh userid@server-ip (1.2.3.4) […]

Categories
How-To

How-To Change Linux Password

So you are now the new Linux user and during the install you set a password, but now you have a need to change it.   If you run a headless sever (no desktop) you may be interested in this little bit of info. You can use the passwd command to change your password, and, […]

Categories
How-To

Increase Upload Size – PHP.INI file

For a friend of a friend… Add the Following to the php.ini File You may increase the file size limits by modifying the upload size. Use our friend find and edit the following (nano): ./etc/php5/cli/php.ini ./etc/php5/apache2/php.ini Then look for the following (in nano “W” is our friend) memory_limit = 128M upload_max_filesize = 2M post_max_size = […]

Categories
Software

fdupes

To remove all but the first of a number of duplicate files in a subfolder on Linux, use: yes 1|fdupes -rd <folder>   Fdupes Examples 1) fdupes -r ./stuff > dupes.txt Then, deleting the duplicates was as easy as checking dupes.txt and deleting the offending directories. fdupes also can prompt you to delete the duplicates […]

Categories
Technical

Monitor disk i/o in linux

Wondering how much disk i/o is taking place on my linux server (Ubuntu). I decided it was time to install some tools to help me out. Here is what i am using: iostat iostat makes a snapshot of each available physical volume, and shows the current reads and writes of the volumes. dstat dstat is […]

Categories
How-To Technical

How to install LAMP server in Ubuntu

LAMP which stands for Linux, Apache, MySQL and PHP and serves the purpose of web development based on Open Source concept. Apache is the Web server, MySQL is the relational database and PHP (Preprocessor Hyper Text) is an object oriented programming language. The simplest and most likely to be used approach is to use the […]