Skip to main content

Posts

Showing posts with the label tool-git-svn

Updating the Raspberry PI GIT server.

I took time to refresh my Raspberry PI GIT server. I am still using the v1 board, but with a few upgrades and modifications. It was more to streamline the entire package instead of performance upgrades. The original Raspberry Pi in a modded case. Changes: I bought a half-height SD to Micro SD adapter. This makes it stick out less from the case. Sadly it’s not totally flush, but better at least. Along with that I upgraded to a 64GB micro SD card from a 32GB SD card. I upgraded the backup drives with 64GB Lexar JumpDrives (S45 LJDS45-64GABNL). They are super compact and had decent reviews. I decided to skip the RAID 01 mirroring approach with these. It simplifies things and there really isn’t any drawback besides maybe hot swap (which I don’t think would work because fstab uses unique drive identifiers). I picked up another power supply on a whim when I saw it at the store “Five Below” for a great price. This again streamlines things over my previous setup that was combo type where you w...

Raspberry Pi GIT Server Notes

Edit: I updated my RP GIT server and made more notes in a later article. Here are my notes for setting up GIT on Raspberry Pi and using a Windows client (TortoiseGit). I’ve been using this little thing as a GIT server for around 5 months now and I love it. Here is the quick notes I took while getting things setup. It’s probably really disjointed, but you might find some helpful tips in here. www.raspberrypi.org http://www.raspberrypi.org/downloads NOOBS (offline and network install) http://downloads.raspberrypi.org/NOOBS_latest Format your SD card using the SD Card Association’s formatting tool. https://www.sdcard.org/downloads/formatter_4/ Install Raspbian (GIT seemed to be pre-installed on the version I used): The defaults: username: pi password: raspberry When greeted with the post install program, find the advanced option to enable SSH. You can also change your password from there. 2017 Edit: I’m in the process of installing it on a larger SD card. Anything over 32GB will probably ...

Setting up Subversion (SVN) on Ubuntu Linux

After getting the Android SDK and Eclipse IDE installed and running, I started on getting Subversion ready for our first project. Here are the general steps necessary. For my configuration there is a Ubuntu server that I connect through ssh and will need to do the same to connect to SVN after everything is configured. Useful tutorials: https://help.ubuntu.com/community/Subversion https://help.ubuntu.com/community/AddUsersHowto https://help.ubuntu.com/community/AptGet/Howto Commands executed to setup the system: sudo apt-get install subversion cd / mkdir svn_repository sudo addgroup subversion sudo adduser USERNAME1 subversion sudo adduser USERNAME2 subversion # Repeat the above line for other usernames as needed sudo adduser www-data subversion cd /svn_repository mkdir android_test sudo svnadmin create /svn_repository/android_test cd /svn_repository sudo chown -R www-data:subversion android_test sudo chmod -R g+rws android_test Above I have an example where a directory called “svn_re...

Setting up a Source Control Server

Lately, I’ve been interested in the benefits of having a dedicated source control server. My goals for the project: 1. Have a dedicated server to store source and other files I’m working on that could benefit from source control and a secondary backup. 2. Have the server accessible through the Internet so that friends who I am working with can access our projects. 3. The server should be as low power usage as possible. 4. Attempt to make the server as secure as possible. Probably only have one port directed to it (either the http webdav or svnserve protocols on a custom port). I might also consider having ssh directed as well so I can use something like NoMachine NX Remote Access . Last weekend I ordered an “MSI Wind PC” computer to take on that role. This computer is sold as a barebones unit that doesn’t come with RAM or a hard disk. For about $220 total, I was able to get an ATOM based computer with a 750GB Western Digital hard drive and 1GB of ram. ...