Alexandros Theofilou

IT Business Consultant
  • Home
  • About
  • Portfolio
  • Services
  • Blog
  • Contacts
Home
govath
govath
Page 2

how to change date on linux

Posted on August 20, 2013 by govath
Open your terminal gnome-terminal Type date for show the current date and time date Tue Apr 12 Mon Mar 16:00:00 GMT 2011 To change the date type some think like below date 041218002013 In details is sudo date 04 (Month) 12 (Day) 1800 (Time in 24hour) 2013 (Year)
Read More
Posted in Linux

How to add a service on Linux using chkconfig

Posted on June 5, 2012 by govath
Add a service to  auto start in linux Add the below #comment lines on top of the script which always located /etc/init.d/ #chkconfig: 2345 20 80 #description: Saves and restores system 2,3,4,5 are starting levels 20 startup priority 80 stop priority causes the line to be continued Finally add services to  “autostart” chkconfig –add service1
Read More
Posted in Linux

Change 404 Page on Apache – Linux

Posted on March 29, 2012 by govath
Use the ErrorDocument directive in your conf file to set a custom error message. The easiest way to do this: Create a file with your custom error message. Save it in: vim /var/www/not_found.html  Edit  vim /etc/apache2/httpd.conf : Find the line that says: #ErrorDocument 404 /not_found.html Remove the leading “#”. ErrorDocument 404 /not_found.html Save.  Restart apache.
Read More
Posted in Linux

Sendmail Masquerading

Posted on February 2, 2012 by govath
After install sendmail .. follow the below procedure to simply avoid your emails to get spammed. Also avoid email address to shown as root@example.domain.com with masquerading. This feature allows multiple hosts to send mail from the same domain name. Configure sendmail.mc file. # vim/etc/mail/sendmail.mc and at the bottom of the file you will find :
Read More
Posted in Linux

Disable Suspend and Hibernate – Ubuntu

Posted on December 8, 2011 by govath
Open a Terminal from Applications>Accessories>Terminal. Become a root with su – or sudo su – vim /usr/share/polkit-1/actions/org.debian.aptxapianindex.policy Find the lines: <allow_active>yes</allow_active> Change this entry from “yes” to “no” to disable hibernate/suspend. <allow_active>no</allow_active>
Read More
Posted in Linux

Pages:

« 1 2 3 4 … 20 »
  • Facebook
  • LinkedIn
  • Google+
Alexandros Theofilou © 2019.   Privacy Policy