alex
(8 comments, 40 posts)
This user hasn't shared any profile information
Home page: http://www.alexfilatov.com
Posts by alex
Quickly add ssh public key to authorized keys file
0ssh alex@192.168.0.103 'echo '`cat ~/.ssh/id_rsa.pub`' >> ~/.ssh/authorized_keys
There is a better way on Ubuntu to do so:
ssh-copy-id alex@192.168.0.103
Enjoy!
Install php mysql apache on Ubuntu
0It’s simple like that:
sudo apt-get install php5 apache2 mysql-server libapache2-mod-auth-mysql php5-mysql
that’s all
MySQL import slow on ext4 Ubuntu Lucid Lynx x64
0I’ve faced an issue whive making an SQL import on my Ubuntu Lucid Lynx on my macbook pro 6,2.
To make it working fast you need to disable writing barrier for the ext4 fs :
$ sudo vi /etc/fstab
you’ll see there something like:
/dev/sda3 / ext4 errors=remount-ro 0 1
Just add there barrier=0 :
/dev/sda3 / ext4 errors=remount-ro,barrier=0 0 1
and reboot.
After that change my SQL import performed very fast.