Friday, November 26, 2010

Tpo 100 Książki



Data is stored in / var / lib / mysql within this directory is the database we have, seen in folders, to support: 1. Compressed hot backup 1.1 Create a folder where the backups were created

# mkdir / home / backups

1.2 launch # tar-zcpf / home / backup / mysql.tar.gz / var / lib / mysql Here we have a backup of all databases To check run the following to unzip the file mysql.tar.gz # tar-zxvf mysql.tar.gz

2. Hot backup with mysqldump sql 2.1 execute the following statement # mysqldump-u root-pclave base_datos> / home / backup / nombre_respaldo.sql 3. We above done by a command. sh create low 3.1 # cd / etc / init.d # nano respaldomysql.sh 3.2 enter two lines in the file and save

tar-zcpf / home / backup / mysql.tar . gz / var / lib / mysql

mysqldump-u root-pclave base_datos> / home / backup / nombre_respaldo.sql 3.3 Changes the permissions # chmod + x respaldomysql.sh 3.4 We ran with # / etc / init. d / respaldomysql.sh 4. Now as the OSCI of each day is greater than that of Monday, we leave it as a task to run automatically using cron execute

# 4.1 crontab-e

4.2

We put in the file 01 01 * * * / etc / init.d / respaldomysql.sh> / dev / null 2> / dev / null Save and 4.3

ready

cron
The parameters are: Minutes (0 - 59) Month (1 - 12)
Day of week (0 - 6 0 = Sunday)
path to the script or program you want to run
In section 4.2 for example is the backup to 1:01 am on all days, weeks and months


Monday, November 15, 2010

Are You My Mother Book Planning Ideas For Baby

Data Backup Thunderbird in linux mysql


Installation








sudo apt-get install thunderbird




















To put it in English



sudo apt-get install thunderbird-locale-en-

Thursday, November 11, 2010

Does Any Where Do Online Layaways

10.04 Creation of. war without

addition to the Deployment Wizard that offers Genexus, there are other ways to upload the application to our server, this is a more and is to create the. war from the webapps folder where this application.
1. Apply the model and F5 Genexus check that everything is running well
2. Go to the tomcat folder should lodge the application on the local server and entered in webapps.
3. Right click and compress it to have it as. Zip
4. Then they realize we have a file compression similar to this
5. Rename the application, the command is rename, rename ejm aplicacion.zip aplicacion.war 6. Here I have a problem and it does not work if you unfold this. War is that in the root. War and I have a folder inside this folder is META-INF and WEB-INF static, what I do is cut files in the folder and paste in the root of . War.
7. Deploy the. War with the tomcat manager. 8. The application here
here and put

), this file is in / tomcat / webapps / application / WEB-INF.
web.xml also to modify the duration of the session, is in the same location as above.


Tuesday, November 9, 2010

Japan Groping In Train

Install Firewall deployment wizard "Arno-iptables-firewall" Don Mendoza

Source Adapted
centos,
comes from the installation guide for Debian

# yum install arno-iptables-firewall
Reading package lists ... Done Building dependency tree ... Done
Reading extended state information

Initializing package states ... Done
Reading task descriptions ... Done
Building tag database ... Done
automatically be installed following NEW packages

following packages will be installed NEW:

arno-iptables-firewall gawk

0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.

need to download file 792kb. After unpacking 2511kB will be used.
you want to continue? [Y / n /?]
and

writing extended state information ... Des
fact: 1 http://ftp.rediris.es etch / main gawk 1:3.1.5. Dfsg-4 [694kb]
Des: 2 http://ftp.rediris.es etch / main arno-iptables-firewall 1.8.8.c-1 [97.7 kB] Downloaded
792kb in 44s (17.8 kB / s).
2. Once installed, the following window will appear that asks if you want to configure the package with debconf.


ANSWER: yes
[ENTER]

3. In the next window we specify the network interface through which we access. As I connect through a modem / router and I have only one network card, the interface is "eth 0 ."

ANSWER: eth0
[ENTER]


4. Now we specify that we need to have TCP ports open on our firewall.
EXAMPLE:
- Amule: Open ports TCP 4661, UDP 4664 - SSH server: open port 22 NOTE:
our router's firewall must also open these ports.


A:
4661 22 [ENTER]

5. We ask that we want to open UDP ports:
A: 4664 [ENTER]


6.
The following window should only set it in case we have multiple network cards (eth0, eth1 ...) and one of them is set to our local network to which we allow any connection to our team.






A: dejar_en_blanco [ENTER]
7.
Finally we started our firewall.



ANSWER: yes
[ENTER]
Writing extended state information ... Done

configure packages ... Selecting
package arno-iptables-firewall previously selected.

(Reading database ...
88957 files and directories currently installed.) Unpacking
arno-iptables-firewall (from .../arno-iptables-firewall_1.8.8.c-1_all . deb) ... Configuring
arno-iptables-firewall (1.8.8.c-1) ...

Arno's Iptables Firewall Script v1.8.8c

----------------------------------- --------------------------------------------
Passed Sanity checks ... OK
Detected IPTABLES module ... Additional Loading IPTABLES modules: All
IPTABLES modules loaded!

Configuring /proc/.... settings:
Enabling anti-spoof with rp_filter
Enabling SYN-flood protection via SYN-cookies
Disabling the logging of martians
Disabling the acception of ICMP-redirect messages
Setting the max. amount of simultaneous connections to 16384
Enabling protection against source routed packets
Setting default conntrack timeouts
Enabling reduction of the DoS'ing ability
Setting Default TTL=64
Disabling ECN (Explicit Congestion Notification)
Enabling support for dynamic IP's
Flushing route table
/proc/ setup done...
Flushing rules in the filter table
Setting default (secure) policies
Using loglevel "info" for syslogd

Setting up firewall rules:
-------------------------------------------------------------------------------
Accepting packets from the local loopback device
Enabling setting the maximum packet size via MSS
Enabling mangling TOS
Logging of stealth scans (nmap probes etc.) enabled
Logging of packets with bad TCP-flags enabled
Logging of INVALID packets disabled
Logging of fragmented packets enabled
Logging of access from reserved addresses enabled
Setting up anti-spoof rules
Reading custom IPTABLES rules from /etc/arno-iptables-firewall/custom-rules
Loading (user) plugins
Setting up INPUT policy for the external net (INET):
Enabling support for a DHCP assigned IP on external interface(s): eth0
Logging of explicitly blocked hosts enabled
Logging of denied local output connections enabled
Packets will NOT be checked for private source addresses
Allowing the whole world to connect to TCP port(s): 4661 22
Allowing the whole world to connect to UDP port(s): 4664
Denying the whole world to send ICMP-requests(ping)
Logging of dropped ICMP-request(ping) packets enabled
Logging of dropped other ICMP packets enabled
Logging of possible stealth scans enabled
Logging of (other) connection attempts to PRIVILEGED TCP ports enabled
Logging of (other) connection attempts to PRIVILEGED UDP ports enabled
Logging of (other) connection Attempts to TCP ports enabled UNPRIVILEGED
Logging of (other) connection Attempts to UNPRIVILEGED UDP ports enabled Logging of
Other IP protocols (non TCP / UDP / ICMP) connection Attempts
enabled Logging of ICMP flooding enabled
Applying INET policy to external (INET) interface: eth0 (without an external subnet Specified)
Security is ENFORCED for external interface (s) in the FORWARD chain
23:36:20
April 1902 Applied All firewall rules .
We'll have our firewall configured.
We re-run the firewall configuration to following command: #
dpkg-reconfigure arno-iptables-firewall
If we want to temporarily disable the firewall: # / etc / init.d / arno-iptables-firewall stop
To enable it again :
# / etc / init.d / arno-iptables-firewall start
With package # tar-zxvf arno-iptables-firewall_1.9.2m.tar.gz
# cd arno-iptables-firewall_1.9.2m # cd arno-iptables-firewall_1.9.2m # iptables-L-n
# / etc / init.d / arno-iptables-firewall start