/var/net/sys/admin/blog

HP-UX tutorial on a Linux website? why not…

To take a break, I decided to post a tutorial here on Creating and Extending LV on HP-UX. It’s better for me to post it here so it will serve my guide once I get my hands again on HP-UX servers. This is the one I used when my colleague asked me  to check if I can find a way to increase the Filesystem  of these servers.  Here it is:

To create the LV on HP-UX server

Share

My webhosting company have to do emergency migration to the new server with still no definite reasons and all my hyperlinks are all messed up. It seems my mysql DB was not properly migrated and web site traffic logs are not restored as well. My web traffic dropped significantly 🙁

The hosting need to point my site to the old server and still waiting for their permanent solution on this, or might as well change another hosting serve… too bad..I’m very disappointed

Sorry for the inconvenience …

Share

10th day of the 10th month in 10th year, Ubuntu released 10.10 , a perfect date to denotes geekiness  at its best 1010101010 🙂 Kidding aside, here’s the excerpt

Coming from the Meerkat department
Some time ago a group of hyper-intelligent pan dimensional beings decided to finally answer the great question of Life, The Universe and Everything. To this end, a small band of these Debians built an incredibly powerful distribution, Ubuntu. After this great computer programme had run (a very quick 3 million minutes…or 6 years) the answer was announced. The Ultimate answer to Life, the Universe and
Everything is…42, and in its’ purest form 101010. Which suggests that what you really need to know is ‘What was the Question?’. The great distribution kindly pointed out that what the problem really was that no-one knew the question. Accordingly, the distribution designed a set of successors, marked by a circle of friends…to ultimately bring Unity to all things living…Ubuntu 10.10, to find the question to the ultimate answer.

Share

As posted on LinuxMint Official website:

The team is proud to announce the release of Linux Mint 9 “Isadora”. Linux Mint 9 “Isadora” New features at a glance: New Software Manager 30,000 packages Review applications straight from the Software Manager APT daemon Visual improvements New Backup Tool Incremental backups, compression, integrity checks Backup/Restoration of the software selection Menu improvements Editable items Transparent menu Always start with favorites “Add to”…

http://www.linuxmint.com/blog/?p=1403

personal comment:

Share

Snort® is an open source network intrusion prevention and detection system (IDS/IPS) developed by Sourcefire.

Other definitions:
– Barnyard is an output system for Snort. Snort creates a special binary output format called unified. Barnyard reads this file, and then resends the data to a database backend. Unlike the database output plug-in, Barnyard manages the sending of events to the database and stores them when the database temporarily cannot accept connections.

BASE is the Basic Analysis and Security Engine. It is based on the code from the Analysis Console for Intrusion Databases (ACID) project. This application provides a web front-end to query and analyze the alerts coming from a SNORT IDS system.

Share

Relaying to Gmail via smtp.gmail.com can be accomplished by configuring your Postfix with SASL authentication and TLS encryption.

The common errors you will encounter if sending from your postfix mail server failing to gmail.com domain but works in other domains are:

@/var/log/maillog
-Must issue a STARTTLS command first
-certificate verification failed for gmail.com:unable to get local issuer certificate
-Authentication Required. Learn more at 530 5.5.1 http://mail.google.com/support/bin/answer.py?

How to fix?

Assuming you already installed Postfix and everything works fine except sending to gmail smtps, here are the steps to follow:

1. Configure Postfix main configuration

Share

The next big version of Ubuntu Linux OS has now arrived and if offers new exciting features for users like quicker boot speed on almost any machine, along with a social networking-oriented ” Me Menu”,Ubuntu Software Centre 2.0 for easier access to new software, and a slew of new cloud-based services courtesy of Ubuntu One — not to mention the Ubuntu One music store.
Ready for the ride. To see the technical overview, read more to ubuntu.com

Share

I.Configure Master

1. edit /etc/mysql/my.cnf. We have to enable networking for MySQL,

I.Configure Master

1. edit /etc/mysql/my.cnf. We have to enable networking for MySQL,

#skip-networking

2. Add the following line to the my.cnf

server-id = 1
log-bin=/storage/lun0/db/mysql/FLTVM01-bin

3. restart mysql
#service mysqld restart

4.     log into the MySQL database as root and create a user with replication privileges:

#mysql -u root -p
mysql> GRANT REPLICATION SLAVE ON *.* TO ‘slaveuser’@’%’ IDENTIFIED BY ‘<some_password>’; (Replace <some_password> with a real password!)
mysql>FLUSH PRIVILEGES;

Share

If you have multiple virtual hosts in your server and you specified different log files for each, it is more organized and easy to locate, but the downside is Linux has so called file descriptors or the number of files that it can be handle. Basically , it can be increased but I think it’s not really recommended just for the sake of it.
Making your apache logs more organized can be done by many ways, one way is via piped logging and use rotatelogs. And based on my tips before named Automatic unlimited subdomains via Apache mod_rewrite, one issue is the log files. But there’s one method to solve this, and this is by splitting up your log files.

Share

INTRODUCTION

Data backup is the process of making copies of data in order to protect and restore original files whenever data loss happens. Aside from automated routine data backup, this method does not protect against failure and natural disasters. This is where off-site data backup comes in.

OBJECTIVE

To establish an off-site backup of important data such as website and configuration files, and database, by copying and burning it to a removable media via DVD.

Sample Scenario:

We need to backup the webserver files and database, and burn it on DVD disc.

PRE-BACKUP PROCEDURES:

Share
 

About FLT

This site is dedicated to everyone who likes to learn and explore the beautiful world of Linux. If you have comments and suggestions, please feel free to email at freelinuxtutorials@gmail.com. I am happy to serve and share things esp. that is free and enjoyable as Linux.