We can use Remmina Remote Desktop Client to connect to Windows remotely.
Remmina is installed by default on Ubuntu 13.10.
To open Remmina, just use Unity Dash and search for 'remmina'.
To create a new connection, just click the 'Create a new remote desktop file' (It's the second button from the left)
Then enter your connection details and click 'Connect'.
Reference;
http://www.7tutorials.com/connecting-windows-remote-desktop-ubuntu
Friday, January 17, 2014
Configure PPTP client on Ubuntu 13.10
Click 'Add' button, then choose PPTP from the drop down list, then click 'Create'.
Enter the connection details, then click 'Save'.
Now let's test the connection.
Click the Network Manager icon, then 'VPN Connections', and choose your connection.
You will see a 'VPN Login Message'.
Done.
Install Photoscape on Ubuntu 13.10
Firstly, we have to install the latest wine.
Run this command in terminal
Once we've finished the installation, we can open Photoscape from Unity Dash.
That's all.
Reference:
http://www.winehq.org/download/ubuntu
Run this command in terminal
sudo add-apt-repository ppa:ubuntu-wine/ppa sudo apt-get update sudo apt-get install wine1.7Download the Photoscape. Open the download folder and right click on the Photoscape file, choose 'Open With Wine Windows Program Loader'.

That's all.
Reference:
http://www.winehq.org/download/ubuntu
Monday, January 13, 2014
Yii migration safeUp() is not working
I tried to create a table using the safeUp() function.
Here's the content of the migration file
http://stackoverflow.com/questions/18126773/yii-framework-yic-migrate-command-doesnt-work
class m140113_223038_create_test_tables extends CDbMigration { public function up() { } public function down() { } public function safeUp() { $this->createTable('tbl_test',array( 'id'=>'pk', 'name'=>'string NOT NULL', ),'ENGINE=InnoDB'); } public function safeDown() { $this->dropTable('tbl_test'); } }However, it won't create a new table. The solution is actually very simple. If we want to use safeUp() function, we have to make sure that there's no up() function in the code. So, we have to remove both up() and down() function.
class m140113_223038_create_test_tables extends CDbMigration { public function safeUp() { $this->createTable('tbl_test',array( 'id'=>'pk', 'name'=>'string NOT NULL', ),'ENGINE=InnoDB'); } public function safeDown() { $this->dropTable('tbl_test'); } }Reference:
http://stackoverflow.com/questions/18126773/yii-framework-yic-migrate-command-doesnt-work
Wednesday, January 8, 2014
Yii shell is not working
I tried to run yii shell on Ubuntu 13.10 using this command:
But it's not working. A long lines of HTML output was displayed on screen.
I found 2 solutions on the web:
1st: use this command instead:
2nd: modify protected/config/main.php, and add this line at the top:
References:
http://stackoverflow.com/questions/11792981/yii-command-tool-not-work
http://stackoverflow.com/questions/7841523/yiic-command-line-tool-outputting-code-instead-of-opening-shell
protected/yiic shell
But it's not working. A long lines of HTML output was displayed on screen.
I found 2 solutions on the web:
1st: use this command instead:
protected/yiic shell protected/config/main.php
2nd: modify protected/config/main.php, and add this line at the top:
date_default_timezone_set('UTC')
References:
http://stackoverflow.com/questions/11792981/yii-command-tool-not-work
http://stackoverflow.com/questions/7841523/yiic-command-line-tool-outputting-code-instead-of-opening-shell
Sunday, January 5, 2014
Install phpmyadmin on Ubuntu 13.10
To install phpmyadmin, run
How to fix it?
Firstly, open /etc/apache2/apache2.conf
You can open it by pressing Alt+F2, then type
Then go to the end of the file and type
sudo apt-get install phpmyadminWhen I open http://localhost/phpmyadmin, it says ".../phpmyadmin/ was not found on this server".
How to fix it?
Firstly, open /etc/apache2/apache2.conf
You can open it by pressing Alt+F2, then type
gksudo gedit /etc/apache2/apache2.confNote: if gksudo is not installed, you can install it using "sudo apt-get install gksu".
Then go to the end of the file and type
Include /etc/phpmyadmin/apache.confSave the file, then restart the apache using this command
sudo /etc/init.d/apache2 restartDone.
Install LAMP on Ubuntu 13.10
Open the terminal, then run
Now, let's make a new php file to test.
Firstly, I'm going to open a text editor called gedit as a root user.
Press Alt + F2, then run
Now, open it in web browser: http:/localhost/phpinfo.php
You should be able to see the output of phpinfo().
LAMP server installation is done.
References:
Source: http://gregrickaby.com/how-to-install-lamp-on-ubuntu/
sudo apt-get install lamp-server^^ sign is a Tasksel command (https://help.ubuntu.com/community/Tasksel)
Now, let's make a new php file to test.
Firstly, I'm going to open a text editor called gedit as a root user.
Press Alt + F2, then run
gksudo geditNote: if gksudo is not installed, you can install it using
sudo apt-get install gksuThen type this php code
<?php phpinfo(); ?>And save it in /var/www/ folder. I use "phpinfo.php" as the file name.
Now, open it in web browser: http:/localhost/phpinfo.php
You should be able to see the output of phpinfo().
LAMP server installation is done.
References:
Source: http://gregrickaby.com/how-to-install-lamp-on-ubuntu/
Subscribe to:
Posts (Atom)