If you have a web server it is not necessary to have a FTP server but have users SFTP. The problem next arises is to restrict users to their respective www directories and below are the steps to restrict users. #Create a group for SFTP $groupadd sftpwww #Create a user $useradd john9 #Add user to … [Read more…]
While installing Squirrel mail and encounter the error “Error opening ../data/default_pref” then go to /config/config.php to alter the below lines $data_dir = ‘/var/local/squirrelmail/data/’; to $data_dir = ‘C:\wamp\www\squirrel\data’; (which happens to be my wamp path for squirrel)
If you need to quickly generate a quick monthly calendar from the command line, just type in cal [number of the month] [year] Man Page for “CAL” DESCRIPTION cal displays a simple calendar. If no arguments are specified, the current month is displayed. OPTIONS -1, –one Display single month output. (This is … [Read more…]
Set Up / Install sudo apt-get install nginx Create a New Directory under /var/www/html sudo mkdir -p /var/www/html/MyDomain.com/ Create a New INDEX.html under /var/www/html sudo vi /var/www/html/MyDomain.com/index.html Create the default INDEX.html page <html> <head> <title>www.MyDomain.com</title> </head> <body> <h1>This is your first virtual host</h1> </body> </html> Create the New Virtual Host File sudo cp … [Read more…]
You would have typed in [root@server ~ ]# history and got a list of commands typed in at the command prompt. Here is a way to get the time, date of history command. $ HISTTIMEFORMAT=”%d/%m/%y %T “ OR $ echo ‘export HISTTIMEFORMAT=”%d/%m/%y %T “‘ >> ~/.bash_profile Where, %d – Day %m – Month … [Read more…]
Not when, but who would turn the quad-core mobile device into a computer and the winner turned out to be ubuntu. There are currently 4 mobile OS 1. Windows 2. iOS 3. BB 4. Android and now a 5th one Ubuntu. Basically all you require are 1. Docking port with HDMI support … [Read more…]
Switched on my computer and it gave me an CMOS battery error. Though windows run on CMOS error but linux is a little different. In Linux the system crashes. I have tried fsck, it says everything is okay but almost any other commands ends up in error messages such as 1. Locked 2. **ERROR**: This … [Read more…]
There are unconfirmed reports that Linus the creator of the Linux kernel has quit Linux. In his words he said that linux had some great and fantastic years and Linux will never better than Microsoft Operating system.
Mass edited all photos quickly and easily using “Image Magic” program in terminal (Aka command prompt) sudo apt-get install imagemagick Copy all photos into a folder , and resized them by this command: mogrify -resize 65% *.jpg Then add the watermark to all of photos using this command : mogrify -font /usr/share/fonts/truetype/msttcorefonts/Arial_Black.ttf pointsize 22 -verbose … [Read more…]
GoDaddy Servers were down at 10 AM GMT. None could access their Website Godaddy.com or any hosted websites.