Показват се публикациите с етикет Linux. Показване на всички публикации
Показват се публикациите с етикет Linux. Показване на всички публикации

понеделник, 6 юни 2016 г.

Remote desktop connection from Ubuntu 16.04 to Windows 10 desktop via sstp client, vpn connection and Remmia





Here are the needed steps to run a RDP session from Ubuntu to Windows work PC.

Get the needed pakages:

https://launchpad.net/~eivnaes/+archive/ubuntu/network-manager-sstp/+files/network-manager-sstp_1.2.0-0ubuntu2_amd64.deb
https://launchpad.net/~eivnaes/+archive/ubuntu/network-manager-sstp/+files/network-manager-sstp-gnome_1.2.0-0ubuntu2_amd64.deb
https://launchpad.net/~eivnaes/+archive/ubuntu/network-manager-sstp/+files/libsstp-client0_1.0.10-0ubuntu6_amd64.deb
https://launchpad.net/~eivnaes/+archive/ubuntu/network-manager-sstp/+files/sstp-client_1.0.10-0ubuntu6_amd64.deb
from (https://launchpad.net/~eivnaes/+archive/ubuntu/network-manager-sstp/+packages?field.name_filter=&field.status_filter=published&field.series_filter=xenial).

Import a key from a termnal:

   sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 61FF9694161CE595

Create a repository list:

   sudo touch /etc/apt/sources.list.d/sstp-client.list

Add next lines:

   deb http://ppa.launchpad.net/eivnaes/network-manager-sstp/ubuntu xenial main
   deb-src http://ppa.launchpad.net/eivnaes/network-manager-sstp/ubuntu xenial main

Refresh the apt cache:

   sudo apt-get update

Check for installed SSTP:

   sudo apt-cache search sstp

Install needed packages:

   sudo apt-get install sstp-client network-manager-sstp network-manager-sstp-gnome -y

Create a new VPN connection by choosing newly added SSTP connection type.

Install Remmia (RDP client) to your Ubuntu and create connection to the desired host inside the office VPN.

All you need to view your workplace is to run the VPN connection and after that the Remmia RDP session.

Sources:

https://wiki.it-kb.ru/unix-linux/ubuntu/ubuntu-16-04-xenial-xerus-lts/how-to-setup-vpn-sstp-client-and-network-manager-on-ubuntu-desktop-linux-16-04-xenial-xerus-lts
http://askubuntu.com/questions/63739/how-to-set-up-an-sstp-vpn-connection
http://www.digitalcitizen.life/connecting-windows-remote-desktop-ubuntu

неделя, 2 февруари 2014 г.

RAMJ - Raspberry, Apache Tomcat, MySQL, Java host server

In this post I will show how to run RAMJ server for test purposes on Raspberry Pi computer.

Step 1

On Raspbian Wheezy, the Java is preisntalled (/usr/lib/jvm/jdk-7-oracle-armhf/jre/bin),
but in case it is not there you can install it easily.
There is no need to be Unix guru, all you need is to perform:
sudo apt-get update && sudo apt-get install oracle-java7-jdk
Our Apache Tomcat server needs to know where the Java is located.export JAVA_HOME="/usr/lib/jvm/jdk-7-oracle-armhf"
export PATH=$PATH:$JAVA_HOME/bin
Check the path echo $JAVA_HOME.

Step 2

Installing the Tomcat is not tricky too.
Download it from:
http://tomcat.apache.org/download-70.cgi

After the download completes, untar the file.
tar -zxvf apache-tomcat-7.0.50.tar.gz
Where,
-z : Uncompress the resulting archive with gzip command.
-x : Extract to disk from the archive.
-v : Produce verbose output i.e. show progress and file names while extracting files.
-f data.tar.gz : Read the archive from the specified file called data.tar.gz.

In order to start Tomcat, we need to add it as an environment variable in the /.bashrc file: sudo nano ~/.bashrc
We have add next rows to the end of the file:

export export JAVA_HOME=/usr/lib/jvm/jdk-7-oracle-armhf
export CATALINA_HOME=~/home/pi/apache-tomcat-7.0.50

After saving the additions we can make the changes effective by restarting the bashrc file: ~/.bashrc

It is more convenient to have Tomcat started on each linux startup.
For that we have to create start script and place it in /etc/init.d

sudo nano tomcat7
#!/bin/sh
# Short-Description: Start Tomcat.
# Description: Start the Tomcat servlet engine.
# Tomcat 7 init-script
CATALINA_HOME=/home/pi/apache-tomcat-7.0.50
export CATALINA_HOME
JAVA_HOME=/usr/lib/jvm/jdk-7-oracle-armhf
export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH
export PATH
case $1 in
 start)
 sh $CATALINA_HOME/bin/startup.sh
 echo "tomcat7 started successfully"
 ;;
 stop)
 sh $CATALINA_HOME/bin/shutdown.sh
 echo "tomcat7 stoped successfully"
 ;;
 restart)
 sh /home/pi/apache-tomcat-7.0.50/bin/shutdown.sh
 sh /home/pi/apache-tomcat-7.0.50/bin/startup.sh
 echo "tomcat7 restarted successfully"
 ;;
 *)
 sh $CATALINA_HOME/bin/startup.sh
 echo "tomcat7 started successfully"
 ;;
 esac
exit 0

After saving it with Ctrl ^x, we have to make it executable.
sudo chmod 751 tomcat7
sudo update-rc.d tomcat7 defaults

Check if it works, type sudo reboot, after the restart, type  in RP Midori browser the address of the default Tomcat's page: http://localhost:8080

Step 3

Now download the MySQL archve from: To be continued...

понеделник, 15 октомври 2012 г.

Installing aircrack-ng and reaver on Fedora

yum update (optional)
yum install aircrack-ng

get reaver from http://pkgs.org/fedora-17/rpm-sphere-i586/reaver-1.4-2.1.i686.rpm.html
Install it too...

That's it.

петък, 12 октомври 2012 г.

Installing latest Skype on CentOS 6.X

1. yum update
yum install libXi.so.6 libXss.so.1 libasound.so.2 libXv.so.1 libSM.so.6 libXrender.so (not always needed)
yum install wget (if not installed)
2. yum install libXi.so.6 libXss.so.1 libasound.so.2 libXv.so.1 libSM.so.6 libXrender.so
3. yum localinstall --nogpgcheck skype-4.0.0.8-1.el6.R.i586.rpm

неделя, 8 април 2012 г.

Линукс Лайв - Linux Live

Universal-USB-Installer-1.8.8.9
unetbootin-windows-568
win32diskimager-RELEASE-0.3-r27-binary-alt1
LinuxLive USB Creator 2.8.11

понеделник, 14 септември 2009 г.

Process start time check

g: "start time process linux"
a: ps -eo pid,lstart,cmd

четвъртък, 11 юни 2009 г.

Check when process was started

ps -eo pid,lstart,cmd

сряда, 15 април 2009 г.

I'm Linux

Ето и някои от победителите в конкурса за рекламно кличе на Linux, организиран от Linux Foundation, в края на 2008-а.









Този не е от конкурса но е интересен :)

понеделник, 16 март 2009 г.

Училище без Линукс?

Хмм, има ли още такива? :)
Проектът Дебиан обяви, че Skolelinux ще бъде използван във училищата на Рейнланд-Пфалц, една от 16-те федерални провинции на Германия, състояща се от ~ 4 милиона жители и около 1700 училища.

Тук могат да се видият местата, където Skolelinux се използва до момента.


http://www.debian.org/News/2009/20090315

понеделник, 9 март 2009 г.

ICQ for Linux



Известен съм с моята неприязън към Gaim и неговия наследник Pidgin, както и че ми допада QIP.
За съжаление под Linux има малко нормални ICQ клиенти.
Windows клиентите под Wine трудно тръгват, ако тръгнат то те са по-стари версии. За съжаление не е сигурно, че ще могат да се използват поради политическите игри на собствениците на ICQ протокола.
Така за линукс остават Pidgin (има ли по грозен месинджър), Kopete, Licq, Sim.
Днес открих QutIM (GPL), който силно прилича на QIP и работи повече от добре на моето Ubuntu.

Инсталиране:
sudo wget http://linux.intonet.ru/ubuntu/qutim/hardy.list -O /etc/apt/sources.list.d/qutim.list
sudo apt-get update
sudo apt-get install qutim
qutim

Странно има го даже за Windows :)

http://qutim.org/

четвъртък, 12 февруари 2009 г.

Distribucion Cubana de GNU/Linux


Най сетне, случи се!
Куба пусна своя Линукс дистрибуция.
С леко прехапана устна и голям ентусиазъм набързо отидох да изтегля този пришълец, появил се да спаси последния остров на комунизма от хегемонията на някои съседи:)
Хм, не очаквах да видя En construcción!!
Все пак можем да хвърлим поглед, макар и виртуално: