In newer versions of Linux it’s not easily possible to just move the MySQL data directory to another location and modify my.cnf or create a symbolic link. There is a secutity/protection “daemon” running in background checking which locations is some process trying to access. If it’s allowed, then access is granted, otherwise the process is unable to read/write the required data. This guardian is called “APPARMOR” Continue reading
Category Archives: Linux
GIT – Change author or committer
If you want to change author’s and/or committer’s name and/or email in given GIT revisions, you can use the following script:
git filter-branch -f --commit-filter '
if [ "$GIT_AUTHOR_NAME" = "Old Author" ];
then
export GIT_AUTHOR_NAME = "New Author";
export GIT_AUTHOR_EMAIL = "new_author@example.com";
export GIT_COMMITTER_NAME = "New Author";
export GIT_COMMITTER_EMAIL = "new_author@example.com";
fi;
git commit-tree "$@"'
Now update the remote (bare) repository
git push --force --tags origin 'refs/heads/*'
Secured FTP – ProFTP + TLS in Ubuntu
FTP is considered as very insecure protocol because all data transferred using this protocol is passed between client and server in clear text and can be hacked by someone listening on your line. But you can easily encrypt the whole communication by enabling/forcing TLS and make FTP much more secure. This article explains how to set up ProFTPd with TLS on an Ubuntu server. Continue reading
ProFTPD and inetd/xinetd in Ubuntu 12.04 and above
With Ubuntu versions prior to 12.04 there was an inetd daemon running and available to be used for triggering the FTP service. Since version 12.04 inetd package is deprecated and is replaced by xinetd.
Linux – mounting network share
How to add samba share to your file system? And how to make this change persistent so the share is mounted automatically at boot time? Continue reading
Create self signed certificate using OpenSSL
You can create your own, self signed certificate for testing purposes using OpenSSL and two simple commands Continue reading
How to Add Swap on Ubuntu
Linux RAM is composed of chunks of memory called pages. To free up pages of RAM, a “linux swap” can occur and a page of memory is copied from the RAM to preconfigured space on the hard disk. Linux swaps allow a system to harness more memory than was originally physically available.
However, swapping does have disadvantages. Because hard disks have a much slower memory than RAM, virtual private server performance may slow down considerably. Additionally, swap thrashing can begin to take place if the system gets swamped from too many files being swapped in and out. Continue reading
How to Create a SSL Certificate on Apache for Ubuntu 12.04
About Self-Signed Certificates
A SSL certificate is a way to encrypt a site’s information and create a more secure connection. Additionally, the certificate can show the virtual private server’s identification information to site visitors. Certificate Authorities can issue SSL certificates that verify the server’s details while a self-signed certificate has no 3rd party corroboration. Continue reading
Ruby on Rails on Ubuntu 12.04 LTS
About Ruby on Rails
Ruby on Rails is an application stack that provides developers with a framework to quickly create a variety of web applications.
Ruby on Rails does take a little while to install on a virtual server, but luckily there are a lot of helpful tools to make this process as easy as possible. Continue reading
How to Install and Configure Dropbox on Ubuntu Server 12.04
Dropbox is the best free cloud service and extremely easy-to-use tool for sharing files and syncing them between computers, and you can also use Dropbox to back up files and access them from other computers and devices (including from your Android Smartphone, android tablets and iPad or iPhone, with dedicated Client apps for each of those devices). How to make dropbox features and services available on ubuntu server?
in this post I would like to show you step by step How to Install Dropbox on Ubuntu Server 12.04 and Sync up to your Dropbox Account. Lets start it. Continue reading