Posts tagged ‘ubuntu’
We have git repo at github ( and would like to move onto some our corporate box inside our network, for example on internal.bokov.net. This repository is shared for group of developers and all who have ssh access onto internal.bokov.net shall have right to commits onto git repository. So first of all prepare place for git repo at new hosting :
ssh user@internal.bokov.net
cd var
mkdir git_repo
chmod 777 git_repo
cd git_repo
mkdir my_project
cd my_project
git init --bare --shared=all
cd objects
chmod g+ws *
Next clone existing repo and change its settings to point onto internal.bokov.net
git clone --bare git@github.com:bokov/github_project.git
git remote add -t master -m master origin ssh://internal.bokov.net/var/git_repo/my_project/
git push origin master
to start work with new repo just use
git clone ssh://internal.bokov.net/var/git_repo/my_project/
have fun.
Posted by Alexey Bokov on February 9, 2010 at 12:49 pm under administration, programming, project managment.
Tags: administration, git, ssh, ubuntu, work
1 Comment.
[root@my-box ~]# useradd -g users -u 560 tuser
[root@my-box ~]# passwd tuser
Posted by Alexey Bokov on February 8, 2010 at 8:03 pm under administration, linux.
Tags: stuff, ubuntu, work
Comment on this post.
When I tried to restart mysql
sudo /etc/init.d/mysql restart
it failed with
* Stopping MySQL database server mysqld [ OK ]
* Starting MySQL database server mysqld [fail]
Continue reading ‘Quick fix problem with mySQL starting on Ubuntu 9.10’ »
Posted by Alexey Bokov on November 26, 2009 at 6:23 pm under administration.
Tags: mysql, ubuntu
Comment on this post.
Posted by Alexey Bokov on November 11, 2009 at 1:45 pm under administration, ec2.
Tags: administration, Amazon EC2, java, ubuntu, work
Comment on this post.
Update in Amazon Web Services:
2 high cpu instance types : 64 bits – Double Extra Large с 34.2 GB RAM, and 13 ECU (4 virtual cores *3.25 EC2 compute Unit=ECU), 64-bit platform
and Quadruple Extra Large – 68.4 GB of RAM/ 26 ECU (8 virtual cores* 3.25 ECU) : New EC2 High-Memory Instances
Instance prices changes ( us-east is still cheaper thatn eu-west ) : Amazon EC2 – Now an Even Better Value
New service for relational DB ( provisioning, scaling and other nice things ) : Introducing Amazon RDS – The Amazon Relational Database Service
Security stuff : Vulnerability identified in Amazon’s cloud computing
Amazon EC2 – Ubuntu at google groups
5 years ago Amazon announced Amazon Simple Queue Service – top points of AWS for last 5 years
Posted by Alexey Bokov on October 28, 2009 at 3:11 pm under compute grid, ec2, linux.
Tags: administration, Amazon EC2, aws, compute cloud, Elastic Compute Cloud, ubuntu, work
Comment on this post.
- Recursively add files and foldes into CVS
find . -type d -print | grep -v CVS | xargs -n1 cvs add
- Delete “.svn” files from current folder
find . -type f -exec echo \"{}\" \; | grep ".svn" | xargs rm
Posted by Alexey Bokov on October 20, 2009 at 1:06 pm under administration, linux.
Tags: administration, bash, ubuntu, work
Comment on this post.
Some Sony Vaio owners ( my own is VGN-FZ31ER ) may have MAC is in deep sleep! problems – WiFI doesn’t work under Ubuntu because WLAN driver goes into forever sleep ( some bug in power safe logic I suppose ). This bug can be fixed by adding “noacpi” parametrs to Ubuntu boot command line.
Posted by Alexey Bokov on August 14, 2009 at 10:44 am under linux.
Tags: gadget, Sony VAIO, ubuntu, WiFi
Comment on this post.
On one of my apache I use suexec to run some tasks – some weeks before I configure all it and all stuff works well, but some days later when I try to run my cgi-perl script I found I have “500 Internal error”. I change nothing in apache config or in my scripts – I just install fresh updates for ubuntu. In apache’s error log I’ve got :
[Wed Jul 29 08:15:28 2009] [error] (13)Permission denied: exec of ‘/usr/lib/apache2/suexec’ failed
[Wed Jul 29 08:15:28 2009] [error] [client my_ip] Premature end of script headers: script.pl
It’s strange, but anyway it doesn’t works. I spent some time trying to fix it ( some guys recommend to rebuilt suexec – but it’s not a simplest way to fix this problem ) – in my case it was fixed by changing owner of my suexec. I check out current properties :
ls -la /usr/lib/apache2/suexec
-rwsr-xr– 1 root www-data 18872 2009-07-10 18:40 /usr/lib/apache2/suexec
and change them :
chown root:root /usr/lib/apache2/suexec
chmod 4755 /usr/lib/apache2/suexec
And don’t forget to restart :
/etc/init.d/apache2 restart
ps. by the way suexec’s id’s are :
#id www-user
uid=1000(www-user) gid=109(www-group) groups=109(www-group)
Posted by Alexey Bokov on July 29, 2009 at 2:17 pm under administration.
Tags: 500 internal error, administration, apache, cgi, httpd, perl, suexec, ubuntu
Comment on this post.
Here’s some steps which I frequently use to configure Ubuntu to work as EC2 manager
Continue reading ‘Quick steps to configure Ubuntu for with EC2 API’ »
Posted by Alexey Bokov on July 17, 2009 at 3:28 pm under administration, ec2.
Tags: administration, Amazon EC2, bash, bashrc, ec2 api, java, ubuntu
Comment on this post.
For those who those who install skype under Ubuntu and get “Error: Wrong architecture ‘i386′” after download and run skype-debian package from skype.com – check out this usefull bash stuff ( just copy-paste it in terminal window ):
sudo apt-get install ia32-libs lib32asound2 libasound2-plugins; wget -N http://bokov.net/packages/ubuntu/getlibs-all.deb; wget -O skype-install.deb http://www.skype.com/go/getskype-linux-ubuntu-amd64; sudo dpkg -i skype-install.deb; sudo dpkg -i getlibs-all.deb; sudo getlibs -p libqtcore4 libqtgui4 bluez-alsa
Posted by Alexey Bokov on May 21, 2009 at 6:47 pm under stuff.
Tags: skype, stuff, ubuntu
Comment on this post.