Quantcast
Channel: JOMLINUX » Uncategorized
Browsing all 10 articles
Browse latest View live

MySQLRebuildAndOptimiseIndexCron

MySQL command mysqlcheck this can be run whilst mysql is running, unlike myasmchk which ideally shouldn’t be run on a live mySQL server   mysql – rebuild indexes by database in crontab   * 00 11 * * *...

View Article



MySQL

rename a table RENAME TABLE old_table TO tmp_table, new_table TO old_table, tmp_table TO new_table;   re-index massive tables that are taking too long to re-index and are highly volatile   rename the...

View Article

SettingUpSSHPrivateKeyPairsAndKeyRings

1. Firstly, generate your public/private keys using ssh-keygen % ssh-keygen -t rsa You must use the -t option to specify that you are producing keys for SSHv2 using RSA. This will generate your id_rsa...

View Article

TeeForSavingOutputsWhenCompilingOrWhatever

Compiling nicely with tee   make 2>&1 | tee log.make  

View Article

IfConfig

Solaris ifconfig ifconfig iprb0:1 plumb ifconfig iprb0:1 192.168.0.3 netmask 255.255.255.0  

View Article


quick hacks

copy files from a directory to a destination by number offset:   #!/usr/bin/perl -w use strict; use Getopt::Std; use File::Copy; my %opts = (); getopts('d:n:f:', \%opts); my $dir = $opts{d}; my $num =...

View Article

Telnet router

Terminale: route [invio] l’ip della riga default è quello del modem/router (di solito 192.168.1.1) Terminale: telnet xxx.xxx.xxx.xxx [invio] Inserisci user/psw Se l’accesso telnet non è abilitato va...

View Article

Server DNS

apt-get install bind9 dnsutils cd /etc/bind mkdir -p zones/master cd zones/master/ /etc/init.d/bind9 start Starting domain name service...: bind9.

View Article


SSL

yum install mod_ssl openssl # Generate private key openssl genrsa -out ca.key 2048 # Generate CSR openssl req -new -key ca.key -out ca.csr # Generate Self Signed Key openssl x509 -req -days 365 -in...

View Article


USB Stick UMTS/HSDPA

La configurazione dipende da quale chiavetta internet si sta utilizzando… comunque queste si possono considerare come linee guida Take a look at the output of lsusb. You should see your modem assigned...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images

Pangarap Quotes

Pangarap Quotes

Vimeo 10.7.0 by Vimeo.com, Inc.

Vimeo 10.7.0 by Vimeo.com, Inc.

HANGAD

HANGAD

MAKAKAALAM

MAKAKAALAM

Doodle Jump 3.11.30 by Lima Sky LLC

Doodle Jump 3.11.30 by Lima Sky LLC