Amazing! I have finally managed to found nice RDP client for Linux:
Now enjoying it :)
вівторок, 16 квітня 2013 р.
пʼятниця, 12 квітня 2013 р.
Test your network bandwidth
Want to check your network bandwidth?
No problem - there are a lot of files carefully prepared for you, just try:
http://www.thinkbroadband.com/download.html
No problem - there are a lot of files carefully prepared for you, just try:
http://www.thinkbroadband.com/download.html
четвер, 4 квітня 2013 р.
Run Chrome as root on Ubuntu
For some task you have to root on a system and some such tasks are made from browser.
If you use Google Chrome here is a simple way to lauch it as a root:
sudo -i
/opt/google/chrome/google-chrome --user-data-dir %U
Reference
http://ubuntuforums.org/showthread.php?t=1743565
If you use Google Chrome here is a simple way to lauch it as a root:
sudo -i
/opt/google/chrome/google-chrome --user-data-dir %U
Reference
http://ubuntuforums.org/showthread.php?t=1743565
середа, 3 квітня 2013 р.
Install Java on Ubuntu server 12.04
How to install Java on your Ubuntu server 12.04?
Follow this easy 3-step guide:
Now you can enjoy Java on your Ubuntu ;)
References:
http://askubuntu.com/questions/197248/java-on-ubuntu-server-12-04
Follow this easy 3-step guide:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
Now you can enjoy Java on your Ubuntu ;)
References:
http://askubuntu.com/questions/197248/java-on-ubuntu-server-12-04
вівторок, 2 квітня 2013 р.
Renaming munin nodes and preserving history
Once you have changed your server naming convention or just decided to rename on (or all) of your servers you will also need to update server in name in your monitoring tools. If you are using munin - here is step-by-step solution for you.
We assume you are using example.com as your domain and want to rename oldhost.example.com to newhost.example.com.
1. Backup existing data and configs
2. Remove unneeded and legacy stuff (if any)
3. Disable munin cronjobs
I do strongly recommend you prepare all the changes before disabling cronjobs to minimize munin downtime! Just prepare all the changes and save once you have done Step 4.
That's all! Now just wait 5 minutes (default cronjob interval) to see updates on the munin web-interface.
References:
http://aaltonen.co/2010/12/30/change-munin-node-hostname/
http://beeznest.wordpress.com/2011/06/13/howto-rename-munin-node-without-loosing-history/
We assume you are using example.com as your domain and want to rename oldhost.example.com to newhost.example.com.
1. Backup existing data and configs
cd /backup/
tar cvpzf munin_lib.tar.gz.$(date +%Y%m%d) /var/lib/munin
tar cvpzf munin_html.tar.gz.$(date +%Y%m%d) /www/munin
cp /etc/munin/munin.conf munin.conf.$(date +%Y%m%d)
2. Remove unneeded and legacy stuff (if any)
cd /var/lib/munin/example.com
rm old* test* temp*
cd /var/vhosts/monitor/munin/clickmein.com
rm -R old* test* temp*
3. Disable munin cronjobs
mv /etc/cron.d/munin /etc/cron.d/munin.disabled
4. Rename actual rrd files
for file in /var/lib/munin/example.com/*.rrd; do mv $file `echo $file|sed 's/oldhost\.example\.com/newhost\.example\.com/'`; done5. Edit munin config
I do strongly recommend you prepare all the changes before disabling cronjobs to minimize munin downtime! Just prepare all the changes and save once you have done Step 4.
vi /etc/munin/munin.confAnd then type the following command sequence to replace all occurances in config file in vi editor.
:%s/oldhost\.example\.com/newhost\.example\.com/g6. Enable cronjob
mv /etc/cron.d/munin.disabled /etc/cron.d/munin
That's all! Now just wait 5 minutes (default cronjob interval) to see updates on the munin web-interface.
References:
http://aaltonen.co/2010/12/30/change-munin-node-hostname/
http://beeznest.wordpress.com/2011/06/13/howto-rename-munin-node-without-loosing-history/
Підписатися на:
Дописи (Atom)